Accepting request 141459 from home:RedDwarf
- Removed aegisub-3.0.0-docdir.patch and aegisub-3.0.0-no_glu.patch, they have been applied upstream - Update to 3.0.2 * Allow framerate transform to/from variable without external timecodes loaded (#1530) * Honor the configured limits for the find/replace history (#1528) * Fix occassional non-error dialog when running multiple copies of Aegisub * Fix bug that sometimes resulted in later karaoke syllables moving when early ones were modified * Truncate overly long syllables rather than adjusting all of the other syllables to make them fit * Play right-clicked syllables * Fix splitting lines by karaoke (#1541) * Remove dependency on glu * Honor docdir and localedir configuration variables * Make it possible to type style names again * Break undo grouping after 30 seconds of inactivity rather than 10 * Switch the Duration field back to time mode when video is closed * Save a single wav containing all selected lines rather than a separate wav for each line with "Create audio clip" * Make pasting lines not horrible slow (#1534) * Make the correct row visible when selecting rows with shift + arrow keys in the grid (#1533) * Fix a few errors in the German translation (#1523) * Update Czech translation * Update Indonesian translation * Update Hungarian translation * Add partial Arabic translation (#1532) - Update to 3.0.1 * Updated Russian translation * Updated Greek translation * Partially update Finnish translation * Fixed some errors in the Portuguese translation * Fix packaging issues with the Serbian translation OBS-URL: https://build.opensuse.org/request/show/141459 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/aegisub?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
f10b681601
commit
4dff021a45
65
aegisub.spec
65
aegisub.spec
@@ -17,54 +17,33 @@
|
||||
|
||||
|
||||
%bcond_with ffms2
|
||||
%bcond_with perl
|
||||
%bcond_with ruby
|
||||
|
||||
Name: aegisub
|
||||
Version: 2.1.9
|
||||
Version: 3.0.2
|
||||
Release: 0
|
||||
Summary: Subtitle editor
|
||||
License: BSD-3-Clause
|
||||
Group: Productivity/Multimedia/Video/Editors and Convertors
|
||||
Url: http://www.aegisub.net/
|
||||
Source0: http://ftp.aegisub.org/pub/releases/aegisub-%{version}.tar.gz
|
||||
# PATCH-FEATURE-OPENSUSE aegisub-2.1.9-system_libs.patch reddwarf@opensuse.org -- Use system libraries instead of included ones
|
||||
Patch0: aegisub-2.1.9-system_libs.patch
|
||||
# PATCH-FIX-UPSTREAM aegisub-2.1.8.99.rev5789-ld.patch reddwarf@opensuse.org -- Link against librt. Fixed upstream.
|
||||
Patch1: aegisub-2.1.8.99.rev5789-ld.patch
|
||||
# PATCH-FIX-UPSTREAM aegisub-2.1.9-underlinking.patch reddwarf@opensuse.org -- Link against libz, Fixed upstream.
|
||||
Patch2: aegisub-2.1.9-underlinking.patch
|
||||
# PATCH-FIX-UPSTREAM aegisub-2.1.9-no_glu.patch http://devel.aegisub.org/ticket/1511 reddwarf@opensuse.org -- Don't ask for GLU since it's not being used
|
||||
Patch3: aegisub-2.1.9-no_glu.patch
|
||||
BuildRequires: ImageMagick
|
||||
BuildRequires: boost-devel >= 1.34
|
||||
Source0: http://ftp.aegisub.org/pub/releases/aegisub-%{version}.tar.xz
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: intltool
|
||||
BuildRequires: pkg-config >= 0.20
|
||||
BuildRequires: update-desktop-files
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __find_requires %wx_requires
|
||||
BuildRequires: wxWidgets-devel >= 2.8.1
|
||||
BuildRequires: wxWidgets-devel >= 2.9.3
|
||||
BuildRequires: pkgconfig(alsa)
|
||||
BuildRequires: pkgconfig(fftw3) >= 3.3
|
||||
BuildRequires: pkgconfig(fontconfig) >= 2.4
|
||||
BuildRequires: pkgconfig(freetype2) >= 9.7.0
|
||||
BuildRequires: pkgconfig(gl)
|
||||
BuildRequires: pkgconfig(hunspell) >= 1.2.0
|
||||
BuildRequires: pkgconfig(libass)
|
||||
BuildRequires: pkgconfig(libpulse) >= 0.5
|
||||
BuildRequires: pkgconfig(lua) < 5.2
|
||||
BuildRequires: pkgconfig(lua) >= 5.1
|
||||
BuildRequires: pkgconfig(openal)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
%if %{with ffms2}
|
||||
BuildRequires: pkgconfig(ffms2)
|
||||
%endif
|
||||
%if %{with perl}
|
||||
BuildRequires: perl >= 5.004
|
||||
Requires: perl = %{perl_version}
|
||||
%endif
|
||||
%if %{with ruby}
|
||||
BuildRequires: ruby-devel >= 1.8
|
||||
%endif
|
||||
|
||||
%description
|
||||
Aegisub is an advanced subtitle editor for Windows, and UNIX-like systems, such
|
||||
@@ -76,37 +55,31 @@ from just basic timed text. Aegisub's goal is to support using these advanced
|
||||
functions with ease.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
rm -r src/boost
|
||||
rm -r src/gl
|
||||
%setup -q -n aegisub
|
||||
cd aegisub
|
||||
FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
|
||||
sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/version.cpp
|
||||
FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S')
|
||||
sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/version.cpp
|
||||
|
||||
%build
|
||||
%configure \
|
||||
%{!?with_ruby:--without-ruby} \
|
||||
%{!?with_perl:--without-perl} \
|
||||
--with-player-audio=pulseaudio \
|
||||
--docdir='%{_docdir}'
|
||||
cd aegisub
|
||||
# Don't use --disable-update-checker because of http://blog.aegisub.org/2012/02/bit-of-statistics.html
|
||||
%configure --with-player-audio=PulseAudio \
|
||||
--without-oss
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
cd aegisub
|
||||
%make_install
|
||||
%suse_update_desktop_file %{name}
|
||||
%find_lang %{name}21
|
||||
%find_lang %{name}-30
|
||||
|
||||
%files -f %{name}21.lang
|
||||
%files -f aegisub/%{name}-30.lang
|
||||
%defattr(0644, root, root, 0755)
|
||||
%{_docdir}/%{name}
|
||||
%attr(0755,root,root) %{_bindir}/%{name}-2.1
|
||||
%{_datadir}/%{name}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/%{name}.*
|
||||
%doc aegisub/LICENCE
|
||||
%attr(0755,root,root) %{_bindir}/aegisub-3.0
|
||||
%{_datadir}/aegisub/
|
||||
%{_datadir}/applications/aegisub.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/aegisub.*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user