summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2012-08-12 14:50:46 +0000
committerJohannes Huber <johu@gentoo.org>2012-08-12 14:50:46 +0000
commit7f883aefd428c6ce346f825b9534179deecc8196 (patch)
treea607a2f5d56cd45fc6affd1b143e1234211155c1 /kde-base
parentfix typo (diff)
downloadgentoo-2-7f883aefd428c6ce346f825b9534179deecc8196.tar.gz
gentoo-2-7f883aefd428c6ce346f825b9534179deecc8196.tar.bz2
gentoo-2-7f883aefd428c6ce346f825b9534179deecc8196.zip
Introduce canberra use flag to fix automagic dependencies wrt bug #430804 by Joost Ruis <joost.ruis@sabayonlinux.org>.
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/kmix/ChangeLog7
-rw-r--r--kde-base/kmix/kmix-4.9.0.ebuild8
-rw-r--r--kde-base/kmix/metadata.xml5
3 files changed, 14 insertions, 6 deletions
diff --git a/kde-base/kmix/ChangeLog b/kde-base/kmix/ChangeLog
index 0bd4b3cf2d72..6720cd2ed186 100644
--- a/kde-base/kmix/ChangeLog
+++ b/kde-base/kmix/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for kde-base/kmix
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kmix/ChangeLog,v 1.220 2012/08/07 11:04:25 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kmix/ChangeLog,v 1.221 2012/08/12 14:50:46 johu Exp $
+
+ 12 Aug 2012; Johannes Huber <johu@gentoo.org> kmix-4.9.0.ebuild, metadata.xml:
+ Introduce canberra use flag to fix automagic dependencies wrt bug #430804 by
+ Joost Ruis <joost.ruis@sabayonlinux.org>.
*kmix-4.8.5 (07 Aug 2012)
@@ -836,4 +840,3 @@
+kmix-3.4.0_beta1.ebuild:
Adding the split ebuilds to portage. For KDE 3.4, we've created separate
ebuilds for all the KDE apps.
-
diff --git a/kde-base/kmix/kmix-4.9.0.ebuild b/kde-base/kmix/kmix-4.9.0.ebuild
index be4d54e4e8e0..da9dfaeb72d0 100644
--- a/kde-base/kmix/kmix-4.9.0.ebuild
+++ b/kde-base/kmix/kmix-4.9.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kmix/kmix-4.9.0.ebuild,v 1.1 2012/08/01 22:16:50 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kmix/kmix-4.9.0.ebuild,v 1.2 2012/08/12 14:50:46 johu Exp $
EAPI=4
@@ -10,18 +10,20 @@ inherit kde4-base
DESCRIPTION="KDE mixer gui"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="alsa debug pulseaudio"
+IUSE="alsa debug canberra pulseaudio"
DEPEND="
alsa? ( >=media-libs/alsa-lib-1.0.14a )
+ canberra? ( media-libs/libcanberra )
pulseaudio? ( >=media-sound/pulseaudio-0.9.12 )
"
RDEPEND="${DEPEND}"
src_configure() {
mycmakeargs=(
- $(cmake-utils_use_with pulseaudio PulseAudio)
$(cmake-utils_use_with alsa)
+ $(cmake-utils_use_with canberra)
+ $(cmake-utils_use_with pulseaudio PulseAudio)
)
kde4-base_src_configure
diff --git a/kde-base/kmix/metadata.xml b/kde-base/kmix/metadata.xml
index 8d1e86a9cefb..5607e0b850a8 100644
--- a/kde-base/kmix/metadata.xml
+++ b/kde-base/kmix/metadata.xml
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>kde</herd>
+ <herd>kde</herd>
+ <use>
+ <flag name='canberra'>Enable sound event support using <pkg>media-libs/libcanberra</pkg></flag>
+ </use>
</pkgmetadata>