forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-video/kmplayer: Version bump 0.12.0
Gentoo-bug: 584904 Package-Manager: portage-2.3.0_rc1
- Loading branch information
Showing
2 changed files
with
87 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST kmplayer-0.11.3d.tar.bz2 573173 SHA256 7ebecbc906edcc13e1ae94f4791da80ed4ef73164ef6b81d76c71708c39a6bfb SHA512 c2f0fa1864eecd9a0bf3039639aad41bc36bc6ff8742a8e9714c6df72dd4ee63f80c36036a0582ee8464b48ce22eb96814600ddb199c61fda0b87cfd4c457797 WHIRLPOOL 1a651d1dee10b0ee3609055d645835b4b19e5acf47df39a7773d297749407ea49c893e154f77013469ee4c23724c55ae8c2032b5ca00ddf8f560eb5feb8d1f12 | ||
DIST kmplayer-0.11.5.tar.bz2 684467 SHA256 074afea4187b1e5d2899940da558f584e0145fa6a3e9a5eca5c028d4ba516c09 SHA512 15b53eb3c9d1ac867bf762c8f7aa02bc3ecc813116db7b2aa87b2f9f3f0fc50c3fae5514dd92b18baf6fe16fe2f79ca7e9b64ea4fae13e341e5817be6e0ea729 WHIRLPOOL 6efc74f908c93d784c6e29c4052065c2f0bfb3be9353e8887a3f3008298ad10aa3f92751ed024be9e44161023ccbadbc69579c8d0bd50139c733b8fea7ec67db | ||
DIST kmplayer-0.12.0.tar.bz2 681672 SHA256 e927d541f106e8c079f8292fa36ddbbca09429a2bfc063a5fe068c760ce17d0e SHA512 8d062c05c26e4549dd32cca92b3d5a02cb717a7556a417efab8ae36da13338cef3ac809404d084ecb2666c42aa2cb68299427ffb674545653e6ae5c81156f5e9 WHIRLPOOL 1f1f92906c93dc7eede4a189b532491d7ea3764b62f62d98d4bcb16cb321a815dfdffdd9056fe6234af9e7ab126181bfad025f1e210c7d1231f16c474cb4ab46 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=6 | ||
|
||
EGIT_BRANCH="0.12" | ||
inherit kde5 | ||
|
||
DESCRIPTION="Video player plugin for Konqueror and basic MPlayer frontend" | ||
HOMEPAGE="https://kmplayer.kde.org" | ||
COMMIT_ID="266320addf9180b5733d9832f2b8796212c116b1" | ||
SRC_URI="https://quickgit.kde.org/?p=kmplayer.git&a=snapshot&h=${COMMIT_ID}&fmt=tbz2 -> ${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 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 ) | ||
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 | ||
" | ||
|
||
if [[ ${KDE_BUILD_TYPE} != live ]] ; then | ||
S="${WORKDIR}/${PN}" | ||
fi | ||
|
||
src_prepare() { | ||
use npp && epatch "${FILESDIR}/${PN}-flash.patch" | ||
|
||
kde5_src_prepare | ||
} | ||
|
||
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/lib/nsbrowser/plugins/libflashplayer.so | ||
fi | ||
} |