blob: 1fcf238199f4fa3ac075c26c8c454b5af4d686df (
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
45
46
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
KDE_LINGUAS="bg cs de el es fr hu pl pt_BR ru sr sr@latin uk"
KDE_LINGUAS_LIVE_OVERRIDE="true"
inherit kde4-base
DESCRIPTION="Text-based subtitles editor"
HOMEPAGE="https://github.com/maxrd2/subtitlecomposer"
SRC_URI="https://github.com/maxrd2/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="amd64 x86"
SLOT="4"
IUSE="debug gstreamer unicode xine"
RDEPEND="
media-libs/phonon[qt4]
gstreamer? ( media-libs/gstreamer:0.10 )
unicode? ( dev-libs/icu:= )
xine? ( media-libs/xine-lib )
"
DEPEND="${RDEPEND}
sys-devel/gettext
"
src_configure() {
mycmakeargs=(
$(cmake-utils_use_with gstreamer GStreamer)
$(cmake-utils_use_with unicode ICU)
$(cmake-utils_use_with xine)
)
kde4-base_src_configure
}
pkg_postinst() {
kde4-base_pkg_postinst
echo
elog "Some example scripts provided by ${PV} require dev-lang/ruby"
elog "or dev-lang/python to be installed."
echo
}
|