summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2004-11-19 21:47:53 +0000
committerCarsten Lohrke <carlo@gentoo.org>2004-11-19 21:47:53 +0000
commit8520408791f6fe27c2e42ec8ae02ed43467c6600 (patch)
tree40bb319428dab06cb0eaa8b241b07e9ae67b7d16 /media-tv/kdetv
parentwork in progress (Manifest recommit) (diff)
downloadgentoo-2-8520408791f6fe27c2e42ec8ae02ed43467c6600.tar.gz
gentoo-2-8520408791f6fe27c2e42ec8ae02ed43467c6600.tar.bz2
gentoo-2-8520408791f6fe27c2e42ec8ae02ed43467c6600.zip
a few more languages
Diffstat (limited to 'media-tv/kdetv')
-rw-r--r--media-tv/kdetv/ChangeLog5
-rw-r--r--media-tv/kdetv/kdetv-0.8.4.ebuild19
2 files changed, 18 insertions, 6 deletions
diff --git a/media-tv/kdetv/ChangeLog b/media-tv/kdetv/ChangeLog
index 9c0e341038e5..8b91b5871525 100644
--- a/media-tv/kdetv/ChangeLog
+++ b/media-tv/kdetv/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-tv/kdetv
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/kdetv/ChangeLog,v 1.8 2004/11/19 19:59:00 motaboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/kdetv/ChangeLog,v 1.9 2004/11/19 21:47:53 carlo Exp $
+
+ 19 Nov 2004; Carsten Lohrke <carlo@gentoo.org> kdetv-0.8.4.ebuild:
+ a few more languages
*kdetv-0.8.4 (19 Nov 2004)
diff --git a/media-tv/kdetv/kdetv-0.8.4.ebuild b/media-tv/kdetv/kdetv-0.8.4.ebuild
index 76d1143f42c9..a01524a279a9 100644
--- a/media-tv/kdetv/kdetv-0.8.4.ebuild
+++ b/media-tv/kdetv/kdetv-0.8.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/kdetv/kdetv-0.8.4.ebuild,v 1.1 2004/11/19 19:59:00 motaboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/kdetv/kdetv-0.8.4.ebuild,v 1.2 2004/11/19 21:47:53 carlo Exp $
inherit kde
@@ -17,11 +17,20 @@ DEPEND=">=media-libs/zvbi-0.2.4"
RDEPEND=">=media-libs/zvbi-0.2.4"
need-kde 3.2
-src_compile() {
- LANGS="bg ca cs da de en_GB es et fr hu is it nb nl pt pt_BR ro ru sv ta tr xx"
- MAKE_PO=$(echo "${LINGUAS} ${LANGS}" | fmt -w 1 | sort | uniq -d | fmt -w 1000)
- sed -ier "s:^SUBDIRS =.*:SUBDIRS = ${MAKE_PO}:" ${S}/po/Makefile.in
+src_unpack() {
+ LANGS="bg br ca cs cy da de en_GB es et fi fr ga gl hu is it nb nl pl pt pt_BR ro ru sr sv ta tr xx"
+ LANGS_DOC="it nl pt 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 -ier "s:^SUBDIRS =.*:SUBDIRS = ${MAKE_PO}:" ${S}/po/Makefile.in || die "sed for locale failed"
+ sed -ier "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
}