diff options
author | Ben de Groot <yngwin@gentoo.org> | 2009-01-02 17:12:14 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2009-01-02 17:12:14 +0000 |
commit | 326ab500b857ad49e10e85f14cbd9eb239c4018b (patch) | |
tree | 81c557cc0f1e2c81d3d1c2aaa37ac7e6c51888de /media-sound/qmmp | |
parent | remove some ebuilds masked for qmail.eclass testing (diff) | |
download | gentoo-2-326ab500b857ad49e10e85f14cbd9eb239c4018b.tar.gz gentoo-2-326ab500b857ad49e10e85f14cbd9eb239c4018b.tar.bz2 gentoo-2-326ab500b857ad49e10e85f14cbd9eb239c4018b.zip |
Initial import. Ebuild based on the one developed in bug 180685 by Evgeniy Kliymovich, Andrey Melentyev, kavol and Thomas Kuther.
(Portage version: 2.2_rc20/cvs/Linux 2.6.27-hh7 i686)
Diffstat (limited to 'media-sound/qmmp')
-rw-r--r-- | media-sound/qmmp/ChangeLog | 11 | ||||
-rw-r--r-- | media-sound/qmmp/metadata.xml | 11 | ||||
-rw-r--r-- | media-sound/qmmp/qmmp-0.2.3.ebuild | 73 |
3 files changed, 95 insertions, 0 deletions
diff --git a/media-sound/qmmp/ChangeLog b/media-sound/qmmp/ChangeLog new file mode 100644 index 000000000000..7949bca7b659 --- /dev/null +++ b/media-sound/qmmp/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-sound/qmmp +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/qmmp/ChangeLog,v 1.1 2009/01/02 17:12:14 yngwin Exp $ + +*qmmp-0.2.3 (02 Jan 2009) + + 02 Jan 2009; Ben de Groot <yngwin@gentoo.org> +metadata.xml, + +qmmp-0.2.3.ebuild: + Initial import. Ebuild based on the one developed in bug 180685 by Evgeniy + Kliymovich, Andrey Melentyev, kavol and Thomas Kuther. + diff --git a/media-sound/qmmp/metadata.xml b/media-sound/qmmp/metadata.xml new file mode 100644 index 000000000000..0372cdcd6c0a --- /dev/null +++ b/media-sound/qmmp/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> + <maintainer> + <email>sound@gentoo.org</email> + </maintainer> + <use> + <flag name="scrobbler">Enable audioscrobbler/last.fm support</flag> + </use> +</pkgmetadata> diff --git a/media-sound/qmmp/qmmp-0.2.3.ebuild b/media-sound/qmmp/qmmp-0.2.3.ebuild new file mode 100644 index 000000000000..341dfe91e23d --- /dev/null +++ b/media-sound/qmmp/qmmp-0.2.3.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/qmmp/qmmp-0.2.3.ebuild,v 1.1 2009/01/02 17:12:14 yngwin Exp $ + +EAPI="1" + +inherit cmake-utils + +DESCRIPTION="Qt4-based audio player with winamp/xmms skins support" +HOMEPAGE="http://qmmp.ylsoftware.com/" +SRC_URI="http://qmmp.ylsoftware.com/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+alsa +dbus ffmpeg flac jack libsamplerate +mad modplug musepack oss + pulseaudio scrobbler sndfile +vorbis wavpack" + +RDEPEND="|| ( x11-libs/qt-gui:4 =x11-libs/qt-4.3*:4 ) + media-libs/taglib + alsa? ( media-libs/alsa-lib ) + dbus? ( sys-apps/dbus ) + flac? ( media-libs/flac ) + libsamplerate? ( media-libs/libsamplerate ) + mad? ( media-libs/libmad ) + musepack? ( >=media-libs/libmpcdec-1.2.5 ) + 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 ) + pulseaudio? ( >=media-sound/pulseaudio-0.9.9 ) + wavpack? ( media-sound/wavpack ) + scrobbler? ( net-misc/curl ) + sndfile? ( media-libs/libsndfile )" +DEPEND="${RDEPEND} + >=dev-util/cmake-2.4.8" + +DOCS="AUTHORS ChangeLog README" + +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_compile() { + # needs to be built in source tree + CMAKE_IN_SOURCE_BUILD=1 + + mycmakeargs="${mycmakeargs} + $(qmmp_use_enable alsa ALSA) + $(qmmp_use_enable dbus DBUS) + $(qmmp_use_enable ffmpeg FFMPEG) + $(qmmp_use_enable flac FLAC) + $(qmmp_use_enable jack JACK) + $(qmmp_use_enable mad MAD) + $(qmmp_use_enable modplug MODPLUG) + $(qmmp_use_enable musepack MPC) + $(qmmp_use_enable oss OSS) + $(qmmp_use_enable pulseaudio PULSE) + $(qmmp_use_enable scrobbler SCROBBLER) + $(qmmp_use_enable sndfile SNDFILE) + $(qmmp_use_enable libsamplerate SRC) + $(qmmp_use_enable vorbis VORBIS) + $(qmmp_use_enable wavpack WAVPACK)" + + cmake-utils_src_compile +} |