[media-sound/deadbeef] Bump to 0.4.4 - Bug #2010

This commit is contained in:
Ian Whyman
2010-12-09 21:34:06 +00:00
parent 45b2f4900b
commit ecd689a296
3 changed files with 113 additions and 78 deletions
+2 -2
View File
@@ -1,2 +1,2 @@
DIST deadbeef-0.4.1.tar.bz2 1205706 RMD160 64b661f35c3c60e0ddf561dafb99d83193a40ae5 SHA1 29bbab3be46d0d6d71ec0dbaab6d772c3412e70f SHA256 f80a898e1f8b803ddf8e428bae89d0e682433806aa2b06c2f7c8c53e07d852fe
EBUILD deadbeef-0.4.1.ebuild 1941 RMD160 ea9443eae903abf54ed924f860572a1c7bd5c9a4 SHA1 df3f1c8f246995fd4ffa16dfd1974b1e61188e29 SHA256 3b050b355e3da47f03af13c782182b85ea0c5cb3d27815fbc5b7e3be40f781b0
DIST deadbeef-0.4.4.tar.bz2 2612233 RMD160 c0d8c10f5c69f21c02aba82151d80f1e7bc2ef30 SHA1 7981179dfaa2037d1b1fb803c58853bf5cea8764 SHA256 93547e776f1c67a68236d394a67d0d84478f12ad375a4208e6dbba5972f6ec32
EBUILD deadbeef-0.4.4.ebuild 2810 RMD160 262f2ab60cf89af8a640af420b36836709a9eca3 SHA1 8880f9790b9a60730b992ba65a47e409cf76d83c SHA256 ca3d134a43e1cd293b26fb0bd11d0a21849d710c50d45475216e7cc9ca8faff5
@@ -1,76 +0,0 @@
# Copyright 2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
inherit fdo-mime
DESCRIPTION="mp3/ogg/flac/sid/mod/nsf music player based on GTK2"
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"
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 )
"
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)"
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
}
+111
View File
@@ -0,0 +1,111 @@
# 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 ZLIB
dumb? ( DUMB-0.9.2 )
shorten? ( shorten )
audiooverload? ( BSD XMAME )"
## TODO:
## add shorten license to portage
## enable gtk3 support when available in portage
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="aac adplug alsa audiooverload cdda cover curl dts dumb ffmpeg flac gme +gtk hotkeys lastfm libnotify mac midi mms mp3 musepack nls null oss pulseaudio rpath shellexec shorten sid sndfile supereq threads tta vorbis vtx wavpack"
RDEPEND="
media-libs/libsamplerate
gtk? ( x11-libs/gtk+:2 )
alsa? ( media-libs/alsa-lib )
vorbis? ( media-libs/libvorbis )
cover? ( net-misc/curl )
curl? ( net-misc/curl )
lastfm? ( net-misc/curl )
mp3? ( media-libs/libmad )
flac? ( media-libs/flac )
wavpack? ( media-sound/wavpack )
sndfile? ( media-libs/libsndfile )
cdda? ( dev-libs/libcdio media-libs/libcddb )
ffmpeg? ( media-video/ffmpeg )
hotkeys? ( x11-libs/libX11 )
libnotify? ( sys-apps/dbus )
pulseaudio? ( media-sound/pulseaudio )
aac? ( media-libs/faad2 )
audiooverload? ( sys-libs/zlib )
midi? ( media-sound/timidity-freepats )
"
DEPEND="${RDEPEND}"
src_prepare() {
if use midi; then
# set default gentoo path
sed -e 's;/etc/timidity++/timidity-freepats.cfg;/usr/share/timidity/freepats/timidity.cfg;g' \
-i "${S}/plugins/wildmidi/wildmidiplug.c"
fi
}
src_configure() {
my_config="--disable-dependency-tracking
$(use_enable nls)
$(use_enable threads)
$(use_enable rpath)
$(use_enable null nullout)
$(use_enable alsa)
$(use_enable oss)
$(use_enable pulseaudio pulse)
$(use_enable gtk gtkui)
--disable-gtk3
$(use_enable supereq)
$(use_enable sid)
$(use_enable mp3 mad)
$(use_enable mac ffap)
$(use_enable vtx)
$(use_enable adplug)
$(use_enable hotkeys)
$(use_enable vorbis)
$(use_enable ffmpeg)
$(use_enable flac)
$(use_enable sndfile)
$(use_enable wavpack)
$(use_enable cdda)
$(use_enable gme)
$(use_enable dumb)
$(use_enable libnotify notify)
$(use_enable shellexec)
$(use_enable musepack)
$(use_enable midi wildmidi)
$(use_enable tta)
$(use_enable dts dca)
$(use_enable aac)
$(use_enable mms)
$(use_enable shorten shn)
$(use_enable audiooverload ao)"
# artowrk and lastfm plugins both require curl
if use cover || use lastfm ; then
my_config="${my_config}
--enable-vfs-curl
$(use_enable cover artwork)
$(use_enable lastfm lfm)"
else
my_config="${my_config}
--disable-artwork
--disable-lfm
$(use_enable curl vfs-curl)"
fi
econf ${my_config} || die
}
src_install() {
einstall
}