summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-11-12 22:50:32 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-11-12 22:53:27 +0100
commit7878d13e136aab6917e509fc6a6c2ea242f3710c (patch)
tree86a2efe2b317193bc6a3e2289250fcc6c5501416 /media-video
parentmedia-video/kmplayer: Drop dead IUSE=npp to fix CI (diff)
downloadgentoo-7878d13e136aab6917e509fc6a6c2ea242f3710c.tar.gz
gentoo-7878d13e136aab6917e509fc6a6c2ea242f3710c.tar.bz2
gentoo-7878d13e136aab6917e509fc6a6c2ea242f3710c.zip
media-video/kmplayer: Drop 0.12.0b-r3
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/kmplayer/kmplayer-0.12.0b-r3.ebuild105
-rw-r--r--media-video/kmplayer/metadata.xml3
2 files changed, 0 insertions, 108 deletions
diff --git a/media-video/kmplayer/kmplayer-0.12.0b-r3.ebuild b/media-video/kmplayer/kmplayer-0.12.0b-r3.ebuild
deleted file mode 100644
index d4f070f6b180..000000000000
--- a/media-video/kmplayer/kmplayer-0.12.0b-r3.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ECM_HANDBOOK="true"
-KFMIN=5.60.0
-QTMIN=5.12.3
-inherit ecm kde.org
-
-DESCRIPTION="Video player plugin for Konqueror and basic MPlayer frontend"
-HOMEPAGE="https://kmplayer.kde.org
-https://apps.kde.org/en/kmplayer"
-
-if [[ ${KDE_BUILD_TYPE} = release ]]; then
- SRC_URI="mirror://kde/stable/${PN}/$(ver_cut 1-2)/${P}.tar.bz2"
- KEYWORDS="amd64 x86"
-fi
-
-LICENSE="GPL-2 FDL-1.2 LGPL-2.1"
-SLOT="5"
-IUSE="cairo npp"
-
-BDEPEND="
- sys-devel/gettext
-"
-DEPEND="
- >=dev-qt/qtdbus-${QTMIN}:5
- >=dev-qt/qtgui-${QTMIN}:5
- >=dev-qt/qtsvg-${QTMIN}:5
- >=dev-qt/qtwidgets-${QTMIN}:5
- >=dev-qt/qtx11extras-${QTMIN}:5
- >=dev-qt/qtxml-${QTMIN}:5
- >=kde-frameworks/kbookmarks-${KFMIN}:5
- >=kde-frameworks/kcompletion-${KFMIN}:5
- >=kde-frameworks/kconfig-${KFMIN}:5
- >=kde-frameworks/kconfigwidgets-${KFMIN}:5
- >=kde-frameworks/kcoreaddons-${KFMIN}:5
- >=kde-frameworks/kdelibs4support-${KFMIN}:5
- >=kde-frameworks/ki18n-${KFMIN}:5
- >=kde-frameworks/kiconthemes-${KFMIN}:5
- >=kde-frameworks/kio-${KFMIN}:5
- >=kde-frameworks/kmediaplayer-${KFMIN}:5
- >=kde-frameworks/kparts-${KFMIN}:5
- >=kde-frameworks/ktextwidgets-${KFMIN}:5
- >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
- >=kde-frameworks/kxmlgui-${KFMIN}:5
- media-libs/phonon[qt5(+)]
- x11-libs/libX11
- x11-libs/libxcb
- cairo? ( x11-libs/cairo[X,xcb(+)] )
- npp? (
- dev-libs/dbus-glib
- dev-libs/glib:2
- www-plugins/adobe-flash:*
- >=x11-libs/gtk+-2.10.14:2
- )
-"
-RDEPEND="${DEPEND}
- media-video/mplayer
-"
-
-PATCHES=(
- "${FILESDIR}"/${P}-schedulerepaint.patch
- "${FILESDIR}"/${P}-devpixelratio.patch
- "${FILESDIR}"/${P}-qfile.patch
- "${FILESDIR}"/${P}-cmake.patch
- "${FILESDIR}"/${P}-desktop.patch
- "${FILESDIR}"/${P}-qt-5.9.patch
- "${FILESDIR}"/${P}-qt-5.11b3.patch
-)
-
-src_prepare() {
- # Prerequisite for ${P}-desktop.patch:
- mv src/kmplayer.desktop src/org.kde.kmplayer.desktop || die
- ecm_src_prepare
-
- if use npp; then
- sed -i src/kmplayer_part.desktop \
- -e ":^MimeType: s:=:=application/x-shockwave-flash;:" || die
- fi
-}
-
-src_configure() {
- # 0.12: expat build broken, check in later releases
- local mycmakeargs=(
- -DKMPLAYER_BUILT_WITH_EXPAT=OFF
- -DKMPLAYER_BUILT_WITH_CAIRO=$(usex cairo)
- -DKMPLAYER_BUILT_WITH_NPP=$(usex npp)
- )
-
- ecm_src_configure
-}
-
-src_install() {
- ecm_src_install
-
- if use npp; then
- kwriteconfig5 --file "${ED}/usr/share/config/kmplayerrc" \
- --group "application/x-shockwave-flash" --key player npp
- kwriteconfig5 --file "${ED}/usr/share/config/kmplayerrc" \
- --group "application/x-shockwave-flash" \
- --key plugin /usr/lib/nsbrowser/plugins/libflashplayer.so
- fi
-}
diff --git a/media-video/kmplayer/metadata.xml b/media-video/kmplayer/metadata.xml
index d4fe1b93f0d5..e68bcea066c3 100644
--- a/media-video/kmplayer/metadata.xml
+++ b/media-video/kmplayer/metadata.xml
@@ -9,7 +9,4 @@
<email>media-video@gentoo.org</email>
<name>Gentoo Video project</name>
</maintainer>
- <use>
- <flag name="npp">Compile the npp backend that plays xembed style browser plugins.</flag>
- </use>
</pkgmetadata>