summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv/kdetv/kdetv-0.8.8-r1.ebuild')
-rw-r--r--media-tv/kdetv/kdetv-0.8.8-r1.ebuild23
1 files changed, 8 insertions, 15 deletions
diff --git a/media-tv/kdetv/kdetv-0.8.8-r1.ebuild b/media-tv/kdetv/kdetv-0.8.8-r1.ebuild
index ad481cc92380..f31753f555ea 100644
--- a/media-tv/kdetv/kdetv-0.8.8-r1.ebuild
+++ b/media-tv/kdetv/kdetv-0.8.8-r1.ebuild
@@ -1,6 +1,11 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/kdetv/kdetv-0.8.8-r1.ebuild,v 1.5 2006/01/26 12:39:15 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/kdetv/kdetv-0.8.8-r1.ebuild,v 1.6 2006/02/05 17:13:26 flameeyes Exp $
+
+LANGS="bg ca br da de cs cy el es et fi ga fr gl hu is it lt nb mt nl pa pl pt ro ru rw ta sr sv tr en_GB pt_BR zh_CN sr@Latn"
+LANGS_DOC="da et fr it nl pt ru sv"
+
+USE_KEG_PACKAGING=1
inherit kde flag-o-matic
@@ -41,24 +46,12 @@ need-kde 3.2
PATCHES="${FILESDIR}/${P}-xinerama.patch
${FILESDIR}/${P}-bindnow.patch"
-src_unpack() {
- LANGS="bg ca br da de cs cy el es et fi ga fr gl hu is it lt nb mt nl pa pl pt ro ru rw ta sr sv tr en_GB pt_BR zh_CN sr@Latn"
- LANGS_DOC="da et fr it nl pt ru sv"
-
- MAKE_PO=$(echo $(echo "${LINGUAS} ${LANGS}" | fmt -w 1 | sort | uniq -d))
- MAKE_DOC=$(echo $(echo "${LINGUAS} ${LANGS_DOC}" | fmt -w 1 | sort | uniq -d))
-
- kde_src_unpack
- sed -i -r -e "s:^SUBDIRS =.*:SUBDIRS = ${MAKE_PO}:" ${S}/po/Makefile.am || die "sed for locale failed"
- sed -i -r -e "s:^SUBDIRS =.*:SUBDIRS = ${MAKE_DOC} kdetv:" ${S}/doc/Makefile.am || die "sed for locale failed"
-
- rm -f ${S}/configure
-}
-
src_compile() {
local myconf="$(use_enable arts) $(use_enable lirc kdetv-lirc)
$(use_with zvbi) $(use_with opengl gl)"
+ append-flags -fno-strict-aliasing
+
export BINDNOW_FLAGS="$(bindnow-flags)"
kde_src_compile all
}