diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-08-16 09:37:17 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-08-16 10:24:19 +0200 |
commit | 6ba7e69a3bcedb44a9b5389139256ff6637021b4 (patch) | |
tree | 657885ade51c44c78e3d12fbbbe861c9d0cf443b /media-video | |
parent | media-video/kmplayer: EAPI-7 bump, drop obsolete blocker (diff) | |
download | gentoo-6ba7e69a3bcedb44a9b5389139256ff6637021b4.tar.gz gentoo-6ba7e69a3bcedb44a9b5389139256ff6637021b4.tar.bz2 gentoo-6ba7e69a3bcedb44a9b5389139256ff6637021b4.zip |
media-video/kmplayer: Drop 0.12.0b-r1
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/kmplayer/kmplayer-0.12.0b-r1.ebuild | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/media-video/kmplayer/kmplayer-0.12.0b-r1.ebuild b/media-video/kmplayer/kmplayer-0.12.0b-r1.ebuild deleted file mode 100644 index bb6d4b92d3e4..000000000000 --- a/media-video/kmplayer/kmplayer-0.12.0b-r1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -KDE_HANDBOOK="true" -inherit kde5 - -DESCRIPTION="Video player plugin for Konqueror and basic MPlayer frontend" -HOMEPAGE="https://kmplayer.kde.org" -SRC_URI="mirror://kde/stable/${PN}/${EGIT_BRANCH}/${P}.tar.bz2" - -LICENSE="GPL-2 FDL-1.2 LGPL-2.1" -KEYWORDS="amd64 x86" -IUSE="cairo npp" - -CDEPEND=" - $(add_frameworks_dep kbookmarks) - $(add_frameworks_dep kcompletion) - $(add_frameworks_dep kconfig) - $(add_frameworks_dep kconfigwidgets) - $(add_frameworks_dep kcoreaddons) - $(add_frameworks_dep kdelibs4support) - $(add_frameworks_dep ki18n) - $(add_frameworks_dep kiconthemes) - $(add_frameworks_dep kio) - $(add_frameworks_dep kmediaplayer) - $(add_frameworks_dep kparts) - $(add_frameworks_dep ktextwidgets) - $(add_frameworks_dep kwidgetsaddons) - $(add_frameworks_dep kxmlgui) - $(add_qt_dep qtdbus) - $(add_qt_dep qtgui) - $(add_qt_dep qtsvg) - $(add_qt_dep qtwidgets) - $(add_qt_dep qtx11extras) - $(add_qt_dep qtxml) - media-libs/phonon[qt5(+)] - x11-libs/libX11 - x11-libs/libxcb - cairo? ( x11-libs/cairo[xcb] ) - npp? ( - dev-libs/dbus-glib - dev-libs/glib:2 - www-plugins/adobe-flash:* - >=x11-libs/gtk+-2.10.14:2 - ) -" -DEPEND="${CDEPEND} - sys-devel/gettext -" -RDEPEND="${CDEPEND} - media-video/mplayer - !media-video/kmplayer:4 -" - -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 - kde5_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) - ) - - kde5_src_configure -} - -src_install() { - kde5_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/$(get_libdir)/nsbrowser/plugins/libflashplayer.so - fi -} |