summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-01-31 10:38:29 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-01-31 10:38:29 +0000
commitc5630a86f6161afa16b6bfd8cbddbd46c40cf745 (patch)
tree8a659b345a406ef4688f644ca82625a3d26be730 /media-sound
parentFor safety, run elibtoolize after finishing eautoreconf, so that if people ru... (diff)
downloadgentoo-2-c5630a86f6161afa16b6bfd8cbddbd46c40cf745.tar.gz
gentoo-2-c5630a86f6161afa16b6bfd8cbddbd46c40cf745.tar.bz2
gentoo-2-c5630a86f6161afa16b6bfd8cbddbd46c40cf745.zip
Make kioslaves an optional dependency on kde useflag, and add a notice about it on postinst.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/amarok/ChangeLog6
-rw-r--r--media-sound/amarok/amarok-1.3.8.ebuild21
2 files changed, 19 insertions, 8 deletions
diff --git a/media-sound/amarok/ChangeLog b/media-sound/amarok/ChangeLog
index fa9a09992dc2..fbf58fea8d51 100644
--- a/media-sound/amarok/ChangeLog
+++ b/media-sound/amarok/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/amarok
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v 1.100 2006/01/30 10:15:07 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v 1.101 2006/01/31 10:38:29 flameeyes Exp $
+
+ 31 Jan 2006; Diego Pettenò <flameeyes@gentoo.org> amarok-1.3.8.ebuild:
+ Make kioslaves an optional dependency on kde useflag, and add a notice about
+ it on postinst.
30 Jan 2006; Diego Pettenò <flameeyes@gentoo.org> amarok-1.3.8.ebuild:
Add dependency over kdemultimedia or kdemultimedia-kioslaves, for audiocd:/
diff --git a/media-sound/amarok/amarok-1.3.8.ebuild b/media-sound/amarok/amarok-1.3.8.ebuild
index 742658df50dc..d9def4ca20de 100644
--- a/media-sound/amarok/amarok-1.3.8.ebuild
+++ b/media-sound/amarok/amarok-1.3.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-1.3.8.ebuild,v 1.2 2006/01/30 10:15:08 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-1.3.8.ebuild,v 1.3 2006/01/31 10:38:29 flameeyes Exp $
inherit kde eutils flag-o-matic
@@ -16,10 +16,11 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="arts flac gstreamer kde mp3 mysql noamazon opengl postgres xine xmms
visualization vorbis musicbrainz"
-# kde: enables compilation of the konqueror sidebar plugin
+# kde: enables compilation of the konqueror sidebar plugin and brings in
+# kioslaves for audiocd support
-DEPEND="kde? ( || ( kde-base/konqueror kde-base/kdebase ) )
- || ( kde-base/kdemultimedia-kioslaves kde-base/kdemultimedia )
+DEPEND="kde? ( || ( kde-base/konqueror kde-base/kdebase )
+ || ( kde-base/kdemultimedia-kioslaves kde-base/kdemultimedia ) )
arts? ( kde-base/arts
|| ( kde-base/kdemultimedia-arts kde-base/kdemultimedia ) )
xine? ( >=media-libs/xine-lib-1_rc4 )
@@ -68,14 +69,14 @@ pkg_setup() {
src_unpack() {
kde_src_unpack
- LANGS="$(ls ${S}/po | grep -v Makefile)"
- LANGS_DOC="$(ls ${S}/doc | grep -v Makefile)"
+ LANGS="az be bg br ca cs cy da de el en_GB eo es et fi fr ga gl he hi hr hu id is it ja ko ku lo lt nb nds nl nn pa pl pt pt_BR ro ru se sl sq sr sr@Latn ss sv ta tg th tr uk uz zh_CN zh_TW"
+ LANGS_DOC="da de et fr it nl pt pt_BR 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))
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} amarok:" ${S}/doc/Makefile.am || die "sed for locale failed"
+ sed -i -r -e "s:^SUBDIRS =.*:SUBDIRS = \. ${MAKE_DOC} ${PN}:" ${S}/doc/Makefile.am || die "sed for locale failed"
rm -f ${S}/configure
}
@@ -115,3 +116,9 @@ src_install() {
${D}/usr/share/icons || die
}
+pkg_postinst() {
+ if ! use kde; then
+ einfo "Audio CDs won't be played unless you install kdebase-kioslaves."
+ einfo "If you want to bring them in, add kde useflag."
+ fi
+}