summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2007-08-13 17:19:09 +0000
committerWulf Krueger <philantrop@gentoo.org>2007-08-13 17:19:09 +0000
commitb709a2d263508f9649ab073eb4ede01017c8838a (patch)
treeaa76d7c267caed5f112095d78f342c05e1e47a71 /media-video/kmplayer
parentKeyword ~x86 and clean up a bit. (diff)
downloadgentoo-2-b709a2d263508f9649ab073eb4ede01017c8838a.tar.gz
gentoo-2-b709a2d263508f9649ab073eb4ede01017c8838a.tar.bz2
gentoo-2-b709a2d263508f9649ab073eb4ede01017c8838a.zip
Corrected LINGUAS handling to include the documentation. Should fix bug 187574 which I can't reproduce, though.
Added missing DEPEND on x11-libs/libXv. Fixed whitespace indentation in metadata.xml. (Portage version: 2.1.3.3)
Diffstat (limited to 'media-video/kmplayer')
-rw-r--r--media-video/kmplayer/ChangeLog8
-rw-r--r--media-video/kmplayer/kmplayer-0.9.4a-r1.ebuild13
-rw-r--r--media-video/kmplayer/metadata.xml4
3 files changed, 20 insertions, 5 deletions
diff --git a/media-video/kmplayer/ChangeLog b/media-video/kmplayer/ChangeLog
index 0cbdb36c17e9..95636f435645 100644
--- a/media-video/kmplayer/ChangeLog
+++ b/media-video/kmplayer/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/kmplayer
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/ChangeLog,v 1.101 2007/07/28 13:32:01 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/ChangeLog,v 1.102 2007/08/13 17:19:09 philantrop Exp $
+
+ 13 Aug 2007; Wulf C. Krueger <philantrop@gentoo.org> metadata.xml,
+ kmplayer-0.9.4a-r1.ebuild:
+ Corrected LINGUAS handling to include the documentation. Should fix bug
+ 187574 which I can't reproduce, though. Added missing DEPEND on
+ x11-libs/libXv. Fixed whitespace indentation in metadata.xml.
28 Jul 2007; Carsten Lohrke <carlo@gentoo.org>
-files/kmplayer-0.9.3-use32bitbin.diff, -kmplayer-0.9.3.ebuild,
diff --git a/media-video/kmplayer/kmplayer-0.9.4a-r1.ebuild b/media-video/kmplayer/kmplayer-0.9.4a-r1.ebuild
index 120a6f6772d0..c668ed0974f3 100644
--- a/media-video/kmplayer/kmplayer-0.9.4a-r1.ebuild
+++ b/media-video/kmplayer/kmplayer-0.9.4a-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/kmplayer-0.9.4a-r1.ebuild,v 1.6 2007/07/12 02:40:43 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/kmplayer-0.9.4a-r1.ebuild,v 1.7 2007/08/13 17:19:09 philantrop Exp $
inherit kde eutils
@@ -21,13 +21,16 @@ RDEPEND="mplayer? ( || ( media-video/mplayer media-video/mplayer-bin ) )
gstreamer? ( || ( =media-libs/gst-plugins-base-0.10* =media-libs/gst-plugins-0.8* ) )
cairo? ( x11-libs/cairo )"
-DEPEND="xine? ( >=media-libs/xine-lib-1.1.1 )
+DEPEND="x11-libs/libXv
+ xine? ( >=media-libs/xine-lib-1.1.1 )
gstreamer? ( || ( =media-libs/gst-plugins-base-0.10* =media-libs/gst-plugins-0.8* ) )
cairo? ( x11-libs/cairo )"
LANGS="ar br bs ca cs cy da de el en_GB es et fi fr ga gl he hi hu is it ja ka
lt mt nb nl pa pl pt_BR pt ro ru rw sk sr@Latn sr sv ta tr uk zh_CN"
+LANGS_DOC="da de en es et fr it nl pt ru sv"
+
for X in ${LANGS} ; do
IUSE="${IUSE} linguas_${X}"
done
@@ -58,6 +61,12 @@ src_unpack() {
for X in ${LANGS} ; do
use linguas_${X} || rm -f "${X}."*
done
+
+ MAKE_DOC=$(echo $(echo "${LINGUAS} ${LANGS_DOC}" | tr ' ' '\n' | sort | uniq -d))
+ [[ -n ${MAKE_DOC} ]] && [[ -n ${DOC_DIR_SUFFIX} ]] && MAKE_DOC=$(echo "${MAKE_DOC}" | tr '\n' ' ') && MAKE_DOC="${MAKE_DOC// /${DOC_DIR_SUFFIX} }"
+ sed -i -e "s:^SUBDIRS =.*:SUBDIRS = ${MAKE_DOC}:" \
+ "${KDE_S}/doc/Makefile.am" || die "sed for locale failed"
+
rm -f "${S}/configure"
}
diff --git a/media-video/kmplayer/metadata.xml b/media-video/kmplayer/metadata.xml
index bd9c49649eef..eb9370d24335 100644
--- a/media-video/kmplayer/metadata.xml
+++ b/media-video/kmplayer/metadata.xml
@@ -4,9 +4,9 @@
<herd>kde</herd>
<herd>video</herd>
<maintainer>
- <email>media-video@gentoo.org</email>
+ <email>media-video@gentoo.org</email>
</maintainer>
<maintainer>
- <email>kde@gentoo.org</email>
+ <email>kde@gentoo.org</email>
</maintainer>
</pkgmetadata>