summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-06-13 12:20:02 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-06-13 12:20:02 +0000
commit397da6d526580a0c563483f8fc27b460106d8293 (patch)
tree5e7c9a3967bc4e300884ef66bdc7a4ce8d078fb3 /media-sound/qmmp/qmmp-0.4.1.ebuild
parentFix intltoolize broken file (diff)
downloadhistorical-397da6d526580a0c563483f8fc27b460106d8293.tar.gz
historical-397da6d526580a0c563483f8fc27b460106d8293.tar.bz2
historical-397da6d526580a0c563483f8fc27b460106d8293.zip
Version bump. Taking over maintainership
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'media-sound/qmmp/qmmp-0.4.1.ebuild')
-rw-r--r--media-sound/qmmp/qmmp-0.4.1.ebuild103
1 files changed, 103 insertions, 0 deletions
diff --git a/media-sound/qmmp/qmmp-0.4.1.ebuild b/media-sound/qmmp/qmmp-0.4.1.ebuild
new file mode 100644
index 000000000000..2fd8f449e770
--- /dev/null
+++ b/media-sound/qmmp/qmmp-0.4.1.ebuild
@@ -0,0 +1,103 @@
+# 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.1 2010/06/13 12:20:02 hwoarang Exp $
+
+EAPI="2"
+
+inherit cmake-utils
+[ "$PV" == "9999" ] && inherit subversion
+
+DESCRIPTION="Qt4-based audio player with winamp/xmms skins support"
+HOMEPAGE="http://qmmp.ylsoftware.com/index_en.php"
+if [ "$PV" != "9999" ]; then
+ SRC_URI="http://qmmp.ylsoftware.com/files/${P}.tar.bz2"
+ KEYWORDS="~amd64 ~x86"
+else
+ SRC_URI=""
+ ESVN_REPO_URI="http://qmmp.googlecode.com/svn/trunk/qmmp/"
+ KEYWORDS=""
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+# KEYWORDS further up
+IUSE="aac +alsa +dbus bs2b cdda cover enca ffmpeg flac hal jack kde ladspa
+libsamplerate lyrics +mad mms modplug mplayer mpris musepack notifier oss projectm pulseaudio scrobbler sndfile tray +vorbis wavpack"
+
+RDEPEND="x11-libs/qt-gui:4[qt3support]
+ media-libs/taglib
+ alsa? ( media-libs/alsa-lib )
+ bs2b? ( media-libs/libbs2b )
+ cdda? ( dev-libs/libcdio )
+ dbus? ( sys-apps/dbus )
+ aac? ( media-libs/faad2 )
+ enca? ( app-i18n/enca )
+ flac? ( media-libs/flac )
+ hal? ( sys-apps/hal )
+ ladspa? ( media-libs/ladspa-cmt )
+ libsamplerate? ( media-libs/libsamplerate )
+ mad? ( media-libs/libmad )
+ mms? ( media-libs/libmms )
+ mplayer? ( media-video/mplayer )
+ musepack? ( >=media-sound/musepack-tools-444 )
+ modplug? ( >=media-libs/libmodplug-0.8.4 )
+ vorbis? ( media-libs/libvorbis
+ media-libs/libogg )
+ jack? ( media-sound/jack-audio-connection-kit
+ media-libs/libsamplerate )
+ ffmpeg? ( media-video/ffmpeg )
+ projectm? ( media-libs/libprojectm )
+ pulseaudio? ( >=media-sound/pulseaudio-0.9.9 )
+ wavpack? ( media-sound/wavpack )
+ scrobbler? ( net-misc/curl )
+ sndfile? ( media-libs/libsndfile )"
+DEPEND="${RDEPEND}"
+
+DOCS="AUTHORS ChangeLog README"
+
+CMAKE_IN_SOURCE_BUILD="1"
+
+qmmp_use_enable() {
+ # uses completely non standard cmake options...
+ if use ${1}; then
+ echo "-DUSE_${2}:BOOL=TRUE"
+ else
+ echo "-DUSE_${2}:BOOL=FALSE"
+ fi
+}
+
+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_src_configure
+}