Permalink
Browse files

Add media-sound/deadbeef-0.4.4

  • Loading branch information...
1 parent 429d1a1 commit af634b507dc2bc4b86c38611492465b8263fdc37 @sebasmagri committed Feb 7, 2011
Showing with 120 additions and 0 deletions.
  1. +4 −0 media-sound/deadbeef/Manifest
  2. +116 −0 media-sound/deadbeef/deadbeef-0.4.4.ebuild
@@ -0,0 +1,4 @@
+DIST deadbeef-0.4.4.tar.bz2 2612233 RMD160 c0d8c10f5c69f21c02aba82151d80f1e7bc2ef30 SHA1 7981179dfaa2037d1b1fb803c58853bf5cea8764 SHA256 93547e776f1c67a68236d394a67d0d84478f12ad375a4208e6dbba5972f6ec32
+EBUILD deadbeef-0.4.4.ebuild 2843 RMD160 6c563873a5d3b458fd12085bff550f6833466fb7 SHA1 cb2fece15823bc5448ebbb28ed793cf35ab1e9aa SHA256 71091288c33ed86d6bbaaaa9bc417210218622c33a360cdf98b8d5463e566bdb
+MISC deadbeef-0.4.3_rc1-r1.ebuild~ 2889 RMD160 045bf14e61251bf27cde374cc3ae68416470ac0b SHA1 337db9a998a004a6a7eedea6bd6a65b3154e60ff SHA256 8f689b700d4c30ed1f6beabf480f915f2aa110240afb8a55061a47a1a8e9d9d5
+MISC deadbeef-0.4.4.ebuild~ 2841 RMD160 67d317dc5d026d7a11837bd4012b9c476b1051c4 SHA1 ff914a41fcb6a4b3330690273ab0d42c3b4da389 SHA256 eb9818316c6bbc7927a422e9124dceb9a778987774e7dbe30387b7a3ed195ecc
@@ -0,0 +1,116 @@
+# Copyright 1999-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="LGPL-2.1 MIT" # TODO incomplete!
+
+# License details:
+# ./md5/ - MIT
+# TODO
+
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="aac adplug alsa audiooverload cdda cover curl dbus dts
+ dumb ffap ffmpeg flac gme gtk +hotkeys lastfm midi mms mp3
+ musepack nullout oss pulseaudio shellexec shorten sid
+ sndfile +supereq tta vorbis vtx wavpack"
+
+RDEPEND="
+ media-libs/libsamplerate
+ alsa? ( media-libs/alsa-lib )
+ cover? ( net-misc/curl )
+ cdda? ( dev-libs/libcdio media-libs/libcddb )
+ curl? ( net-misc/curl )
+ dbus? ( sys-apps/dbus )
+ ffmpeg? ( media-video/ffmpeg )
+ flac? ( media-libs/flac )
+ gtk? ( x11-libs/gtk+:2 )
+ lastfm? ( net-misc/curl )
+ mms? ( media-libs/libmms )
+ mp3? ( media-libs/libmad )
+ pulseaudio? ( media-sound/pulseaudio )
+ sndfile? ( media-libs/libsndfile )
+ wavpack? ( media-sound/wavpack )
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ # Removing bundle dependencies
+ :
+ # TODO:
+ # plugins/aac: aac? ( media-libs/faad2 )
+ # plugins/adplug: adplug? ( media-libs/adplug )
+ # plugins/ao
+ # plugins/dca: dts? ( media-libs/libdca )
+ # plugins/dump
+ # plugins/gme
+ # plugins/musepack: musepack? ( media-sound/musepack-tools )
+ # plugins/shn: shorten? ( media-sound/shorten )
+ # plugins/sid? ( media-libs/libsidplay )
+ # plugins/supereq
+ # plugins/tta
+ # plugins/vorbis: vorbis? ( media-libs/libvorbis )
+ # plugins/vtx
+ # plugins/wildmidi: midi? ( media-sound/wildmidi )
+}
+
+src_configure() {
+ my_config="
+ --disable-dependency-tracking \
+ $(use_enable aac) \
+ $(use_enable adplug) \
+ $(use_enable alsa) \
+ $(use_enable audiooverload ao) \
+ $(use_enable cdda) \
+ $(use_enable dbus notify) \
+ $(use_enable dts dca) \
+ $(use_enable dumb) \
+ $(use_enable ffap) \
+ $(use_enable ffmpeg) \
+ $(use_enable flac) \
+ $(use_enable gme) \
+ $(use_enable gtk gtkui) \
+ --disable-gtk3 \
+ $(use_enable hotkeys) \
+ $(use_enable lastfm lfm) \
+ $(use_enable mp3 mad) \
+ $(use_enable midi wildmidi) \
+ $(use_enable musepack) \
+ $(use_enable nullout) \
+ $(use_enable oss) \
+ $(use_enable pulseaudio pulse) \
+ $(use_enable shellexec)
+ $(use_enable shorten shn) \
+ $(use_enable sid) \
+ $(use_enable sndfile) \
+ $(use_enable supereq) \
+ $(use_enable tta) \
+ $(use_enable vorbis) \
+ $(use_enable vtx) \
+ $(use_enable wavpack) \
+ "
+
+ if use cover ; then
+ # artwork need vfs-curl plugin, we force it
+ my_config="${my_config} \
+ --enable-vfs-curl \
+ --enable-artwork"
+ else
+ my_config="${my_config} \
+ $(use_enable curl vfs-curl) \
+ --disable-artwork"
+ fi
+
+ econf ${my_config} || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+}

0 comments on commit af634b5

Please sign in to comment.