diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-02-05 17:13:26 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-02-05 17:13:26 +0000 |
commit | e75b91d4a9a54acef91c325275aadd00ab8da302 (patch) | |
tree | dbbb6da31a043a6b4b8f4dfac041c9661f6c693b /media-tv | |
parent | Move here the code to reduce the number of translations and documentation bui... (diff) | |
download | gentoo-2-e75b91d4a9a54acef91c325275aadd00ab8da302.tar.gz gentoo-2-e75b91d4a9a54acef91c325275aadd00ab8da302.tar.bz2 gentoo-2-e75b91d4a9a54acef91c325275aadd00ab8da302.zip |
Make use of the new support in kde eclass to set the translations and documentation, this means that with empty $LINGUAS you'll get every translation instead. Add -fno-strict-aliasing as the code dereferences type-punned pointers.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/kdetv/ChangeLog | 8 | ||||
-rw-r--r-- | media-tv/kdetv/kdetv-0.8.8-r1.ebuild | 23 |
2 files changed, 15 insertions, 16 deletions
diff --git a/media-tv/kdetv/ChangeLog b/media-tv/kdetv/ChangeLog index e4d714e37b2e..5bd5c0c95e21 100644 --- a/media-tv/kdetv/ChangeLog +++ b/media-tv/kdetv/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-tv/kdetv # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/kdetv/ChangeLog,v 1.20 2006/01/26 12:39:15 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/kdetv/ChangeLog,v 1.21 2006/02/05 17:13:26 flameeyes Exp $ + + 05 Feb 2006; Diego Pettenò <flameeyes@gentoo.org> kdetv-0.8.8-r1.ebuild: + Make use of the new support in kde eclass to set the translations and + documentation, this means that with empty $LINGUAS you'll get every + translation instead. Add -fno-strict-aliasing as the code dereferences + type-punned pointers. 26 Jan 2006; Diego Pettenò <flameeyes@gentoo.org> +files/kdetv-0.8.8-bindnow.patch, kdetv-0.8.8-r1.ebuild: 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 } |