1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-01-09 15:24:14 +01:00

Added DeadBeaf player

This commit is contained in:
root
2010-10-18 16:41:48 +02:00
parent b257fe1d20
commit e82f05b400
2 changed files with 90 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST deadbeef-0.4.2.tar.bz2 2544788 RMD160 90592c2d8522bf238c2aa30d2fa248c20abb69a4 SHA1 f4289eca92fc06a15ca87a7108682c7a7a89686e SHA256 a3a2b483aa4a0f053c5f33d12efc3b18105ee8107e00816eb9ba7a92c1037136
EBUILD deadbeef-0.4.2.ebuild 2291 RMD160 9f4f9b997f1e1f41c0722f8a4f304e009421363d SHA1 a20403433aec8f4074b91d996ae4d34a875f4a50 SHA256 bfcd1e294f0ee11f207bd66db55653d828df2550bcbb1f91a9b04b9ea354f97b

View File

@@ -0,0 +1,88 @@
# Copyright 2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
inherit fdo-mime
DESCRIPTION="foobar2000-like music player."
HOMEPAGE="http://deadbeef.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="|| ( GPL-2 LGPL-2.1 )"
SLOT="0"
KEYWORDS="x86 ~amd64"
IUSE="+gtk +alsa ffmpeg pulseaudio +mad +vorbis +flac wavpack +sndfile cdda +hotkeys
oss lastfm adplug ffap sid nullout +supereq vtx gme dumb +dbus +artwork curl
shellexec musepack tta dts aac mms shorten audiooverload"
RDEPEND="
media-libs/libsamplerate
gtk? ( x11-libs/gtk+:2 )
alsa? ( media-libs/alsa-lib )
ffmpeg? ( media-video/ffmpeg )
pulseaudio? ( media-sound/pulseaudio )
mad? ( media-libs/libmad )
vorbis? ( media-libs/libvorbis )
flac? ( media-libs/flac )
wavpack? ( media-sound/wavpack )
sndfile? ( media-libs/libsndfile )
cdda? ( dev-libs/libcdio media-libs/libcddb )
lastfm? ( net-misc/curl )
artwork? ( net-misc/curl )
curl? ( net-misc/curl )
dbus? ( sys-apps/dbus )
musepack? ( media-sound/musepack-tools )
dts? ( media-libs/libdca )
aac? ( media-libs/faad2 )
mms? ( media-libs/libmms )
"
DEPEND="${RDEPEND}"
src_configure() {
my_config="$(use_enable gtk gtkui) \
$(use_enable alsa) \
$(use_enable ffmpeg) \
$(use_enable pulseaudio pulse) \
$(use_enable mad) \
$(use_enable vorbis) \
$(use_enable flac) \
$(use_enable wavpack) \
$(use_enable sndfile) \
$(use_enable cdda) \
$(use_enable hotkeys) \
$(use_enable oss) \
$(use_enable lastfm lfm) \
$(use_enable adplug) \
$(use_enable ffap) \
$(use_enable sid) \
$(use_enable nullout) \
$(use_enable supereq) \
$(use_enable vtx) \
$(use_enable gme) \
$(use_enable dumb) \
$(use_enable dbus notify) \
$(use_enable musepack) \
$(use_enable tta) \
$(use_enable dts dca)
$(use_enable aac) \
$(use_enable shorten shn) \
$(use_enable audiooverload ao) \
$(use_enable shellexec)"
if use artwork ; then
# artwork need vfs-curl plugin, we force it
my_config="${my_config} \
--enable-vfs-curl \
$(use_enable artwork)"
else
my_config="${my_config} \
$(use_enable curl vfs-curl) \
$(use_enable artwork)"
fi
econf ${my_config} || die
}
src_install() {
make DESTDIR="${D}" install || die
}