forked from pool/aegisub
Accepting request 215401 from home:RedDwarf:branches:multimedia:apps
- Update to 3.1.1 * New features and bug fixes. See http://www.aegisub.org/changelog/3.1.0/ and http://www.aegisub.org/changelog/3.1.1/ - Add aegisub-old_wc.patch OBS-URL: https://build.opensuse.org/request/show/215401 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/aegisub?expand=0&rev=12
This commit is contained in:
parent
0d61f843e9
commit
5bcda20521
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7d5d8b94da02278b3327f24dd546c0c897c4b369bd2da9e094dc60371422019a
|
||||
size 4155728
|
3
aegisub-3.1.1.tar.xz
Normal file
3
aegisub-3.1.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7f8417488cf56b835ddaa36e64916a64eb030fbd79d96a7f8009eae803e897ac
|
||||
size 4104072
|
13
aegisub-old_wc.patch
Normal file
13
aegisub-old_wc.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: aegisub/configure.ac
|
||||
===================================================================
|
||||
--- aegisub/configure.ac.orig
|
||||
+++ aegisub/configure.ac
|
||||
@@ -16,7 +16,7 @@ m4_define([libpulse_required_version], [
|
||||
m4_define([lua_auto4_required_version], [5.1])
|
||||
m4_define([pkgconfig_required_version], [0.20])
|
||||
m4_define([portaudio_required_version], [19])
|
||||
-m4_define([wx_required_version], [3.0.0])
|
||||
+m4_define([wx_required_version], [2.9.5])
|
||||
|
||||
#######
|
||||
# Setup
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 23 14:43:50 UTC 2014 - reddwarf@opensuse.org
|
||||
|
||||
- Update to 3.1.1
|
||||
* New features and bug fixes. See http://www.aegisub.org/changelog/3.1.0/
|
||||
and http://www.aegisub.org/changelog/3.1.1/
|
||||
- Add aegisub-old_wc.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 7 08:50:55 UTC 2013 - reddwarf@opensuse.org
|
||||
|
||||
|
23
aegisub.spec
23
aegisub.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package aegisub
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,18 +19,23 @@
|
||||
%bcond_with ffms2
|
||||
|
||||
Name: aegisub
|
||||
Version: 3.0.4
|
||||
Version: 3.1.1
|
||||
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.xz
|
||||
Patch0: aegisub-old_wc.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: boost-devel >= 1.50
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: intltool
|
||||
BuildRequires: pkg-config >= 0.20
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __find_requires %wx_requires
|
||||
BuildRequires: wxWidgets-devel >= 2.9.3
|
||||
BuildRequires: wxWidgets-devel >= 2.9.5
|
||||
BuildRequires: pkgconfig(alsa)
|
||||
BuildRequires: pkgconfig(fftw3) >= 3.3
|
||||
BuildRequires: pkgconfig(fontconfig) >= 2.4
|
||||
@ -55,8 +60,9 @@ from just basic timed text. Aegisub's goal is to support using these advanced
|
||||
functions with ease.
|
||||
|
||||
%prep
|
||||
%setup -q -n aegisub
|
||||
rm -r contrib docs
|
||||
%setup -q
|
||||
%patch0
|
||||
rm -r contrib docs deps
|
||||
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
|
||||
@ -65,6 +71,7 @@ sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/version.cpp
|
||||
|
||||
%build
|
||||
cd aegisub
|
||||
autoreconf -fi
|
||||
# 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
|
||||
@ -73,12 +80,12 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
cd aegisub
|
||||
%make_install
|
||||
%find_lang %{name}-30
|
||||
%find_lang %{name}-31
|
||||
|
||||
%files -f aegisub/%{name}-30.lang
|
||||
%files -f aegisub/%{name}-31.lang
|
||||
%defattr(0644, root, root, 0755)
|
||||
%doc aegisub/LICENCE
|
||||
%attr(0755,root,root) %{_bindir}/aegisub-3.0
|
||||
%attr(0755,root,root) %{_bindir}/aegisub-3.1
|
||||
%{_datadir}/aegisub/
|
||||
%{_datadir}/applications/aegisub.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/aegisub.*
|
||||
|
Loading…
Reference in New Issue
Block a user