From 77d5468f2bf1a6b9ba3b7fc490350865e2eabdbb Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Mon, 21 Sep 2020 21:16:46 +0200 Subject: trinity-apps/kaffeine: Add missing metadata.xml - Sort IUSE, DEPENDs - Fix RDEPEND suspect - local mycmakeargs Package-Manager: Portage-3.0.8, Repoman-3.0.1 RepoMan-Options: --force Signed-off-by: Andreas Sturmlechner --- trinity-apps/kaffeine/kaffeine-9999.ebuild | 26 ++++++++++++++------------ trinity-apps/kaffeine/metadata.xml | 11 +++++++++++ 2 files changed, 25 insertions(+), 12 deletions(-) create mode 100644 trinity-apps/kaffeine/metadata.xml (limited to 'trinity-apps/kaffeine') diff --git a/trinity-apps/kaffeine/kaffeine-9999.ebuild b/trinity-apps/kaffeine/kaffeine-9999.ebuild index d6ec943a..83067446 100644 --- a/trinity-apps/kaffeine/kaffeine-9999.ebuild +++ b/trinity-apps/kaffeine/kaffeine-9999.ebuild @@ -1,7 +1,9 @@ +# Copyright 1999-2020 Gentoo Authors # Copyright 2020 The Trinity Desktop Project # Distributed under the terms of the GNU General Public License v2 EAPI="7" + TRINITY_MODULE_TYPE="applications" TRINITY_EXTRAGEAR_PACKAGING="yes" @@ -10,40 +12,40 @@ TRINITY_HANDBOOK="optional" TRINITY_LANGS="ar bg bn br ca cs da de el es et fi fr ga gl he hu it ja ka km lt mk nb nl nn pa pl pt pt_BR ru se sk sr sr@Latn sv tg tr uk uz zh_CN zh_TW" - inherit trinity-base-2 DESCRIPTION="Media player for TDE using Xine and GStreamer backends." HOMEPAGE="https://trinitydesktop.org/" -LICENSE="|| ( GPL-2 GPL-3 )" need-trinity +LICENSE="|| ( GPL-2 GPL-3 )" SLOT="${TRINITY_VER}" - -IUSE+=" dvb dpms gstreamer vorbis encode xcb xinerama" +IUSE+=" dpms dvb encode gstreamer vorbis xcb xinerama" # As of April 2020 Kaffeine can be only build with xinerama support. -# If that is fixed, the build option will be optional again. +# Once that is fixed, the build option will be optional again. -DEPEND+=" - x11-base/xorg-proto - media-libs/xine-lib +RDEPEND+=" dev-libs/libcdio + media-libs/xine-lib + x11-base/xorg-proto x11-libs/libXtst + encode? ( media-sound/lame ) gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base[X] ) - encode? ( media-sound/lame ) vorbis? ( media-libs/libvorbis ) xcb? ( x11-libs/libxcb ) xinerama? ( x11-libs/libXinerama ) - dvb? ( virtual/linuxtv-dvb-headers )" -RDEPEND+=" ${DEPEND}" +" +DEPEND+=" ${RDEPEND} + dvb? ( virtual/linuxtv-dvb-headers ) +" src_configure() { - mycmakeargs=( + local mycmakeargs=( -DBUILD_TRANSLATIONS=ON -DWITH_XTEST=ON -DWITH_DPMS="$(usex dpms)" diff --git a/trinity-apps/kaffeine/metadata.xml b/trinity-apps/kaffeine/metadata.xml new file mode 100644 index 00000000..427bd0e5 --- /dev/null +++ b/trinity-apps/kaffeine/metadata.xml @@ -0,0 +1,11 @@ + + + + + fatzer2@gmail.com + Alexander Golubev + + + Enable support for DPMS (no extra dependencies) + + -- cgit v1.2.1