]> git.pld-linux.org Git - packages/aegisub.git/blame - aegisub.spec
fix build with wxwidgets
[packages/aegisub.git] / aegisub.spec
CommitLineData
05156a5d
ER
1# TODO
2# - needs wx-config to build with wxWidgets
f9d70368
ER
3# - system luajit
4# - our cxxflags
05156a5d
ER
5
6# Conditional build:
7%bcond_with ffms2
8
9Summary: Subtitle editor
10Name: aegisub
11Version: 3.2.0
12Release: 0.1
13License: BSD
14Group: X11/Applications
15Source0: http://ftp.aegisub.org/pub/releases/%{name}-%{version}.tar.xz
16# Source0-md5: 914685eb87daf230ac8856ed81479b43
17URL: http://www.aegisub.net/
18BuildRequires: Mesa-libGL-devel
19BuildRequires: alsa-lib-devel
20BuildRequires: autoconf
21BuildRequires: automake
22BuildRequires: boost-devel >= 1.50
23BuildRequires: fftw3-devel >= 3.3
24BuildRequires: fontconfig-devel >= 1:2.4
25BuildRequires: hunspell-devel >= 1.2.0
26BuildRequires: intltool
27BuildRequires: libass-devel
28BuildRequires: libstdc++-devel
29BuildRequires: lua51-devel
30BuildRequires: pkg-config >= 0.20
31BuildRequires: pulseaudio-devel >= 0.5
32BuildRequires: tar >= 1:1.22
f9d70368 33BuildRequires: wxGTK2-unicode-gl-devel
05156a5d
ER
34BuildRequires: wxWidgets-devel >= 2.9.5
35BuildRequires: xz
36BuildRequires: zlib-devel
37%if %{with ffms2}
38BuildRequires: pkgconfig(ffms2)
39%endif
40BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42%description
43Aegisub is an advanced subtitle editor for Windows, and UNIX-like
44systems, such as Linux, Mac OS X and BSD. It is open source software
45and free for any use.
46
47Aegisub natively works with the Advanced SubStation Alpha format
48(aptly abbreviated ASS) which allows for many advanced effects in the
49subtitles, apart from just basic timed text. Aegisubs goal is to
50support using these advanced functions with ease.
51
52%prep
53%setup -q
54
55%build
05156a5d
ER
56%configure \
57 --with-player-audio=PulseAudio \
58 --disable-update-checker \
f9d70368 59 --with-wx-config=wx-gtk2-unicode-config \
05156a5d
ER
60 --without-oss
61
62%{__make}
63
64%install
65rm -rf $RPM_BUILD_ROOT
66%make_install
67
68%find_lang %{name}-32
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%files -f %{name}-32.lang
74%defattr(644,root,root,755)
75%doc LICENCE
76%attr(755,root,root) %{_bindir}/aegisub-3.2
77%{_datadir}/%{name}
78%{_desktopdir}/%{name}.desktop
79%{_iconsdir}/hicolor/*/apps/%{name}.*
This page took 0.064374 seconds and 4 git commands to generate.