[packages/gimp-plugin-gap] - up to 2.6.0
adwol
adwol at pld-linux.org
Sat Mar 28 04:00:49 CET 2015
commit b9b5b144136bae5578dd772b50b3bc7c1b112fd7
Author: Adam Osuchowski <adwol at pld-linux.org>
Date: Sat Mar 28 04:00:18 2015 +0100
- up to 2.6.0
gimp-plugin-gap-ffmpeg-texi2html.patch | 12 ++++++++++++
gimp-plugin-gap.spec | 28 +++++++++++++++++-----------
2 files changed, 29 insertions(+), 11 deletions(-)
---
diff --git a/gimp-plugin-gap.spec b/gimp-plugin-gap.spec
index 4209916..4dfcfbd 100644
--- a/gimp-plugin-gap.spec
+++ b/gimp-plugin-gap.spec
@@ -6,21 +6,25 @@
%bcond_without xvid # without xvid support
%bcond_with gdkpixbuf # use GdkPixbuf thumbnail rendering (default=no)
%bcond_with libmpeg3 # use system libmpeg3 (1.5.x only)
-#
+
+%define pkgname gimp-gap
+%define pkgver 2.6
+
Summary: The GIMP Animation Package
Summary(pl.UTF-8): Pakiet animacyjny dla GIMP-a
Name: gimp-plugin-gap
-Version: 2.2.2
+Version: %{pkgver}.0
Release: 1
License: GPL v2+
Group: X11/Applications/Graphics
-Source0: ftp://ftp.gimp.org/pub/gimp/plug-ins/v2.2/gap/gimp-gap-%{version}.tar.bz2
-# Source0-md5: 2c7ea1cf560a2693310781265d8f3c05
+Source0: http://download.gimp.org/pub/gimp/plug-ins/v2.6/gap/%{pkgname}-%{version}.tar.bz2
+# Source0-md5: 249ed829de8b78675c0fe4ef4212089f
+Patch0: %{name}-ffmpeg-texi2html.patch
URL: http://www.gimp.org/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gettext-devel
-BuildRequires: gimp-devel >= 2.2.0
+BuildRequires: gimp-devel >= 2.6.0
BuildRequires: intltool
BuildRequires: libjpeg-devel
%{?with_libmpeg3:BuildRequires: libmpeg3-devel >= 1.5}
@@ -36,7 +40,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
The GIMP-GAP (GIMP Animation Package) is a collection of Plug-Ins to
-extend GIMP 2.2 with capabilities to edit and create animations as
+extend GIMP %{pkgver} with capabilities to edit and create animations as
sequences of single frames.
%description -l pl.UTF-8
@@ -45,20 +49,22 @@ rozszerzających GIMP-a o możliwość edycji i tworzenia animacji i
sekwencji pojedynczych ramek.
%prep
-%setup -q -n gimp-gap-%{version}
+%setup -q -n %{pkgname}-%{version}
%build
%{__glib_gettextize}
%{__aclocal}
%{__automake}
%{__autoconf}
+%{__intltoolize}
%configure \
%{!?with_xvid:--disable-libxvidcore} \
%{?with_gdkpixbuf:--enable-gdkpixbuf-pview} \
%{?with_libmpeg3:--with-preinstalled-libmpeg3incdir=%{_includedir}/libmpeg3} \
%{?with_libmpeg3:--with-preinstalled-libmpeg3=%{_libdir}/libmpeg3.so}
-%{__make}
+(cd extern_libs/ffmpeg && %{__patch} -p1 < %{PATCH0})
+%{__make} -j1
%install
rm -rf $RPM_BUILD_ROOT
@@ -66,7 +72,7 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT%{_libdir}/gimp-gap-2.2/*.a
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}-%{pkgver}/*.a
%find_lang %{name} --all-name
@@ -76,7 +82,7 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
-%dir %{_libdir}/gimp-gap-2.2
-%attr(755,root,root) %{_libdir}/gimp-gap-2.2/audioconvert_to_wav.sh
+%dir %{_libdir}/%{pkgname}-%{pkgver}
+%attr(755,root,root) %{_libdir}/%{pkgname}-%{pkgver}/audioconvert_to_wav.sh
%attr(755,root,root) %{gimpplugindir}/gap_*
%{gimpscriptdir}/*.scm
diff --git a/gimp-plugin-gap-ffmpeg-texi2html.patch b/gimp-plugin-gap-ffmpeg-texi2html.patch
new file mode 100644
index 0000000..d4ced21
--- /dev/null
+++ b/gimp-plugin-gap-ffmpeg-texi2html.patch
@@ -0,0 +1,12 @@
+diff -ruN ffmpeg.orig/Makefile ffmpeg/Makefile
+--- ffmpeg.orig/Makefile 2009-02-21 19:41:52.000000000 +0100
++++ ffmpeg/Makefile 2015-03-28 03:03:48.357921636 +0100
+@@ -118,7 +118,7 @@
+ $(ALLMANPAGES))
+
+ doc/%.html: doc/%.texi
+- texi2html -monolithic -number $<
++ texi2html -monolithic -number-footnotes $<
+ mv $(@F) $@
+
+ doc/%.pod: doc/%-doc.texi
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gimp-plugin-gap.git/commitdiff/b9b5b144136bae5578dd772b50b3bc7c1b112fd7
More information about the pld-cvs-commit
mailing list