summaryrefslogtreecommitdiffstats
path: root/trinity-apps/kaffeine
diff options
context:
space:
mode:
Diffstat (limited to 'trinity-apps/kaffeine')
-rw-r--r--trinity-apps/kaffeine/Manifest1
-rw-r--r--trinity-apps/kaffeine/kaffeine-14.0.13.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/trinity-apps/kaffeine/Manifest b/trinity-apps/kaffeine/Manifest
index c243fd22..619ce7bf 100644
--- a/trinity-apps/kaffeine/Manifest
+++ b/trinity-apps/kaffeine/Manifest
@@ -1 +1,2 @@
DIST kaffeine-trinity-14.0.12.tar.xz 2363008 BLAKE2B b832c1594404bd7862b04b54a43ae5996a5e4d05db3bebac4f11ce3e0e90106eb667ddda90c54a6334e13a9a663673a55c928df42680a552bc14a03961486e60 SHA512 23031fe41fe7972eac8b4e87c6d28c09cccc63f3216bd8e1fb7d19c63b76213903a052615d5023adab2f92fe5a9a0a60a916327fc94de1f9b0dc944acc168c9e
+DIST kaffeine-trinity-14.0.13.tar.xz 2363372 BLAKE2B 94ba2173276eaf7f517faf979bae318d0ccdcc2f0fa17cd75883090ee8cc83732055a0e94075542361b6ed1eb9abfbd98ef2495d44d47257b94f05ca7b4eb070 SHA512 e7b50d49507960d304a3819108de44737889724cb711826f1e5df1f804bde332bb674619733bb0f94ffd1997d8816d7bc7963cab4b7d4db2d22bc447dcc1fcf3
diff --git a/trinity-apps/kaffeine/kaffeine-14.0.13.ebuild b/trinity-apps/kaffeine/kaffeine-14.0.13.ebuild
new file mode 100644
index 00000000..4c1215c9
--- /dev/null
+++ b/trinity-apps/kaffeine/kaffeine-14.0.13.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Copyright 2022 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+TRINITY_EXTRAGEAR_PACKAGING="yes"
+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"
+TRINITY_MODULE_TYPE="applications/multimedia"
+inherit trinity-base-2
+
+DESCRIPTION="Media player for TDE using Xine and GStreamer backends."
+HOMEPAGE="https://trinitydesktop.org/"
+
+LICENSE="|| ( GPL-2 GPL-3 )"
+SLOT="14"
+if [[ ${PV} != *9999* ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+IUSE="dpms dvb encode gstreamer vorbis xcb xinerama"
+
+# As of April 2020 Kaffeine can be only build with xinerama support.
+# Once that is fixed, the build option will be optional again.
+
+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]
+ )
+ vorbis? ( media-libs/libvorbis )
+ xcb? ( x11-libs/libxcb )
+ xinerama? ( x11-libs/libXinerama )
+"
+DEPEND="${RDEPEND}
+ dvb? ( virtual/linuxtv-dvb-headers )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TRANSLATIONS=ON
+ -DWITH_XTEST=ON
+ -DWITH_DPMS="$(usex dpms)"
+ -DWITH_XINERAMA="$(usex xinerama)"
+ -DWITH_XCB="$(usex xcb)"
+ -DWITH_GSTREAMER="$(usex gstreamer)"
+ -DWITH_OGGVORBIS="$(usex vorbis)"
+ -DWITH_LAME="$(usex encode)"
+ -DWITH_DVB="$(usex dvb)"
+ )
+
+ trinity-base-2_src_configure
+}