Browse Source

updated self-build-gstreamer-plugins-ffmpeg self-build-kino self-build-gstreamer-plugins-bad self-build-gstreamer-plugins-ugly self-build-ffmpeg2theora

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3143 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 11 years ago
parent
commit
2966eec886

+ 17 - 9
nonfree/self-build-ffmpeg2theora/ffmpeg2theora-vl.spec

@@ -1,22 +1,25 @@
-%define pkg_version	0.25
-%define pkg_release	2%{?_dist_release}
+%define pkg_version	0.27
+%define pkg_release	1%{?_dist_release}
 
 Summary:	Convert any file that ffmpeg can decode to theora
 Summary(ja): 	ffmpeg がデコード可能なファイルを theora に変換するツール
 Name:		ffmpeg2theora
 Version:	%{pkg_version}
 Release: 	%{pkg_release}
-Source0:	http://www.v2v.cc/~j/ffmpeg2theora/%{name}-%{version}.tar.bz2
+Source0:	http://www.v2v.cc/~j/ffmpeg2theora/downloads/%{name}-%{version}.tar.bz2
+Patch0:         ffmpeg2theora-0.27-ldflags.patch
 License:	GPL
 Group:		Applications/Multimedia
 URL:		http://www.v2v.cc/~j/ffmpeg2theora/
 
 BuildRequires:  scons
-BuildRequires:	libogg-devel, libtheora-devel, libvorbis-devel
+BuildRequires:	libogg-devel >= 1.1
+BuildRequires:	libtheora-devel >= 1.1.0
+BuildRequires:	libvorbis-devel
 ### *-devel pacages provided by other self-build-* should only be listed
 ### in self-build-%{name}.spec as PreReq.
 #
-# BuildRequires:	ffmpeg-devel
+# BuildRequires:	ffmpeg-devel >= 0.6.1
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 
 
@@ -34,6 +37,7 @@ ffmpeg2theora を使えば ffmpeg がデコードできるどんな種類のフ
 %prep
 
 %setup -q
+%patch0 -p1 -b .ldflags
 
 
 %build
@@ -43,13 +47,13 @@ scons APPEND_CCFLAGS="$RPM_OPT_FLAGS"
 %install
 %{__rm} -rf ${RPM_BUILD_ROOT}
 scons install destdir=$RPM_BUILD_ROOT prefix=%{_prefix}
-mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
-mv $RPM_BUILD_ROOT%{_prefix}/man/man1/ffmpeg2theora.1 $RPM_BUILD_ROOT%{_mandir}/man1
-rm -rf $RPM_BUILD_ROOT%{_prefix}/man
+%__mkdir_p $RPM_BUILD_ROOT%{_mandir}/man1
+%__mv $RPM_BUILD_ROOT%{_prefix}/man/man1/ffmpeg2theora.1 $RPM_BUILD_ROOT%{_mandir}/man1
+%__rm -rf $RPM_BUILD_ROOT%{_prefix}/man
 
 
 %clean
-%{__rm} -rf ${RPM_BUILD_ROOT}
+%__rm -rf ${RPM_BUILD_ROOT}
 
 
 %files
@@ -59,6 +63,10 @@ rm -rf $RPM_BUILD_ROOT%{_prefix}/man
 %{_mandir}/man1/ffmpeg2theora.1.gz
 
 %changelog
+* Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> - 0.27-1
+- new upstream release
+- fixed the location of %%Source0
+
 * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.25-2
 - change release to sync with self-build-ffmpeg2theora
 

+ 14 - 6
nonfree/self-build-ffmpeg2theora/self-build-ffmpeg2theora-vl.spec

@@ -1,9 +1,9 @@
 %define pkgname ffmpeg2theora
 %define name	self-build-%{pkgname}
-%define version	0.25
-%define release	2%{?_dist_release}
+%define version	0.27
+%define release	1%{?_dist_release}
 
-%define sourceurl	http://www.v2v.cc/~j/ffmpeg2theora/%{pkgname}-%{version}.tar.bz2
+%define sourceurl	http://www.v2v.cc/~j/ffmpeg2theora/downloads/%{pkgname}-%{version}.tar.bz2
 
 Summary:	Package to automatically build %{pkgname} rpm package
 Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケージ
