summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv/kdetv/kdetv-0.8.7.ebuild')
-rw-r--r--media-tv/kdetv/kdetv-0.8.7.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/media-tv/kdetv/kdetv-0.8.7.ebuild b/media-tv/kdetv/kdetv-0.8.7.ebuild
new file mode 100644
index 000000000000..ce7f85f4ea1c
--- /dev/null
+++ b/media-tv/kdetv/kdetv-0.8.7.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/kdetv/kdetv-0.8.7.ebuild,v 1.1 2005/05/01 13:47:53 carlo Exp $
+
+inherit kde
+
+DESCRIPTION="A TV application for KDE"
+HOMEPAGE="http://www.kwintv.org/"
+SRC_URI="http://dziegel.free.fr/releases/${P}.tar.bz2"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE="arts lirc"
+
+DEPEND=">=media-libs/zvbi-0.2.4"
+need-kde 3.2
+
+
+src_unpack() {
+ LANGS="bg br ca cs cy da de en_GB es et fi fr ga gl hu is it lt nb nl pl pt pt_BR ro ru sr sv ta tr"
+ #LANGS_DOC="fr it nl pt ru sv"
+
+ MAKE_PO=$(echo "${LINGUAS} ${LANGS}" | fmt -w 1 | sort | uniq -d | fmt -w 10000)
+ #MAKE_DOC=$(echo "${LINGUAS} ${LANGS_DOC}" | fmt -w 1 | sort | uniq -d | fmt -w 10000)
+
+ kde_src_unpack
+ sed -i -r -e "s:^SUBDIRS =.*:SUBDIRS = ${MAKE_PO}:" ${S}/po/Makefile.in || die "sed for locale failed"
+ #sed -i -r -e "s:^SUBDIRS =.*:SUBDIRS = \. ${MAKE_DOC} kdetv:" ${S}/doc/Makefile.in || die "sed for locale failed"
+}
+
+src_compile() {
+ local myconf="$(use_enable arts) $(use_enable lirc kdetv-lirc)"
+ kde_src_compile all
+}