Browse Source

self-build-gstreamer-plugins-ffmpeg-0.10.13-2

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@7923 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 8 years ago
parent
commit
2d870b36e9

+ 8 - 2
nonfree/self-build-gstreamer-plugins-ffmpeg/gstreamer-plugins-ffmpeg-vl.spec

@@ -2,13 +2,14 @@
 
 Name:           gstreamer-plugins-ffmpeg
 Version:        0.10.13
-Release:        1%{?_dist_release}
+Release:        2%{?_dist_release}
 Summary:        GStreamer FFmpeg-based plug-ins
 Group:		System Environment/Libraries
 # the ffmpeg plugin is LGPL, the postproc plugin is GPL
 License:        GPLv2+ and LGPLv2+
 URL:            http://gstreamer.freedesktop.org/
 Source:         http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-%{version}.tar.bz2
+Patch0:         gst-ffmpeg-0.10.13_gcc47.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 Requires:	gstreamer >= 0.10.0
 Requires:	gstreamer-plugins-base >= 0.10.0
@@ -33,7 +34,9 @@ This package provides FFmpeg-based GStreamer plug-ins.
 
 %prep
 %setup -q -n gst-ffmpeg-%{version}
-
+%if %{?_dist_release} != "vl6"
+%patch0 -p1
+%endif
 
 %build
 %configure \
@@ -67,6 +70,9 @@ This package provides FFmpeg-based GStreamer plug-ins.
 
 
 %changelog
+* Tue Oct 22 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.10.13-2
+- added Patch0 to build with gcc-4.7 or later.
+
 * Sat Jun 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.13-1
 - new upstream release
 

+ 6 - 2
nonfree/self-build-gstreamer-plugins-ffmpeg/self-build-gstreamer-plugins-ffmpeg-vl.spec

@@ -1,7 +1,7 @@
 %define pkgname gstreamer-plugins-ffmpeg
 %define name    self-build-%{pkgname}
 %define version 0.10.13
-%define release 1%{?_dist_release}
+%define release 2%{?_dist_release}
 
 %define sourceurl0	http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-%{version}.tar.bz2
 
@@ -11,7 +11,7 @@ Name:		%{name}
 Version:	%{version}
 Release: 	%{release}
 Source0:	%{pkgname}-vl.spec
-
+Source1:	gst-ffmpeg-0.10.13_gcc47.patch
 License:        GPLv2+ and LGPLv2+
 Group:		Restricted Software
 
@@ -115,6 +115,7 @@ GStreamer はメディアデータ操作用の filter graph をベースにし
 %{__rm} -rf ${RPM_BUILD_ROOT}
 %{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
 %{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
 
 
 %clean
@@ -128,6 +129,9 @@ GStreamer はメディアデータ操作用の filter graph をベースにし
 %{_datadir}/%{name}/*
 
 %changelog
+* Tue Oct 22 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.10.13-2
+- added Source1 to build with gcc-4.7 or later.
+
 * Sat Jun 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.13-1
 - new upstream release