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