diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2008-12-11 01:46:49 +0100 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2008-12-11 01:46:49 +0100 |
commit | d7be4eac5df0792f336158c60580f7e11c0d4f43 (patch) | |
tree | 752438e0638bab7577f2aced21509309cf483626 /media-sound | |
parent | Moar. (diff) | |
download | scarabeus-d7be4eac5df0792f336158c60580f7e11c0d4f43.tar.gz scarabeus-d7be4eac5df0792f336158c60580f7e11c0d4f43.tar.bz2 scarabeus-d7be4eac5df0792f336158c60580f7e11c0d4f43.zip |
add qmmp.
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/qmmp/Manifest | 3 | ||||
-rw-r--r-- | media-sound/qmmp/metadata.xml | 5 | ||||
-rw-r--r-- | media-sound/qmmp/qmmp-0.2.3.ebuild | 66 |
3 files changed, 74 insertions, 0 deletions
diff --git a/media-sound/qmmp/Manifest b/media-sound/qmmp/Manifest new file mode 100644 index 0000000..50ab5c8 --- /dev/null +++ b/media-sound/qmmp/Manifest @@ -0,0 +1,3 @@ +DIST qmmp-0.2.3.tar.bz2 382224 RMD160 14dc9fdcf53ff52ac0e538ba1bf099db334301a5 SHA1 5269725e3ed608038d47e415ecf64d7e24693843 SHA256 cce0f421ec9f8c56eaa637b6c0330808ce23b09d03600c2be7c99c18edcc7162 +EBUILD qmmp-0.2.3.ebuild 1903 RMD160 c3ae62415d0eb812f0a6cac6fcd33747b223fee1 SHA1 da776a90ce58c553219380afeb968d43079bf2e8 SHA256 5ce0073951ab94b0d43c1995220ded181b3e94f61d5cc222256a3845538551af +MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a diff --git a/media-sound/qmmp/metadata.xml b/media-sound/qmmp/metadata.xml new file mode 100644 index 0000000..8d1e86a --- /dev/null +++ b/media-sound/qmmp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>kde</herd> +</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 0000000..0e65a86 --- /dev/null +++ b/media-sound/qmmp/qmmp-0.2.3.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="1" + +inherit cmake-utils + +DESCRIPTION="Winamp-like audio player written with Qt4" +HOMEPAGE="http://qmmp.ylsoftware.com/" +SRC_URI="http://qmmp.ylsoftware.com/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="+alsa dbus +ffmpeg flac jack +libsamplerate mad modplug musepack oss +pulseaudio +scrobbler sndfile +vorbis wavpack" + +RDEPEND="|| ( x11-libs/qt-gui =x11-libs/qt-4.3.0:4 ) + media-libs/taglib + alsa? ( media-libs/alsa-lib ) + dbus? ( sys-apps/dbus ) + ffmpeg? ( media-video/ffmpeg ) + flac? ( media-libs/flac ) + jack? ( media-sound/jack-audio-connection-kit + media-libs/libsamplerate ) + libsamplerate? ( media-libs/libsamplerate ) + mad? ( media-libs/libmad ) + modplug? ( >=media-libs/libmodplug-0.8.4 ) + musepack? ( >=media-libs/libmpcdec-1.2.5 ) + pulseaudio? ( >=media-sound/pulseaudio-0.9.9 ) + scrobbler? ( net-misc/curl ) + sndfile? ( media-libs/libsndfile ) + vorbis? ( media-libs/libvorbis + media-libs/libogg ) + wavpack? ( media-sound/wavpack )" + +DOCS="AUTHORS ChangeLog README" + +CMAKE_IN_SOURCE_BUILD=1 +qmmp_use_enable() { + # uses completely non standard cmake options... + use ${2} && echo "-DUSE_${1}:BOOL=TRUE" || echo "-DUSE_${1}:BOOL=FALSE" +} + +src_compile() { + local 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 MPC musepack) + $(qmmp_use_enable OSS oss) + $(qmmp_use_enable PULSE pulseaudio) + $(qmmp_use_enable SCROBBLER scrobbler) + $(qmmp_use_enable SNDFILE sndfile) + $(qmmp_use_enable SRC libsamplerate) + $(qmmp_use_enable VORBIS vorbis) + $(qmmp_use_enable WAVPACK wavpack) + " + cmake-utils_src_compile +} + |