diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-11-12 22:52:09 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-11-12 22:53:26 +0100 |
commit | cb4d4d4773601fc883c25e8675279e4858367a4d (patch) | |
tree | 62d726838858a2c0b2fa960224fdc090e33dfdff /media-video/kmplayer | |
parent | profiles: powerpc: Drop obsolete dev-qt/qtwebengine related masks (diff) | |
download | gentoo-cb4d4d4773601fc883c25e8675279e4858367a4d.tar.gz gentoo-cb4d4d4773601fc883c25e8675279e4858367a4d.tar.bz2 gentoo-cb4d4d4773601fc883c25e8675279e4858367a4d.zip |
media-video/kmplayer: Drop dead IUSE=npp to fix CI
Bug: https://bugs.gentoo.org/754192
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-video/kmplayer')
-rw-r--r-- | media-video/kmplayer/kmplayer-0.12.0b-r4.ebuild | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/media-video/kmplayer/kmplayer-0.12.0b-r4.ebuild b/media-video/kmplayer/kmplayer-0.12.0b-r4.ebuild new file mode 100644 index 000000000000..6feb296bfb3c --- /dev/null +++ b/media-video/kmplayer/kmplayer-0.12.0b-r4.ebuild @@ -0,0 +1,78 @@ +# 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" + +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-4.11.0 + x11-libs/libX11 + x11-libs/libxcb + cairo? ( x11-libs/cairo[X,xcb(+)] ) +" +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 +} + +src_configure() { + # 0.12: expat build broken, check in later releases + local mycmakeargs=( + -DKMPLAYER_BUILT_WITH_EXPAT=OFF + -DKMPLAYER_BUILT_WITH_NPP=OFF + -DKMPLAYER_BUILT_WITH_CAIRO=$(usex cairo) + ) + ecm_src_configure +} |