summaryrefslogtreecommitdiffstats
path: root/trinity-apps/kmplayer/kmplayer-9999.ebuild
blob: 8d7e7c0aaf55be2ef8eb10c564dc28d0a68ced34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright 2023 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="af ar be bg br bs ca csb cs cy da de el es et \
		fi fr ga gl he hi hu it ja ka lt mk nb nl pa \
		pt_BR pt ru rw sk sr sv ta th tr uk xh zh_CN \
		zh_TW zu"

TRINITY_DOC_LANGS="da de es et fr it nl pt ru sv"

TRINITY_MODULE_TYPE="applications/multimedia"
inherit trinity-base-2

DESCRIPTION="MPlayer - a simple media player for TDE"
HOMEPAGE="https://trinitydesktop.org/"

LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="14"
if [[ ${PV} != *9999* ]] ; then
	KEYWORDS="~amd64 ~x86"
fi
IUSE="gstreamer koffice xine"

DEPEND="media-video/ffmpeg
	media-video/mplayer
	koffice? ( ~trinity-apps/koffice-meta-${PV} )
	gstreamer? ( media-plugins/gst-plugins-meta )
	xine? ( media-libs/xine-lib )"
RDEPEND="${DEPEND}"

src_configure() {
	local mycmakeargs=(
		-DBUILD_TRANSLATIONS=ON
		-DBUILD_KOFFICE_PLUGIN="$(usex koffice)"
		-DBUILD_KXVPLAYER="$(usex gstreamer)"
		-DBUILD_KXINEPLAYER="$(usex xine)"
	)
	trinity-base-2_src_configure
}