packages: kmplayer/kmplayer.spec - up to 0.11.3c - gstreamer and xine was r...
blekot
blekot at pld-linux.org
Mon Mar 26 13:27:24 CEST 2012
Author: blekot Date: Mon Mar 26 11:27:24 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.11.3c
- gstreamer and xine was removed from project
- dropped all patches
- needs revert of xulrunner usage (rel 0.1)
- builds and works
- KDE3 -> KDE4
- BR: cmake
---- Files affected:
packages/kmplayer:
kmplayer.spec (1.84 -> 1.85)
---- Diffs:
================================================================
Index: packages/kmplayer/kmplayer.spec
diff -u packages/kmplayer/kmplayer.spec:1.84 packages/kmplayer/kmplayer.spec:1.85
--- packages/kmplayer/kmplayer.spec:1.84 Sun Mar 23 12:07:31 2008
+++ packages/kmplayer/kmplayer.spec Mon Mar 26 13:27:18 2012
@@ -1,46 +1,28 @@
# $Revision$, $Date$
#
# Conditional build:
-%bcond_without gstreamer # Do not build kgstplayer
%bcond_with koffice # Build koffice plugin
-%bcond_without xine # Do not build kxineplayer
#
Summary: A KDE MPlayer/Xine/ffmpeg/ffserver/VDR frontend
Summary(pl.UTF-8): Frontend dla programów MPlayer/Xine/ffmpeg/ffserver/VDR pod KDE
Name: kmplayer
-Version: 0.10.0c
-Release: 2
+Version: 0.11.3c
+Release: 0.1
Epoch: 2
License: GPL
Group: X11/Applications/Multimedia
-# http://kmplayer.kde.org/pkgs/kmplayer-0.9.3-pre1.tar.bz2
Source0: http://kmplayer.kde.org/pkgs/%{name}-%{version}.tar.bz2
-# Source0-md5: 3e76147784b2642891c9efbfe260e4c4
-Patch0: kde-common-PLD.patch
-Patch1: kde-ac260-lt.patch
-Patch2: %{name}-flash.patch
+# Source0-md5: 3e9ef221ca15d264e553706c6e611eb9
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
+BuildRequires: cmake >= 2.8.0
+BuildRequires: dbus-glib-devel
+BuildRequires: ffmpeg-devel
+BuildRequires: gtk+2-devel
+BuildRequires: kde4-kdelibs-devel
%{?with_koffice:BuildRequires: koffice-devel}
-BuildRequires: libjpeg-devel
-BuildRequires: libpng-devel
-BuildRequires: nspr-devel
BuildRequires: pkgconfig
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
+BuildRequires: xulrunner-devel
Requires: mplayer
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -52,18 +34,6 @@
W pełni zintegrowany z KDE frontend dla programów
MPlayer/Xine/ffmpeg/ffserver/VDR.
-%package gstreamer
-Summary: Gstreamer wrapper
-Summary(pl.UTF-8): Wrapper gstreamera
-Group: X11/Applications/Multimedia
-Requires: %{name} = %{epoch}:%{version}-%{release}
-
-%description gstreamer
-Gstreamer wrapper.
-
-%description gstreamer -l pl.UTF-8
-Wrapper gstreamera.
-
%package koffice
Summary: Kmplayer integration with Koffice
Summary(pl.UTF-8): Integracja kmplayera z koffice
@@ -77,62 +47,22 @@
%description koffice -l pl.UTF-8
Integracja kmplayera z koffice.
-%package xine
-Summary: Xine wrapper
-Summary(pl.UTF-8): Wrapper xine
-Group: X11/Applications/Multimedia
-Requires: %{name} = %{epoch}:%{version}-%{release}
-
-%description xine
-Xine wrapper.
-
-%description xine -l pl.UTF-8
-Wrapper xine.
-
%prep
%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
-
-mv configure{,.orig}
%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 \
- --disable-rpath \
- %{?with_koffice:--enable-koffice-plugin} \
- %{!?with_gstreamer:--without-gstreamer} \
- %{!?with_xine:--without-xine} \
- --enable-expat \
- --enable-npplayer \
- --with-qt-libraries=%{_libdir}
-
-%{__make} -j1
+install -d build
+cd build
+%cmake \
+ .. \
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT \
- kde_htmldir=%{_kdedocdir}
-
-# remove bogus translation
-rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/xx
-
-# already in kdelibs
-rm $RPM_BUILD_ROOT%{_datadir}/mimelnk/application/x-mplayer2.desktop
+%{__make} -C build install \
+ DESTDIR=$RPM_BUILD_ROOT
-%find_lang %{name} --with-kde
+%find_lang %{name} --all-name --with-kde
%clean
rm -rf $RPM_BUILD_ROOT
@@ -142,29 +72,19 @@
%doc AUTHORS ChangeLog README
%attr(755,root,root) %{_bindir}/kmplayer
%attr(755,root,root) %{_bindir}/knpplayer
-%attr(755,root,root) %{_bindir}/kxvplayer
-%{_libdir}/libkdeinit_kmplayer.la
-%attr(755,root,root) %{_libdir}/libkdeinit_kmplayer.so
-%{_libdir}/libkmplayercommon.la
+%attr(755,root,root) %{_bindir}/kphononplayer
+%attr(755,root,root) %{_libdir}/kde4/libkmplayerpart.so
+%attr(755,root,root) %{_libdir}/libkdeinit4_kmplayer.so
%attr(755,root,root) %{_libdir}/libkmplayercommon.so
-%{_libdir}/kde3/kmplayer.la
-%attr(755,root,root) %{_libdir}/kde3/kmplayer.so
-%{_libdir}/kde3/libkmplayerpart.la
-%attr(755,root,root) %{_libdir}/kde3/libkmplayerpart.so
+%{_desktopdir}/kde4/kmplayer.desktop
+%{_docdir}/kde/HTML/en/kmplayer/common
+%{_docdir}/kde/HTML/en/kmplayer/index.cache.bz2
+%{_docdir}/kde/HTML/en/kmplayer/index.docbook
+%{_datadir}/kde4/services/kmplayer_part.desktop
%{_datadir}/apps/kmplayer
%{_datadir}/config/kmplayerrc
-%{_datadir}/mimelnk/application/x-kmplayer.desktop
-%{_datadir}/mimelnk/video/x-ms-wmp.desktop
-%{_datadir}/services/kmplayer_part.desktop
-%{_desktopdir}/kde/kmplayer.desktop
%{_iconsdir}/[!l]*/*/apps/kmplayer.*
-%if %{with gstreamer}
-%files gstreamer
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/kgstplayer
-%endif
-
%if %{with koffice}
%files koffice
%defattr(644,root,root,755)
@@ -173,18 +93,21 @@
%{_datadir}/services/kmplayer_koffice.desktop
%endif
-%if %{with xine}
-%files xine
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/kxineplayer
-%endif
-
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.85 2012/03/26 11:27:18 blekot
+- up to 0.11.3c
+- gstreamer and xine was removed from project
+- dropped all patches
+- needs revert of xulrunner usage (rel 0.1)
+- builds and works
+- KDE3 -> KDE4
+- BR: cmake
+
Revision 1.84 2008/03/23 11:07:31 glen
- never use --enable-final
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/kmplayer/kmplayer.spec?r1=1.84&r2=1.85
More information about the pld-cvs-commit
mailing list