@@ -11,6 +11,7 @@ Name:		%{name}
 Version:	%{version}
 Release: 	%{release}
 Source0:	%{pkgname}-vl.spec
+Source100:	ffmpeg2theora-0.27-ldflags.patch
 License:	GPL
 Group:		Restricted Software
 
@@ -18,8 +19,10 @@ Requires(post):		self-build-setup >= 0.9.9
 
 # (build)requies of target package.
 Requires(post):		scons
-Requires(post):		libogg-devel, libtheora-devel, libvorbis-devel
-Requires(post):		self-build-ffmpeg
+Requires(post):		libogg-devel >= 1.1
+Requires(post):		libtheora-devel >= 1.1.0
+Requires(post):		libvorbis-devel
+Requires(post):		self-build-ffmpeg >= 0.6.1
 
 BuildArch:	noarch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
@@ -96,13 +99,14 @@ ffmpeg2theora は ffmpeg がデコードできるファイルを theora 形式
 %{__rm} -rf ${RPM_BUILD_ROOT}
 %{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
 %{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE100} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
 
 
 %clean
 %{__rm} -rf ${RPM_BUILD_ROOT}
 
 %posttrans
-/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec %{sourceurl} 10000
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec %{sourceurl} 11000
 #/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release}
 
 %files
@@ -110,6 +114,10 @@ ffmpeg2theora は ffmpeg がデコードできるファイルを theora 形式
 %{_datadir}/%{name}
 
 %changelog
+* Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> - 0.27-1
+- new upstream release
+- fixed the location of %%sourceurl
+
 * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.25-2
 - renamed %%{Source0} to ffmpeg2theora-vl.spec
 

+ 12 - 3
nonfree/self-build-gstreamer-plugins-bad/gstreamer-plugins-bad-vl.spec

@@ -6,7 +6,7 @@
 
 Summary: GStreamer streaming media framework "bad" plug-ins
 Name: gstreamer-plugins-bad
-Version: 0.10.20
+Version: 0.10.21
 Release: 1%{?_dist_release}
 # The freeze and nfs plugins are LGPLv2 (only)
 License: LGPLv2+
@@ -38,7 +38,7 @@ BuildRequires: SDL-devel
 BuildRequires: bzip2-devel
 BuildRequires: mesa-libGLU-devel
 BuildRequires: neon-devel
-#BuildRequires: libmms-devel
+BuildRequires: libmms-devel
 BuildRequires: libmusicbrainz-devel
 #BuildRequires: libcdaudio-devel
 BuildRequires: jack-audio-connection-kit-devel
@@ -61,6 +61,7 @@ BuildRequires: jasper-devel
 BuildRequires: openssl-devel
 BuildRequires: twolame-devel
 BuildRequires: libvdpau-devel
+BuildRequires: librtmp-devel
 
 %description
 GStreamer is a streaming media framework, based on graphs of elements which
@@ -112,7 +113,7 @@ enough quality.
     --enable-debug --disable-static --disable-gtk-doc \
     --disable-ladspa --enable-experimental \
     --disable-siren --disable-valve --disable-dtmf --disable-autoconvert \
-    --disable-liveadder --disable-rtpmux \
+    --disable-liveadder \
     ;
 
 # Don't use rpath!
@@ -243,16 +244,24 @@ enough quality.
 %files devel
 %defattr(-,root,root,-)
 %{_libdir}/*.so
+%{_includedir}/gstreamer-%{majorminor}/gst/basecamerabinsrc/*.h
 %{_includedir}/gstreamer-%{majorminor}/gst/signalprocessor/gstsignalprocessor.h
 %{_includedir}/gstreamer-%{majorminor}/gst/video/*
 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/photography*
 %{_includedir}/gstreamer-%{majorminor}/gst/vdpau/*
 %{_libdir}/pkgconfig/*
+%{_datadir}/glib-2.0/schemas/org.freedesktop.gstreamer-0.10.default-elements.gschema.xml
 #%doc %{_datadir}/gtk-doc/html/gst-plugins-bad-plugins-0.10
 
 
 
 %changelog
+* Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.21-1
+- new upstream release
+- added BuildRequires: 
+  - libmms-devel
+  - librtmp-devel
+
 * Fri Sep 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.20-1
 - new upstream release
 

+ 10 - 3
nonfree/self-build-gstreamer-plugins-bad/self-build-gstreamer-plugins-bad-vl.spec

@@ -3,7 +3,7 @@
 %define gstreamer    gstreamer
 %define gst_minver   0.10.22.1
 %define gstpb_minver 0.10.22.1
-%define _gst_ver     0.10.20
+%define _gst_ver     0.10.21
 %define release	1%{?_dist_release}
 
 %define sourceurl	http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{_gst_ver}.tar.bz2
@@ -44,7 +44,7 @@ Requires(post): self-build-xvidcore
 Requires(post): bzip2-devel
 Requires(post): mesa-libGLU-devel
 Requires(post): neon-devel
-#Requires(post): libmms-devel
+Requires(post): libmms-devel
 Requires(post): libmusicbrainz-devel
 #Requires(post): libcdaudio-devel
 Requires(post): jack-audio-connection-kit-devel
@@ -67,6 +67,7 @@ Requires(post): jasper-devel
 Requires(post): openssl-devel
 Requires(post): twolame-devel
 Requires(post): libvdpau-devel
+Requires(post): librtmp-devel
 
 
 BuildArch:	noarch
@@ -155,7 +156,7 @@ gstreamer-plugins-bad は GStreamer ストリーミングメディア
 %{__rm} -rf ${RPM_BUILD_ROOT}
 
 %posttrans
-/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec %{sourceurl} 300000
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec %{sourceurl} 333000
 /usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \
                                  %{pkgname}-devel-%{version}-%{release}
 
@@ -165,6 +166,12 @@ gstreamer-plugins-bad は GStreamer ストリーミングメディア
 %{_datadir}/%{name}
 
 %changelog
+* Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.21-1
+- new upstream release
+- added Requires(post):
+  - libmms-devel
+  - librtmp-devel
+
 * Fri Sep 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.20-1
 - new upstream release
 

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

@@ -2,7 +2,7 @@
 
 Name:           gstreamer-plugins-ffmpeg
 Version:        0.10.11
-Release:        1%{?_dist_release}
+Release:        3%{?_dist_release}
 Summary:        GStreamer FFmpeg-based plug-ins
 Group:		System Environment/Libraries
 # the ffmpeg plugin is LGPL, the postproc plugin is GPL
@@ -39,8 +39,8 @@ This package provides FFmpeg-based GStreamer plug-ins.
 %configure \
     --disable-dependency-tracking \
     --disable-static \
-    --with-system-ffmpeg \
 	;
+#    --with-system-ffmpeg \
 
 %__make %{?_smp_mflags}
 
@@ -67,6 +67,12 @@ This package provides FFmpeg-based GStreamer plug-ins.
 
 
 %changelog
+* Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.11-3
+- dropped --with-system-ffmpeg in configure options
+
+* Sun Feb 06 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.11-2
+- used --with-system-ffmpeg (testing with ffmpeg 0.6.x)
+
 * Sat Jul 31 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.11-1
 - new upstream release
 

+ 11 - 4
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.11
-%define release 1%{?_dist_release}
+%define release 3%{?_dist_release}
 
 %define sourceurl0	http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-%{version}.tar.bz2
 
@@ -24,8 +24,7 @@ Requires(post):		gstreamer-devel >= 0.10.0
 Requires(post):		gstreamer-plugins-base-devel >= 0.10.0
 Requires(post):		liboil-devel
 Requires(post):		bzip2-devel
-## Use internal ffmpeg
-# Requires(post):	self-build-ffmpeg
+Requires(post):	self-build-ffmpeg
 
 BuildArch:	noarch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
@@ -122,13 +121,21 @@ GStreamer はメディアデータ操作用の filter graph をベースにし
 %{__rm} -rf ${RPM_BUILD_ROOT}
 
 %posttrans
-/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 43000
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 103000
 
 %files
 %defattr(-,root,root)
 %{_datadir}/%{name}/*
 
 %changelog
+* Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.11-3
+- dropped --with-system-ffmpeg in configure options 
+  (gstreamer-plugins-ffmpeg-vl.spec)
+
+* Sun Feb 06 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.11-2
+- added Requires(post): self-build-ffmpeg
+  - already used system ffmpeg
+
 * Sat Jul 31 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.11-1
 - new upstream release
 

+ 4 - 1
nonfree/self-build-gstreamer-plugins-ugly/gstreamer-plugins-ugly-vl.spec

@@ -1,7 +1,7 @@
 ## TODO: build with opencore-amr
 
 %define major		0.10
-%define _gst_ver	0.10.16
+%define _gst_ver	0.10.17
 %define _gstpb_ver	0.10.3
 %define pkg_release	1%{?_dist_release}
 
@@ -132,6 +132,9 @@ GStreamer はメディアデータ操作用の filter graph をベースにし
 
 
 %changelog
+* Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.17-1
+- new upstream relase
+
 * Fri Sep 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.16-1
 - new upstream relase
 

+ 5 - 2
nonfree/self-build-gstreamer-plugins-ugly/self-build-gstreamer-plugins-ugly-vl.spec

@@ -1,5 +1,5 @@
 %define pkgname gstreamer-plugins-ugly
-%define _gst_ver	0.10.16
+%define _gst_ver	0.10.17
 %define _gstpb_ver	0.10.3
 %define release	1%{?_dist_release}
 
@@ -122,13 +122,16 @@ gstreamer-plugins-ugly は GStreamer ストリーミングメディア
 %{__rm} -rf ${RPM_BUILD_ROOT}
 
 %posttrans
-/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec %{sourceurl} 82000
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec %{sourceurl} 83000
 
 %files
 %defattr(-,root,root)
 %{_datadir}/%{name}
 
 %changelog
+* Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.17-1
+- new upstream relase
+
 * Fri Sep 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.16-1
 - new upstream relase
 

+ 27 - 14
nonfree/self-build-kino/kino-vl.spec

@@ -1,7 +1,6 @@
-##TODO: udev
 Name: kino
 Version: 1.3.4
-Release: 3%{?_dist_release}
+Release: 4%{?_dist_release}
 Summary: Kino - A simple non-linear video editor
 Summary(ja): Kino - シンプルなノンリニアビデオ編集ツール
 
@@ -9,24 +8,32 @@ Group: Applications/Multimedia
 License: GPLv2+
 URL: http://www.kinodv.org/
 Source0: http://prdownloads.sourceforge.net/kino/%{name}-%{version}.tar.gz
-Patch0:         %{name}-udev.patch
+#Patch0:         kino-udev.patch
+Patch1:        kino-1.3.4-dso.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
-BuildRequires: desktop-file-utils
-BuildRequires: gettext
-BuildRequires: intltool
-BuildRequires: libsamplerate-devel
-BuildRequires: libdv-devel
-BuildRequires: libavc1394-devel
+BuildRequires: gtk2-devel >= 2.6.0
+BuildRequires: glib2-devel
+BuildRequires: libxml2-devel
 BuildRequires: libraw1394-devel
+BuildRequires: libavc1394-devel
 BuildRequires: libiec61883-devel
+BuildRequires: libdv-devel
+BuildRequires: libXv-devel
+BuildRequires: libbonoboui-devel
 BuildRequires: libogg-devel
 BuildRequires: libvorbis-devel
-BuildRequires: gtk2-devel >= 2.6.0
-BuildRequires: XOrg-devel
 BuildRequires: imlib-devel
-BuildRequires: libxml2-devel
-BuildRequires: perl
+BuildRequires: desktop-file-utils
+BuildRequires: libsamplerate-devel
+BuildRequires: zlib-devel
+BuildRequires: gettext
+BuildRequires: intltool
+BuildRequires: perl(XML::Parser)
+BuildRequires: libICE-devel
+BuildRequires: libSM-devel
+BuildRequires: alsa-lib-devel
+BuildRequires: XOrg-devel
 # *-devel packages provided by other self-build-* should only be listed
 # in self-build-%{name}.spec as Requires(post).
 # BuildRequires: libquicktime-devel
@@ -80,7 +87,8 @@ This package contains development files to build kino plugins.
 
 %prep
 %setup -q
-%patch0 -p1 -b .udev
+#%patch0 -p1 -b .udev
+%patch1 -p1 -b .dso
 
 
 %build
@@ -143,6 +151,11 @@ desktop-file-install \
 %{_includedir}/kino
 
 %changelog
+* Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.4-4
+- applied kino-1.3.4-dso.patch from RPM Fusion development
+  - rebuilt for gcc bug
+- drop the udev rules patch
+
 * Fri Sep 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.4-3
 - change release to sync with self-build-kino.spec
 

+ 33 - 20
nonfree/self-build-kino/self-build-kino-vl.spec

@@ -1,7 +1,7 @@
 %define pkgname kino
 %define name	self-build-%{pkgname}
 %define version 1.3.4
-%define release	3%{?_dist_release}
+%define release	4%{?_dist_release}
 
 %define sourceurl0	http://prdownloads.sourceforge.net/kino/%{pkgname}-%{version}.tar.gz
 
@@ -11,30 +11,38 @@ Name:		%{name}
 Version:	%{version}
 Release: 	%{release}
 Source0:	%{pkgname}-vl.spec
-Source100:	kino-udev.patch
+#Source100:	kino-udev.patch
+Source101:	kino-1.3.4-dso.patch
 
-License:	GPL
+License:	GPLv2+
 Group:		Restricted Software
 
 Obsoletes:	kino < 1.3.3-2
 
 Requires(post):		self-build-setup >= 0.9.9
 
-Requires(post):		desktop-file-utils
-Requires(post):		gettext
-Requires(post):		intltool
-Requires(post):		libsamplerate-devel
-Requires(post):		libdv-devel
-Requires(post):		libavc1394-devel
-Requires(post):		libraw1394-devel
-Requires(post):		libiec61883-devel
-Requires(post):		libogg-devel
-Requires(post):		libvorbis-devel
-Requires(post):		gtk2-devel >= 2.6.0
-Requires(post):		XOrg-devel
-Requires(post):		imlib-devel
-Requires(post):		libxml2-devel
-Requires(post):		perl
+Requires(post): gtk2-devel >= 2.6.0
+Requires(post): glib2-devel
+Requires(post): libxml2-devel
+Requires(post): libraw1394-devel
+Requires(post): libavc1394-devel
+Requires(post): libiec61883-devel
+Requires(post): libdv-devel
+Requires(post): libXv-devel
+Requires(post): libbonoboui-devel
+Requires(post): libogg-devel
+Requires(post): libvorbis-devel
+Requires(post): imlib-devel
+Requires(post): desktop-file-utils
+Requires(post): libsamplerate-devel
+Requires(post): zlib-devel
+Requires(post): gettext
+Requires(post): intltool
+Requires(post): perl(XML::Parser)
+Requires(post): libICE-devel
+Requires(post): libSM-devel
+Requires(post): alsa-lib-devel
+Requires(post): XOrg-devel
 
 Requires:		libdv
 Requires:		libavc1394
@@ -132,13 +140,13 @@ Kino は DV デジタルビデオカメラで録画された動画を
 %{__rm} -rf ${RPM_BUILD_ROOT}
 %{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
 %{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
-%{__install} -m 644 %{SOURCE100} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE101} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
 
 %clean
 %{__rm} -rf ${RPM_BUILD_ROOT}
 
 %posttrans
-/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 105000
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 111000
 /usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \
                                  %{pkgname}-devel-%{version}-%{release}
 
@@ -147,6 +155,11 @@ Kino は DV デジタルビデオカメラで録画された動画を
 %{_datadir}/%{name}
 
 %changelog
+* Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.4-4
+- applied kino-1.3.4-dso.patch from RPM Fusion development
+  - rebuilt for gcc bug
+- drop the udev rules patch
+
 * Fri Sep 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.4-3
 - added Requires(post): self-build-mjpegtools, self-build-mplayer