From 0c9b73ed16a351dd9c35498251abd31a87031cea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 6 Apr 2020 11:55:52 +0200 Subject: DEB kmplayer: Switch to cmake. Enabled build of KOffice plugin. Enabled support for GStreamer and NPP. The man page has been moved to the main tree. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- ubuntu/_base/applications/kmplayer/debian/control | 18 ++- .../kmplayer/debian/kmplayer-base-trinity.install | 22 ++-- .../kmplayer-koffice-plugins-trinity.install | 3 + .../debian/kmplayer-konq-plugins-trinity.install | 6 +- .../kmplayer/debian/kmplayer-trinity-doc.install | 2 +- .../kmplayer/debian/kmplayer-trinity.install | 9 +- .../kmplayer/debian/kmplayer-trinity.menu | 6 + .../kmplayer/debian/kmplayer.1.docbook | 122 --------------------- ubuntu/_base/applications/kmplayer/debian/menu | 6 - ubuntu/_base/applications/kmplayer/debian/rules | 50 ++------- ubuntu/_base/applications/kmplayer/debian/watch | 4 - 11 files changed, 55 insertions(+), 193 deletions(-) create mode 100644 ubuntu/_base/applications/kmplayer/debian/kmplayer-koffice-plugins-trinity.install create mode 100644 ubuntu/_base/applications/kmplayer/debian/kmplayer-trinity.menu delete mode 100644 ubuntu/_base/applications/kmplayer/debian/kmplayer.1.docbook delete mode 100644 ubuntu/_base/applications/kmplayer/debian/menu delete mode 100644 ubuntu/_base/applications/kmplayer/debian/watch (limited to 'ubuntu/_base/applications') diff --git a/ubuntu/_base/applications/kmplayer/debian/control b/ubuntu/_base/applications/kmplayer/debian/control index a896e20d9..aa262ac4e 100644 --- a/ubuntu/_base/applications/kmplayer/debian/control +++ b/ubuntu/_base/applications/kmplayer/debian/control @@ -4,11 +4,11 @@ Priority: optional Maintainer: Timothy Pearson XSBC-Original-Maintainer: Debian KDE Extras Team Uploaders: Fathi Boudra , Mark Purcell -Build-Depends: cdbs, debhelper (>= 9~), quilt, tdelibs14-trinity-dev, - libcairo2-dev, libdbus-1-dev, libdbus-glib-1-dev, libdbus-tqt-1-dev, +Build-Depends: cdbs, debhelper (>= 9~), quilt, cmake, tdelibs14-trinity-dev, + libnspr4-dev, libcairo2-dev, libdbus-1-dev, libdbus-glib-1-dev, libdbus-tqt-1-dev, libgstreamer-plugins-base1.0-dev | libgstreamer-plugins-base0.10-dev, - libgtk2.0-dev, libxine2-dev | libxine-dev, libxv-dev, docbook2x, - automake, autoconf, libtool, libltdl-dev + libgtk2.0-dev, libxine2-dev | libxine-dev, libxv-dev, libxtst-dev, + koffice-trinity-dev Standards-Version: 3.8.4 Homepage: http://kmplayer.kde.org @@ -58,6 +58,16 @@ Description: KMPlayer plugin for TDEHTML/Konqueror [Trinity] tv or radio. It mimics QuickTime, MS Media Player and RealPlayer plugin browser plugins. +Package: kmplayer-koffice-plugins-trinity +Architecture: any +Section: tde +Depends: ${shlibs:Depends}, kmplayer-base-trinity (= ${binary:Version}) +Description: KMPlayer plugin for KOffice [Trinity] + This plugin enables audio/video playback inside KOffice, using Xine (with + *kxineplayer) or GStreamer (with *kgstplayer), such as movie trailers, web + tv or radio. It mimics QuickTime, MS Media Player and RealPlayer plugin + browser plugins. + Package: kmplayer-trinity-doc Architecture: all Section: tde diff --git a/ubuntu/_base/applications/kmplayer/debian/kmplayer-base-trinity.install b/ubuntu/_base/applications/kmplayer/debian/kmplayer-base-trinity.install index 7e7f44aec..0bf23d0be 100644 --- a/ubuntu/_base/applications/kmplayer/debian/kmplayer-base-trinity.install +++ b/ubuntu/_base/applications/kmplayer/debian/kmplayer-base-trinity.install @@ -2,14 +2,14 @@ opt/trinity/lib/libkmplayercommon.so opt/trinity/lib/libkmplayercommon.la opt/trinity/bin/kxineplayer etc/trinity/kmplayerrc -/opt/trinity/share/apps/kmplayer/bookmarks.xml -/opt/trinity/share/apps/kmplayer/noise.gif -/opt/trinity/share/mimelnk/application/x-kmplayer.desktop -/opt/trinity/share/mimelnk/video/x-ms-wmp.desktop -/opt/trinity/share/icons/hicolor/16x16/apps/kmplayer.png -/opt/trinity/share/icons/hicolor/22x22/apps/kmplayer.png -/opt/trinity/share/icons/hicolor/32x32/apps/kmplayer.png -/opt/trinity/share/icons/hicolor/48x48/apps/kmplayer.png -/opt/trinity/share/icons/hicolor/64x64/apps/kmplayer.png -/opt/trinity/share/icons/hicolor/128x128/apps/kmplayer.png -/opt/trinity/share/icons/hicolor/scalable/apps/kmplayer.svgz +opt/trinity/share/apps/kmplayer/bookmarks.xml +opt/trinity/share/apps/kmplayer/noise.gif +opt/trinity/share/mimelnk/application/x-kmplayer.desktop +opt/trinity/share/mimelnk/video/x-ms-wmp.desktop +opt/trinity/share/icons/hicolor/16x16/apps/kmplayer.png +opt/trinity/share/icons/hicolor/22x22/apps/kmplayer.png +opt/trinity/share/icons/hicolor/32x32/apps/kmplayer.png +opt/trinity/share/icons/hicolor/48x48/apps/kmplayer.png +opt/trinity/share/icons/hicolor/64x64/apps/kmplayer.png +opt/trinity/share/icons/hicolor/128x128/apps/kmplayer.png +opt/trinity/share/icons/hicolor/scalable/apps/kmplayer.svgz diff --git a/ubuntu/_base/applications/kmplayer/debian/kmplayer-koffice-plugins-trinity.install b/ubuntu/_base/applications/kmplayer/debian/kmplayer-koffice-plugins-trinity.install new file mode 100644 index 000000000..67b3b3293 --- /dev/null +++ b/ubuntu/_base/applications/kmplayer/debian/kmplayer-koffice-plugins-trinity.install @@ -0,0 +1,3 @@ +opt/trinity/lib/trinity/libkmplayerkofficepart.la +opt/trinity/lib/trinity/libkmplayerkofficepart.so +opt/trinity/share/services/kmplayer_koffice.desktop diff --git a/ubuntu/_base/applications/kmplayer/debian/kmplayer-konq-plugins-trinity.install b/ubuntu/_base/applications/kmplayer/debian/kmplayer-konq-plugins-trinity.install index 4590b56f4..25d58e803 100644 --- a/ubuntu/_base/applications/kmplayer/debian/kmplayer-konq-plugins-trinity.install +++ b/ubuntu/_base/applications/kmplayer/debian/kmplayer-konq-plugins-trinity.install @@ -1,5 +1,5 @@ opt/trinity/lib/trinity/libkmplayerpart.so opt/trinity/lib/trinity/libkmplayerpart.la -/opt/trinity/share/apps/kmplayer/kmplayerpartui.rc -/opt/trinity/share/apps/kmplayer/pluginsinfo -/opt/trinity/share/services/kmplayer_part.desktop +opt/trinity/share/apps/kmplayer/kmplayerpartui.rc +opt/trinity/share/apps/kmplayer/pluginsinfo +opt/trinity/share/services/kmplayer_part.desktop diff --git a/ubuntu/_base/applications/kmplayer/debian/kmplayer-trinity-doc.install b/ubuntu/_base/applications/kmplayer/debian/kmplayer-trinity-doc.install index 9b26532f3..21ee04d88 100644 --- a/ubuntu/_base/applications/kmplayer/debian/kmplayer-trinity-doc.install +++ b/ubuntu/_base/applications/kmplayer/debian/kmplayer-trinity-doc.install @@ -1 +1 @@ -/opt/trinity/share/doc/* +opt/trinity/share/doc/* diff --git a/ubuntu/_base/applications/kmplayer/debian/kmplayer-trinity.install b/ubuntu/_base/applications/kmplayer/debian/kmplayer-trinity.install index f27e64ad7..ac07b829a 100644 --- a/ubuntu/_base/applications/kmplayer/debian/kmplayer-trinity.install +++ b/ubuntu/_base/applications/kmplayer/debian/kmplayer-trinity.install @@ -1,7 +1,10 @@ opt/trinity/lib/libtdeinit_kmplayer.so opt/trinity/lib/trinity/kmplayer.so +opt/trinity/bin/kgstplayer opt/trinity/bin/kmplayer +opt/trinity/bin/knpplayer opt/trinity/bin/kxvplayer -/opt/trinity/share/apps/kmplayer/kmplayerui.rc -/opt/trinity/share/applications/tde/kmplayer.desktop -/opt/trinity/share/locale +opt/trinity/share/apps/kmplayer/kmplayerui.rc +opt/trinity/share/applications/tde/kmplayer.desktop +opt/trinity/share/locale +opt/trinity/share/man diff --git a/ubuntu/_base/applications/kmplayer/debian/kmplayer-trinity.menu b/ubuntu/_base/applications/kmplayer/debian/kmplayer-trinity.menu new file mode 100644 index 000000000..792ed1a5b --- /dev/null +++ b/ubuntu/_base/applications/kmplayer/debian/kmplayer-trinity.menu @@ -0,0 +1,6 @@ +?package(kmplayer-trinity):\ + needs="X11"\ + section="Applications/Video"\ + hints="TDE"\ + title="Kmplayer"\ + command="/opt/trinity/bin/kmplayer" diff --git a/ubuntu/_base/applications/kmplayer/debian/kmplayer.1.docbook b/ubuntu/_base/applications/kmplayer/debian/kmplayer.1.docbook deleted file mode 100644 index dabfff5f0..000000000 --- a/ubuntu/_base/applications/kmplayer/debian/kmplayer.1.docbook +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - Jonathan Patrick - Davies - jpatrick@kubuntu.org - - - 2006-2007 - Jonathan Patrick Davies - - - - 2007-11-03 - - - - kmplayer - 1 - - - kmplayer - a media player for TDE - - - - kmplayer - - - - - - - - - - DESCRIPTION - - KMPlayer is a basic audio/video viewer application for TDE.
-
- KMPlayer can:
- * play DVD (DVDNav only with the Xine player).
- * play VCD.
- * let the backend players play from a pipe (read from stdin).
- * play from a TV device (experimental).
- * show backend player's console output.
- * launch ffserver (only 0.4.8 works) when viewing from a v4l device.
- * DCOP KMediaPlayer interface support.
- * VDR viewer frontend (with *kxvplayer), configure VDR keys with standard TDE
- shortcut configure window.
- * Lots of configurable shortcuts. Highly recommended for the VDR keys
- (if you have VDR) and volume increase/decrease.
-
-
- - OPTIONS - - All TDE and Qt - programs accept a some common command-line options. KMPlayer has no - application-specific options. - - - - Generic options: - - - Show help about options - - - - Show Qt specific options - - - - Show TDE specific options - - - - Show all options - - - - Show author information - - - , - Show version information - - - - Show license information - - - - Indicates end of options - - - - - - - COPYRIGHT - - This manual page was written by Jonathan Patrick Davies - jpatrick@kubuntu.org for the - Ubuntu system (but may be used by others). - Permission is granted to copy, distribute and/or modify this document - under the terms of the GNU General Public License, - Version 2 or any later version published by the Free Software Foundation. - - - On Debian systems, the complete text of the GNU General Public - License can be found in - /usr/share/common-licenses/GPL. - - -
diff --git a/ubuntu/_base/applications/kmplayer/debian/menu b/ubuntu/_base/applications/kmplayer/debian/menu deleted file mode 100644 index 792ed1a5b..000000000 --- a/ubuntu/_base/applications/kmplayer/debian/menu +++ /dev/null @@ -1,6 +0,0 @@ -?package(kmplayer-trinity):\ - needs="X11"\ - section="Applications/Video"\ - hints="TDE"\ - title="Kmplayer"\ - command="/opt/trinity/bin/kmplayer" diff --git a/ubuntu/_base/applications/kmplayer/debian/rules b/ubuntu/_base/applications/kmplayer/debian/rules index a972956aa..18aa16b96 100755 --- a/ubuntu/_base/applications/kmplayer/debian/rules +++ b/ubuntu/_base/applications/kmplayer/debian/rules @@ -1,47 +1,19 @@ #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/cmake.mk include debian/cdbs/debian-tde.mk -DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde -DEB_CONFIGURE_MANDIR := /opt/trinity/share/man -DEB_CONFIGURE_PREFIX := /opt/trinity -DEB_CONFIGURE_INFODIR := /opt/trinity/share/info - -cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug) - -_P=) -GCC_VERSION := $(shell gcc --version | sed -n "/^gcc/s/^[^$(_P)]*$(_P) \(.\..\).*/\1/p") -ifeq ($(GCC_VERSION),4.3) - CXX = g++ -fpermissive -endif - -DEB_CONFIGURE_EXTRA_FLAGS := --enable-maintainer-mode --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde -DEB_DH_INSTALL_ARGS = --sourcedir=debian/tmp -DEB_INSTALL_MANPAGES_kmplayer = kmplayer.1 - DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) -post-patches:: debian/stamp-bootstrap - -debian/stamp-bootstrap: -ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" "" - cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh -endif -ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" "" - cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh -endif -ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" "" - cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh -endif - cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in - - make -f admin/Makefile.common cvs - touch debian/stamp-bootstrap - -build/kmplayer-trinity:: - docbook2x-man debian/kmplayer.1.docbook - -clean:: - rm -f kmplayer.1 +DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ + -DCONFIG_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc/trinity" \ + -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_VERBOSE_MAKEFILE="ON" \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DBUILD_ALL="ON" \ + -DWITH_ALL_OPTIONS="ON" diff --git a/ubuntu/_base/applications/kmplayer/debian/watch b/ubuntu/_base/applications/kmplayer/debian/watch deleted file mode 100644 index d809e2ca1..000000000 --- a/ubuntu/_base/applications/kmplayer/debian/watch +++ /dev/null @@ -1,4 +0,0 @@ -# debian/watch file for KMPlayer. -version=3 - -http://kmplayer.kde.org/pkgs/kmplayer-(.*)\.tar\.bz2 -- cgit v1.2.1