summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-07-15 11:15:00 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-07-15 11:15:00 +0000
commitfe86b57d457f905fdf3a5eb74e58b4d8081708f4 (patch)
tree62091195089fb51da20c67778002788c12688839 /media-sound
parentVersion bump (diff)
downloadgentoo-2-fe86b57d457f905fdf3a5eb74e58b4d8081708f4.tar.gz
gentoo-2-fe86b57d457f905fdf3a5eb74e58b4d8081708f4.tar.bz2
gentoo-2-fe86b57d457f905fdf3a5eb74e58b4d8081708f4.zip
Use cmake-utils_use_use function instead of qmmp_use_enable
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/qmmp/ChangeLog6
-rw-r--r--media-sound/qmmp/qmmp-0.4.1.ebuild66
-rw-r--r--media-sound/qmmp/qmmp-9999.ebuild66
3 files changed, 67 insertions, 71 deletions
diff --git a/media-sound/qmmp/ChangeLog b/media-sound/qmmp/ChangeLog
index 3bb48152c29e..19f26f9d9ed9 100644
--- a/media-sound/qmmp/ChangeLog
+++ b/media-sound/qmmp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/qmmp
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qmmp/ChangeLog,v 1.42 2010/07/14 15:38:44 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qmmp/ChangeLog,v 1.43 2010/07/15 11:15:00 hwoarang Exp $
+
+ 15 Jul 2010; Markos Chandras <hwoarang@gentoo.org> qmmp-0.4.1.ebuild,
+ qmmp-9999.ebuild:
+ Use cmake-utils_use_use function instead of qmmp_use_enable
14 Jul 2010; Markos Chandras <hwoarang@gentoo.org> qmmp-0.4.1.ebuild,
qmmp-9999.ebuild:
diff --git a/media-sound/qmmp/qmmp-0.4.1.ebuild b/media-sound/qmmp/qmmp-0.4.1.ebuild
index c8b6d3e775f1..c7c528df9496 100644
--- a/media-sound/qmmp/qmmp-0.4.1.ebuild
+++ b/media-sound/qmmp/qmmp-0.4.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qmmp/qmmp-0.4.1.ebuild,v 1.2 2010/07/14 15:38:44 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qmmp/qmmp-0.4.1.ebuild,v 1.3 2010/07/15 11:15:00 hwoarang Exp $
EAPI="2"
@@ -57,42 +57,38 @@ DOCS="AUTHORS ChangeLog README"
CMAKE_IN_SOURCE_BUILD="1"
-qmmp_use_enable() {
- $(cmake-utils_use ${1} USE_${2})
-}
-
src_configure() {
mycmakeargs="${mycmakeargs}
- $(qmmp_use_enable alsa ALSA)
- $(qmmp_use_enable aac AAC)
- $(qmmp_use_enable bs2b BS2B)
- $(qmmp_use_enable cover COVER)
- $(qmmp_use_enable cdda CDA)
- $(qmmp_use_enable dbus DBUS)
- $(qmmp_use_enable enca ENCA)
- $(qmmp_use_enable ffmpeg FFMPEG)
- $(qmmp_use_enable flac FLAC)
- $(qmmp_use_enable hal HAL)
- $(qmmp_use_enable jack JACK)
- $(qmmp_use_enable kde KDENOTIFY)
- $(qmmp_use_enable ladspa LADSPA)
- $(qmmp_use_enable lyrics LYRICS)
- $(qmmp_use_enable mad MAD)
- $(qmmp_use_enable mplayer MPLAYER)
- $(qmmp_use_enable mms MMS)
- $(qmmp_use_enable modplug MODPLUG)
- $(qmmp_use_enable mpris MPRIS)
- $(qmmp_use_enable musepack MPC)
- $(qmmp_use_enable notifier NOTIFIER)
- $(qmmp_use_enable oss OSS)
- $(qmmp_use_enable projectm PROJECTM)
- $(qmmp_use_enable pulseaudio PULSE)
- $(qmmp_use_enable scrobbler SCROBBLER)
- $(qmmp_use_enable sndfile SNDFILE)
- $(qmmp_use_enable tray STATICON)
- $(qmmp_use_enable libsamplerate SRC)
- $(qmmp_use_enable vorbis VORBIS)
- $(qmmp_use_enable wavpack WAVPACK)"
+ $(cmake-utils_use_use alsa)
+ $(cmake-utils_use_use aac)
+ $(cmake-utils_use_use bs2b)
+ $(cmake-utils_use_use cover)
+ $(cmake-utils_use_use cdda CDA)
+ $(cmake-utils_use_use dbus)
+ $(cmake-utils_use_use enca)
+ $(cmake-utils_use_use ffmpeg)
+ $(cmake-utils_use_use flac)
+ $(cmake-utils_use_use hal)
+ $(cmake-utils_use_use jack)
+ $(cmake-utils_use_use kde KDENOTIFY)
+ $(cmake-utils_use_use ladspa)
+ $(cmake-utils_use_use lyrics)
+ $(cmake-utils_use_use mad)
+ $(cmake-utils_use_use mplayer)
+ $(cmake-utils_use_use mms)
+ $(cmake-utils_use_use modplug)
+ $(cmake-utils_use_use mpris)
+ $(cmake-utils_use_use musepack MPC)
+ $(cmake-utils_use_use notifier)
+ $(cmake-utils_use_use oss)
+ $(cmake-utils_use_use projectm)
+ $(cmake-utils_use_use pulseaudio PULSE)
+ $(cmake-utils_use_use scrobbler)
+ $(cmake-utils_use_use sndfile)
+ $(cmake-utils_use_use tray STATICON)
+ $(cmake-utils_use_use libsamplerate SRC)
+ $(cmake-utils_use_use vorbis)
+ $(cmake-utils_use_use wavpack)"
cmake-utils_src_configure
}
diff --git a/media-sound/qmmp/qmmp-9999.ebuild b/media-sound/qmmp/qmmp-9999.ebuild
index fa9f5eac5cf8..f354cd823a9b 100644
--- a/media-sound/qmmp/qmmp-9999.ebuild
+++ b/media-sound/qmmp/qmmp-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qmmp/qmmp-9999.ebuild,v 1.7 2010/07/14 15:38:44 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qmmp/qmmp-9999.ebuild,v 1.8 2010/07/15 11:15:00 hwoarang Exp $
EAPI="2"
@@ -57,42 +57,38 @@ DOCS="AUTHORS ChangeLog README"
CMAKE_IN_SOURCE_BUILD="1"
-qmmp_use_enable() {
- $(cmake-utils_use ${1} USE_${2})
-}
-
src_configure() {
mycmakeargs="${mycmakeargs}
- $(qmmp_use_enable alsa ALSA)
- $(qmmp_use_enable aac AAC)
- $(qmmp_use_enable bs2b BS2B)
- $(qmmp_use_enable cover COVER)
- $(qmmp_use_enable cdda CDA)
- $(qmmp_use_enable dbus DBUS)
- $(qmmp_use_enable enca ENCA)
- $(qmmp_use_enable ffmpeg FFMPEG)
- $(qmmp_use_enable flac FLAC)
- $(qmmp_use_enable hal HAL)
- $(qmmp_use_enable jack JACK)
- $(qmmp_use_enable kde KDENOTIFY)
- $(qmmp_use_enable ladspa LADSPA)
- $(qmmp_use_enable lyrics LYRICS)
- $(qmmp_use_enable mad MAD)
- $(qmmp_use_enable mplayer MPLAYER)
- $(qmmp_use_enable mms MMS)
- $(qmmp_use_enable modplug MODPLUG)
- $(qmmp_use_enable mpris MPRIS)
- $(qmmp_use_enable musepack MPC)
- $(qmmp_use_enable notifier NOTIFIER)
- $(qmmp_use_enable oss OSS)
- $(qmmp_use_enable projectm PROJECTM)
- $(qmmp_use_enable pulseaudio PULSE)
- $(qmmp_use_enable scrobbler SCROBBLER)
- $(qmmp_use_enable sndfile SNDFILE)
- $(qmmp_use_enable tray STATICON)
- $(qmmp_use_enable libsamplerate SRC)
- $(qmmp_use_enable vorbis VORBIS)
- $(qmmp_use_enable wavpack WAVPACK)"
+ $(cmake-utils_use_use alsa)
+ $(cmake-utils_use_use aac)
+ $(cmake-utils_use_use bs2b)
+ $(cmake-utils_use_use cover)
+ $(cmake-utils_use_use cdda CDA)
+ $(cmake-utils_use_use dbus)
+ $(cmake-utils_use_use enca)
+ $(cmake-utils_use_use ffmpeg)
+ $(cmake-utils_use_use flac)
+ $(cmake-utils_use_use hal)
+ $(cmake-utils_use_use jack)
+ $(cmake-utils_use_use kde KDENOTIFY)
+ $(cmake-utils_use_use ladspa)
+ $(cmake-utils_use_use lyrics)
+ $(cmake-utils_use_use mad)
+ $(cmake-utils_use_use mplayer)
+ $(cmake-utils_use_use mms)
+ $(cmake-utils_use_use modplug)
+ $(cmake-utils_use_use mpris)
+ $(cmake-utils_use_use musepack MPC)
+ $(cmake-utils_use_use notifier)
+ $(cmake-utils_use_use oss)
+ $(cmake-utils_use_use projectm)
+ $(cmake-utils_use_use pulseaudio PULSE)
+ $(cmake-utils_use_use scrobbler)
+ $(cmake-utils_use_use sndfile)
+ $(cmake-utils_use_use tray STATICON)
+ $(cmake-utils_use_use libsamplerate SRC)
+ $(cmake-utils_use_use vorbis)
+ $(cmake-utils_use_use wavpack)"
cmake-utils_src_configure
}