SPECS: kmplayer.spec - more BR deps - add patch for support in kon...

glen glen at pld-linux.org
Sat Jan 5 23:22:22 CET 2008


Author: glen                         Date: Sat Jan  5 22:22:22 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more BR deps
- add patch for support in konqueror flash player, see http://mikearthur.co.uk/?p=171

---- Files affected:
SPECS:
   kmplayer.spec (1.82 -> 1.83) 

---- Diffs:

================================================================
Index: SPECS/kmplayer.spec
diff -u SPECS/kmplayer.spec:1.82 SPECS/kmplayer.spec:1.83
--- SPECS/kmplayer.spec:1.82	Mon Dec 24 17:02:01 2007
+++ SPECS/kmplayer.spec	Sat Jan  5 23:22:16 2008
@@ -9,7 +9,7 @@
 Summary(pl.UTF-8):	Frontend dla programów MPlayer/Xine/ffmpeg/ffserver/VDR pod KDE
 Name:		kmplayer
 Version:	0.10.0c
-Release:	1
+Release:	2
 Epoch:		2
 License:	GPL
 Group:		X11/Applications/Multimedia
@@ -18,20 +18,27 @@
 # Source0-md5:	3e76147784b2642891c9efbfe260e4c4
 Patch0:		kde-common-PLD.patch
 Patch1:		kde-ac260-lt.patch
+Patch2:		%{name}-flash.patch
 URL:		http://kmplayer.kde.org/
 BuildRequires:	arts-qt-devel
 BuildRequires:	artsc-devel
 BuildRequires:	autoconf
 BuildRequires:	automake
+BuildRequires:	dbus-qt-devel
+BuildRequires:	expat-devel
 BuildRequires:	gettext-devel
 %{?with_gstreamer:BuildRequires:	gstreamer-plugins-base-devel >= 0.10.0}
 BuildRequires:	kdelibs-devel >= 9:3.5.3
 %{?with_koffice:BuildRequires:	koffice-devel}
+BuildRequires:	libjpeg-devel
+BuildRequires:	libpng-devel
+BuildRequires:	nspr-devel
 BuildRequires:	pkgconfig
-BuildRequires:	rpmbuild(macros) >= 1.129
+BuildRequires:	rpmbuild(macros) >= 1.357
 BuildRequires:	sed >= 4.0
 %{?with_xine:BuildRequires:	xine-lib-devel >= 1:1.0}
 BuildRequires:	xorg-lib-libXv-devel
+BuildRequires:	zlib-devel
 Requires:	kdebase-core >= 9:3.5.3
 Requires:	kdelibs >= 9:3.5.3
 Requires:	mplayer
@@ -86,14 +93,19 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %{__sed} -i -e 's/Categories=.*/Categories=Qt;KDE;AudioVideo;Player;/' \
 	src/kmplayer.desktop
+%{__sed} -i -e 's,plugin=/usr/lib/browser-plugins,plugin=%{_browserpluginsdir}', src/kmplayerrc
 
-%build
-cp /usr/share/automake/config.sub admin
+mv configure{,.orig}
 
-%{__make} -f admin/Makefile.common cvs
+%build
+if [ ! -f configure ]; then
+	cp /usr/share/automake/config.sub admin
+	%{__make} -f admin/Makefile.common cvs
+fi
 
 CPPFLAGS="$CPPFLAGS -I/usr/include/nspr"
 %configure \
@@ -102,6 +114,8 @@
 	%{?with_koffice:--enable-koffice-plugin} \
 	%{!?with_gstreamer:--without-gstreamer} \
 	%{!?with_xine:--without-xine} \
+	--enable-expat \
+	--enable-npplayer \
 	--with-qt-libraries=%{_libdir}
 
 %{__make} -j1
@@ -172,6 +186,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.83  2008-01-05 22:22:16  glen
+- more BR deps
+- add patch for support in konqueror flash player, see http://mikearthur.co.uk/?p=171
+
 Revision 1.82  2007-12-24 16:02:01  shadzik
 - 0.10.0c
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kmplayer.spec?r1=1.82&r2=1.83&f=u



More information about the pld-cvs-commit mailing list