summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/deadbeef/Manifest2
-rw-r--r--media-sound/deadbeef/deadbeef-0.6.1.ebuild182
-rw-r--r--media-sound/deadbeef/deadbeef-0.6.2.ebuild243
-rw-r--r--media-sound/deadbeef/deadbeef-9999.ebuild248
-rw-r--r--media-sound/deadbeef/files/deadbeef-0.6.3-remove-unity-trash.patch55
-rw-r--r--media-sound/deadbeef/files/deadbeef-remove-pt_br-and-ru-help-translation.patch13
-rw-r--r--media-sound/deadbeef/files/deadbeef-remove-pt_br-help-translation.patch12
-rw-r--r--media-sound/deadbeef/files/deadbeef-remove-ru-help-translation.patch10
-rw-r--r--media-sound/deadbeef/files/desktop-2.patch (renamed from media-sound/deadbeef/files/deadbeef-0.6.2-remove-unity-trash.patch)27
-rw-r--r--media-sound/deadbeef/metadata.xml58
10 files changed, 186 insertions, 664 deletions
diff --git a/media-sound/deadbeef/Manifest b/media-sound/deadbeef/Manifest
index d456a0fb..c8a99ba9 100644
--- a/media-sound/deadbeef/Manifest
+++ b/media-sound/deadbeef/Manifest
@@ -1 +1 @@
-DIST deadbeef-0.6.2.tar.bz2 3495920 SHA256 3433b966683286c03ffbcc79b2201cd517f8dbf6b41da8600778dfa93cd64e1a SHA512 7caee245d7fa68e98ce5edc6aa6acc829d62c963f523c81e0406182a1aa36759219a8c0a2bdf010ac810f22b15acc81d06e8cab4ab820956c96cbc0a94423b7b WHIRLPOOL a8fc10c0f44f9f4d4eafb99a52f26efef34c2a1164d19b1f60693347a4b7a5564c6f7fafd394914149240a2a2f30926ce853bf42bbf3a07699bd8ba422a59f63
+DIST deadbeef-0.6.1.tar.bz2 3429924 SHA256 362b7d496eca487a09fa919e1b03ffb3c01034f1e2b05f09ea5a47aaa2f0af45 SHA512 0812f2d6b2ebc2ef1e65af9912546fa769e0e6d090f15cf3f2c4170bfa5aab03545cd63f26dcdcde905416801c0b56bd190cd1792f29eabaa318db212db99f90 WHIRLPOOL 2ac6f4abd70625c4f0898cb07e7b5ef645755136aee4b424af5e9d11c00b290dc75a467288e45bf35f2d25fc51fd76c12c58a58c966ea6fdf9ae4e1cea512339
diff --git a/media-sound/deadbeef/deadbeef-0.6.1.ebuild b/media-sound/deadbeef/deadbeef-0.6.1.ebuild
new file mode 100644
index 00000000..c4cd4fe0
--- /dev/null
+++ b/media-sound/deadbeef/deadbeef-0.6.1.ebuild
@@ -0,0 +1,182 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+inherit fdo-mime gnome2-utils eutils versionator
+
+MY_PV="$(replace_version_separator 3 '-')"
+
+SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.bz2
+ http://sourceforge.net/projects/${PN}/files/${PN}-${MY_PV}.tar.bz2/download -> ${PN}-${MY_PV}.tar.bz2"
+KEYWORDS="x86 amd64"
+
+DESCRIPTION="foobar2k-like music player"
+HOMEPAGE="http://deadbeef.sourceforge.net/"
+
+LICENSE="GPL-2
+ LGPL-2.1
+ ZLIB
+ psf? ( BSD XMAME )
+ dumb? ( DUMB-0.9.2 )
+ shn? ( shorten )"
+SLOT="0"
+IUSE="adplug aac alac alsa psf ape cdda cover cover-imlib2 dts dumb converter curl ffmpeg flac gme
+ hotkeys lastfm m3u midi mms mp3 musepack nls notify nullout oss pulseaudio rpath mono2stereo pltbrowser
+ shellexec shn sid sndfile src static supereq threads tta vorbis vtx wavpack zip gtk3 +gtk2 wma"
+
+REQUIRED_USE="
+ cover? ( curl )
+ lastfm? ( curl )
+ || ( alsa oss pulseaudio nullout )"
+
+LANGS="be bg bn ca cs da de el en_GB es et eu fa fi fr gl he hr hu id it ja kk km lg
+ lt nl pl pt pt_BR ro ru si_LK sk sl sr sr@latin sv te tr ug uk vi zh_CN zh_TW"
+
+for lang in ${LANGS}; do
+ IUSE+=" linguas_${lang}"
+done
+
+RDEPEND="aac? ( media-libs/faad2 )
+ adplug? ( media-libs/adplug )
+ alsa? ( media-libs/alsa-lib )
+ alac? ( media-libs/faad2 )
+ cdda? ( >=dev-libs/libcdio-0.90 media-libs/libcddb )
+ cover? ( media-libs/imlib2 )
+ ffmpeg? ( !media-plugins/deadbeef-ffmpeg >=virtual/ffmpeg-9 )
+ flac? ( media-libs/flac )
+ gtk2? ( x11-libs/gtk+:2 x11-libs/gtkglext )
+ gtk3? ( x11-libs/gtk+:3 )
+ notify? ( sys-apps/dbus )
+ midi? ( media-sound/timidity-freepats )
+ mms? ( media-libs/libmms )
+ mp3? ( media-libs/libmad )
+ musepack? ( media-sound/musepack-tools )
+ pulseaudio? ( media-sound/pulseaudio )
+ sndfile? ( media-libs/libsndfile )
+ src? ( media-libs/libsamplerate )
+ vorbis? ( media-libs/libvorbis )
+ wavpack? ( media-sound/wavpack )
+ zip? ( dev-libs/libzip
+ sys-libs/zlib )
+ curl? ( net-misc/curl )"
+
+DEPEND="
+ dev-util/intltool
+ ${RDEPEND}"
+
+QA_TEXTRELS="usr/lib/deadbeef/ffap.so.0.0.0"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+pkg_setup() {
+ if use psf || use dumb || use shn && use static ; then
+ die "ao/converter/dumb or shn plugins can't be builded statically"
+ fi
+}
+
+src_prepare() {
+ if [[ -f autogen.sh ]];then
+ touch config.rpath
+ sh autogen.sh
+ fi
+
+ 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
+
+ # remove unity trash
+ epatch "${FILESDIR}/desktop-2.patch"
+
+ for lang in ${LANGS};do
+ for x in ${lang};do
+ if ! use linguas_${x}; then
+ sed -e "s|^${x}$||" -i "po/LINGUAS"
+ fi
+ done
+ done
+}
+
+src_configure() {
+ my_config="--disable-portable
+ --docdir=/usr/share/${PN}
+ --disable-coreaudio
+ $(use_enable aac)
+ $(use_enable adplug)
+ $(use_enable alac)
+ $(use_enable alsa)
+ $(use_enable ape ffap)
+ $(use_enable cdda)
+ $(use_enable converter)
+ $(use_enable cover artwork)
+ $(use_enable cover-imlib2 artwork-imlib2)
+ $(use_enable curl vfs-curl)
+ $(use_enable dts dca)
+ $(use_enable dumb)
+ $(use_enable ffmpeg)
+ $(use_enable flac)
+ $(use_enable gme)
+ $(use_enable gtk2)
+ $(use_enable gtk3)
+ $(use_enable hotkeys)
+ $(use_enable lastfm lfm)
+ $(use_enable m3u)
+ $(use_enable midi wildmidi)
+ $(use_enable mms)
+ $(use_enable mono2stereo)
+ $(use_enable mp3 mad)
+ $(use_enable musepack)
+ $(use_enable nls)
+ $(use_enable notify)
+ $(use_enable nullout)
+ $(use_enable oss)
+ $(use_enable psf)
+ $(use_enable pulseaudio pulse)
+ $(use_enable pltbrowser)
+ $(use_enable rpath)
+ $(use_enable shellexec)
+ $(use_enable shellexec shellexecui)
+ $(use_enable shn)
+ $(use_enable sid)
+ $(use_enable sndfile)
+ $(use_enable src)
+ $(use_enable static)
+ $(use_enable static staticlink)
+ $(use_enable supereq)
+ $(use_enable threads)
+ $(use_enable tta)
+ $(use_enable vorbis)
+ $(use_enable vtx)
+ $(use_enable wavpack)
+ $(use_enable zip vfs-zip)
+ $(use_enable wma)"
+
+ econf ${my_config}
+}
+pkg_preinst() {
+ use linguas_pt_BR || rm -f "${D}/usr/share/deadbeef/help.pt_BR.txt"
+ use linguas_ru || rm -f "${D}/usr/share/deadbeef/help.ru.txt"
+ gnome2_icon_savelist
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ if use midi ; then
+ einfo "enable manually freepats support for timidity via"
+ einfo "eselect timidity set --global freepats"
+ fi
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+ gnome2_schemas_update
+}
diff --git a/media-sound/deadbeef/deadbeef-0.6.2.ebuild b/media-sound/deadbeef/deadbeef-0.6.2.ebuild
deleted file mode 100644
index 85158513..00000000
--- a/media-sound/deadbeef/deadbeef-0.6.2.ebuild
+++ /dev/null
@@ -1,243 +0,0 @@
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-PLOCALES="be bg bn ca cs da de el en_GB es et eu fa fi fr gl he hr hu id it ja kk km lg
- lt nl pl pt pt_BR ro ru si_LK sk sl sr sr@latin sv te tr ug uk vi zh_CN zh_TW"
-
-PLOCALE_BACKUP="en_GB"
-
-inherit autotools eutils fdo-mime gnome2-utils l10n
-
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-KEYWORDS="*"
-
-DESCRIPTION="foobar2k-like music player"
-HOMEPAGE="http://deadbeef.sourceforge.net"
-
-RESTRICT="mirror"
-
-LICENSE="BSD
- UNICODE
- ZLIB
- aac? ( GPL GPL-2 )
- adplug? ( LGPL-2.1 ZLIB )
- alac? ( MIT GPL-2 )
- alsa? ( GPL-2 )
- cdda? ( GPL-2 LGPL-2 GPL-3 )
- cover? ( ZLIB )
- converter? ( GPL-2 )
- curl? ( curl ZLIB )
- dts? ( GPL-2 )
- dumb? ( DUMB-0.9.3 ZLIB )
- equalizer? ( GPL-2 )
- ffmpeg? ( GPL-2 )
- flac? ( BSD )
- gme? ( LGPL-2.1 )
- gtk2? ( GPL-2 )
- gtk3? ( GPL-2 )
- hotkeys? ( ZLIB )
- lastfm? ( GPL-2 )
- libav? ( GPL-2 )
- libnotify? ( GPL-2 )
- libsamplerate? ( GPL-2 )
- m3u? ( ZLIB )
- mac? ( GPL-2 )
- midi? ( LGPL-2.1 ZLIB )
- mms? ( GPL-2 ZLIB )
- mono2stereo? ( ZLIB )
- mp3? ( GPL-2 ZLIB )
- musepack? ( BSD ZLIB )
- nullout? ( ZLIB )
- oss? ( GPL-2 )
- playlist-browser? ( ZLIB )
- psf? ( BSD GPL MAME ZLIB )
- pulseaudio? ( GPL-2 )
- shell-exec? ( GPL-2 )
- shn? ( shorten ZLIB )
- sid? ( GPL-2 )
- sndfile? ( GPL-2 LGPL-2 )
- tta? ( BSD ZLIB )
- vorbis? ( BSD ZLIB )
- vtx? ( GPL-2 ZLIB )
- wavpack? ( BSD )
- wma? ( GPL-2 LGPL-2 ZLIB )
- zip? ( ZLIB )"
-
-SLOT="0"
-
-IUSE="+alsa +flac +gtk2 +hotkeys +m3u +mp3 +sndfile +vorbis
- aac adplug alac cdda converter cover cover-imlib2 cover-network curl dts dumb equalizer
- ffmpeg gme gtk3 lastfm libav libnotify libsamplerate mac midi mms mono2stereo musepack nls nullout
- oss playlist-browser psf pulseaudio shell-exec shn sid tta unity vtx wavpack wma zip"
-
-REQUIRED_USE="converter? ( || ( gtk2 gtk3 ) )
- cover-imlib2? ( cover )
- cover-network? ( cover curl )
- cover? ( || ( gtk2 gtk3 ) )
- ffmpeg? ( !libav )
- lastfm? ( curl )
- playlist-browser? ( || ( gtk2 gtk3 ) )
- || ( alsa oss pulseaudio nullout )"
-
-PDEPEND="media-plugins/deadbeef-plugins-meta:0"
-
-RDEPEND="dev-libs/glib:2
- aac? ( media-libs/faad2:0 )
- adplug? ( media-libs/adplug:0 )
- alsa? ( media-libs/alsa-lib:0 )
- alac? ( media-libs/faad2:0 )
- cdda? ( dev-libs/libcdio:0=
- media-libs/libcddb:0 )
- cover? ( cover-imlib2? ( media-libs/imlib2:0 )
- media-libs/libpng:0=
- virtual/jpeg:0
- x11-libs/gdk-pixbuf:2[jpeg] )
- curl? ( net-misc/curl:0 )
- ffmpeg? ( media-video/ffmpeg:0= )
- libav? ( media-video/libav:0= )
- flac? ( media-libs/libogg
- media-libs/flac:0 )
- gme? ( sys-libs/zlib:0 )
- gtk2? ( dev-libs/atk:0
- x11-libs/cairo:0
- x11-libs/gtk+:2
- x11-libs/pango:0 )
- gtk3? ( x11-libs/gtk+:3 )
- hotkeys? ( x11-libs/libX11:0 )
- libnotify? ( sys-apps/dbus:0 )
- libsamplerate? ( media-libs/libsamplerate:0 )
- mac? ( x86? ( dev-lang/yasm:0 )
- amd64? ( dev-lang/yasm:0 ) )
- midi? ( media-sound/timidity-freepats:0 )
- mp3? ( media-libs/libmad:0 )
- psf? ( sys-libs/zlib:0 )
- pulseaudio? ( media-sound/pulseaudio:0 )
- sndfile? ( media-libs/libsndfile:0 )
- vorbis? ( media-libs/libogg:0
- media-libs/libvorbis:0 )
- wavpack? ( media-sound/wavpack:0 )
- zip? ( dev-libs/libzip:0 )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig:0
- nls? ( dev-util/intltool:0
- virtual/libintl:0 )"
-
-src_prepare() {
- if ! use_if_iuse linguas_pt_BR && use_if_iuse linguas_ru ; then
- epatch "${FILESDIR}/${PN}-remove-pt_br-help-translation.patch"
- rm "${S}/translation/help.pt_BR.txt" || die
- fi
-
- if ! use_if_iuse linguas_ru && use_if_iuse linguas_pt_BR ; then
- epatch "${FILESDIR}/${PN}-remove-ru-help-translation.patch"
- rm "${S}/translation/help.ru.txt" || die
- fi
-
- if ! use_if_iuse linguas_pt_BR && ! use_if_iuse linguas_ru ; then
- epatch "${FILESDIR}/${PN}-remove-pt_br-and-ru-help-translation.patch"
- rm "${S}/translation/help.pt_BR.txt" "${S}/translation/help.ru.txt" || die
- fi
-
- 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" || die
- fi
-
- if ! use unity ; then
- # remove unity trash
- epatch "${FILESDIR}/${P}-remove-unity-trash.patch"
- fi
-
- config_rpath_update "${S}/config.rpath" || die
- eautoreconf
-}
-
-src_configure() {
- if use shell-exec ; then
- if use gtk2 || use gtk3 ; then
- shell-exec-ui="--enable-shellexec-ui"
- else
- shell-exec-ui="--disable-shellexec-ui"
- fi
- fi
-
- econf --disable-coreaudio \
- --disable-portable \
- --disable-static \
- --docdir=/usr/share/${PN} \
- ${shell-exec-ui} \
- $(use_enable aac) \
- $(use_enable adplug) \
- $(use_enable alac) \
- $(use_enable alsa) \
- $(use_enable cdda) \
- $(use_enable converter) \
- $(use_enable cover artwork) \
- $(use_enable cover-imlib2 artwork-imlib2) \
- $(use_enable cover-network artwork-network) \
- $(use_enable curl vfs-curl) \
- $(use_enable dts dca) \
- $(use_enable dumb) \
- $(use_enable equalizer supereq) \
- $(use_enable ffmpeg) \
- $(use_enable flac) \
- $(use_enable gme) \
- $(use_enable gtk2) \
- $(use_enable gtk3) \
- $(use_enable hotkeys) \
- $(use_enable lastfm lfm) \
- $(use_enable libav ffmpeg) \
- $(use_enable libnotify notify) \
- $(use_enable libsamplerate src) \
- $(use_enable m3u) \
- $(use_enable mac ffap) \
- $(use_enable midi wildmidi) \
- $(use_enable mms) \
- $(use_enable mono2stereo) \
- $(use_enable mp3 mad) \
- $(use_enable musepack) \
- $(use_enable nls) \
- $(use_enable nullout) \
- $(use_enable oss) \
- $(use_enable playlist-browser pltbrowser) \
- $(use_enable psf) \
- $(use_enable pulseaudio pulse) \
- $(use_enable shell-exec shellexec) \
- $(use_enable shn) \
- $(use_enable sid) \
- $(use_enable sndfile) \
- $(use_enable tta) \
- $(use_enable vorbis) \
- $(use_enable vtx) \
- $(use_enable wavpack) \
- $(use_enable wma) \
- $(use_enable zip vfs-zip)
-}
-
-pkg_preinst() {
- if use gtk2 || use gtk3 ; then
- gnome2_icon_savelist
- fi
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
-
- if use gtk2 || use gtk3 ; then
- gnome2_icon_cache_update
- fi
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
-
- if use gtk2 || use gtk3 ; then
- gnome2_icon_cache_update
- fi
-}
diff --git a/media-sound/deadbeef/deadbeef-9999.ebuild b/media-sound/deadbeef/deadbeef-9999.ebuild
deleted file mode 100644
index 75e750df..00000000
--- a/media-sound/deadbeef/deadbeef-9999.ebuild
+++ /dev/null
@@ -1,248 +0,0 @@
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-PLOCALES="be bg bn ca cs da de el en_GB es et eu fa fi fr gl he hr hu id it ja kk km lg
- lt nl pl pt pt_BR ro ru si_LK sk sl sr sr@latin sv te tr ug uk vi zh_CN zh_TW"
-
-PLOCALE_BACKUP="en_GB"
-
-inherit autotools eutils fdo-mime git-r3 gnome2-utils l10n
-
-EGIT_REPO_URI="https://github.com/Alexey-Yakovenko/${PN}.git"
-EGIT_BRANCH="master"
-
-KEYWORDS=""
-
-DESCRIPTION="foobar2k-like music player"
-HOMEPAGE="http://deadbeef.sourceforge.net"
-
-LICENSE="BSD
- UNICODE
- ZLIB
- aac? ( GPL GPL-2 )
- adplug? ( LGPL-2.1 ZLIB )
- alac? ( MIT GPL-2 )
- alsa? ( GPL-2 )
- cdda? ( GPL-2 LGPL-2 GPL-3 )
- cover? ( ZLIB )
- converter? ( GPL-2 )
- curl? ( curl ZLIB )
- dts? ( GPL-2 )
- dumb? ( DUMB-0.9.3 ZLIB )
- equalizer? ( GPL-2 )
- ffmpeg? ( GPL-2 )
- flac? ( BSD )
- gme? ( LGPL-2.1 )
- gtk2? ( GPL-2 )
- gtk3? ( GPL-2 )
- hotkeys? ( ZLIB )
- lastfm? ( GPL-2 )
- libav? ( GPL-2 )
- libnotify? ( GPL-2 )
- libsamplerate? ( GPL-2 )
- m3u? ( ZLIB )
- mac? ( GPL-2 )
- mad? ( GPL-2 ZLIB )
- midi? ( LGPL-2.1 ZLIB )
- mms? ( GPL-2 ZLIB )
- mono2stereo? ( ZLIB )
- mpg123? ( LGPL-2.1 ZLIB )
- musepack? ( BSD ZLIB )
- nullout? ( ZLIB )
- oss? ( GPL-2 )
- playlist-browser? ( ZLIB )
- psf? ( BSD GPL MAME ZLIB )
- pulseaudio? ( GPL-2 )
- shell-exec? ( GPL-2 )
- shn? ( shorten ZLIB )
- sid? ( GPL-2 )
- sndfile? ( GPL-2 LGPL-2 )
- tta? ( BSD ZLIB )
- vorbis? ( BSD ZLIB )
- vtx? ( GPL-2 ZLIB )
- wavpack? ( BSD )
- wma? ( GPL-2 LGPL-2 ZLIB )
- zip? ( ZLIB )"
-
-SLOT="0"
-
-IUSE="+alsa +flac +gtk2 +hotkeys +m3u +mad +mp3 +sndfile +vorbis
- aac adplug alac cdda converter cover cover-imlib2 cover-network curl dts dumb equalizer
- ffmpeg gme gtk3 lastfm libav libnotify libsamplerate mac midi mms mono2stereo mpg123 musepack nls
- nullout oss playlist-browser psf pulseaudio sc68 shell-exec shn sid tta unity vtx wavpack wma zip"
-
-REQUIRED_USE="converter? ( || ( gtk2 gtk3 ) )
- cover-imlib2? ( cover )
- cover-network? ( cover curl )
- cover? ( || ( gtk2 gtk3 ) )
- ffmpeg? ( !libav )
- lastfm? ( curl )
- mp3? ( || ( mad mpg123 ) )
- playlist-browser? ( || ( gtk2 gtk3 ) )
- || ( alsa oss pulseaudio nullout )"
-
-PDEPEND="media-plugins/deadbeef-plugins-meta:0"
-
-RDEPEND="dev-libs/glib:2
- aac? ( media-libs/faad2:0 )
- adplug? ( media-libs/adplug:0 )
- alsa? ( media-libs/alsa-lib:0 )
- alac? ( media-libs/faad2:0 )
- cdda? ( dev-libs/libcdio:0=
- media-libs/libcddb:0 )
- cover? ( cover-imlib2? ( media-libs/imlib2:0 )
- media-libs/libpng:0=
- virtual/jpeg:0
- x11-libs/gdk-pixbuf:2[jpeg] )
- curl? ( net-misc/curl:0 )
- ffmpeg? ( media-video/ffmpeg:0= )
- libav? ( media-video/libav:0= )
- flac? ( media-libs/flac:0 )
- gme? ( sys-libs/zlib:0 )
- gtk2? ( dev-libs/atk:0
- dev-libs/jansson:0
- x11-libs/cairo:0
- x11-libs/gtk+:2
- x11-libs/pango:0 )
- gtk3? ( dev-libs/jansson:0
- x11-libs/gtk+:3 )
- hotkeys? ( x11-libs/libX11:0 )
- libnotify? ( sys-apps/dbus:0 )
- libsamplerate? ( media-libs/libsamplerate:0 )
- mac? ( x86? ( dev-lang/yasm:0 )
- amd64? ( dev-lang/yasm:0 ) )
- mad? ( media-libs/libmad:0 )
- midi? ( media-sound/timidity-freepats:0 )
- mpg123? ( media-sound/mpg123:0 )
- psf? ( sys-libs/zlib:0 )
- pulseaudio? ( media-sound/pulseaudio:0 )
- sndfile? ( media-libs/libsndfile:0 )
- vorbis? ( media-libs/libogg:0
- media-libs/libvorbis:0 )
- wavpack? ( media-sound/wavpack:0 )
- zip? ( dev-libs/libzip:0 )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig:0
- nls? ( dev-util/intltool:0
- virtual/libintl:0 )"
-
-src_prepare() {
- if ! use_if_iuse linguas_pt_BR && use_if_iuse linguas_ru ; then
- epatch "${FILESDIR}/${PN}-remove-pt_br-help-translation.patch"
- rm "${S}/translation/help.pt_BR.txt" || die
- fi
-
- if ! use_if_iuse linguas_ru && use_if_iuse linguas_pt_BR ; then
- epatch "${FILESDIR}/${PN}-remove-ru-help-translation.patch"
- rm "${S}/translation/help.ru.txt" || die
- fi
-
- if ! use_if_iuse linguas_pt_BR && ! use_if_iuse linguas_ru ; then
- epatch "${FILESDIR}/${PN}-remove-pt_br-and-ru-help-translation.patch"
- rm "${S}/translation/help.pt_BR.txt" "${S}/translation/help.ru.txt" || die
- fi
-
- 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" || die
- fi
-
- if ! use unity ; then
- # remove unity trash
- epatch "${FILESDIR}/${PN}-0.6.3-remove-unity-trash.patch"
- fi
-
- config_rpath_update "${S}/config.rpath"
- eautoreconf
-}
-
-src_configure() {
- if use shell-exec ; then
- if use gtk2 || use gtk3 ; then
- shell-exec-ui="--enable-shellexec-ui"
- else
- shell-exec-ui="--disable-shellexec-ui"
- fi
- fi
-
- econf --disable-coreaudio \
- --disable-portable \
- --disable-static \
- --docdir=/usr/share/${PN} \
- ${shell-exec-ui} \
- $(use_enable aac) \
- $(use_enable adplug) \
- $(use_enable alac) \
- $(use_enable alsa) \
- $(use_enable cdda) \
- $(use_enable converter) \
- $(use_enable cover artwork) \
- $(use_enable cover-imlib2 artwork-imlib2) \
- $(use_enable cover-network artwork-network) \
- $(use_enable curl vfs-curl) \
- $(use_enable dts dca) \
- $(use_enable dumb) \
- $(use_enable equalizer supereq) \
- $(use_enable ffmpeg) \
- $(use_enable flac) \
- $(use_enable gme) \
- $(use_enable gtk2) \
- $(use_enable gtk3) \
- $(use_enable hotkeys) \
- $(use_enable lastfm lfm) \
- $(use_enable libav ffmpeg) \
- $(use_enable libnotify notify) \
- $(use_enable libsamplerate src) \
- $(use_enable m3u) \
- $(use_enable mac ffap) \
- $(use_enable mad libmad) \
- $(use_enable midi wildmidi) \
- $(use_enable mms) \
- $(use_enable mono2stereo) \
- $(use_enable mpg123 libmpg123) \
- $(use_enable musepack) \
- $(use_enable nls) \
- $(use_enable nullout) \
- $(use_enable oss) \
- $(use_enable playlist-browser pltbrowser) \
- $(use_enable psf) \
- $(use_enable pulseaudio pulse) \
- $(use_enable sc68) \
- $(use_enable shell-exec shellexec) \
- $(use_enable shn) \
- $(use_enable sid) \
- $(use_enable sndfile) \
- $(use_enable tta) \
- $(use_enable vorbis) \
- $(use_enable vtx) \
- $(use_enable wavpack) \
- $(use_enable wma) \
- $(use_enable zip vfs-zip)
-}
-
-pkg_preinst() {
- if use gtk2 || use gtk3 ; then
- gnome2_icon_savelist
- fi
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
-
- if use gtk2 || use gtk3 ; then
- gnome2_icon_cache_update
- fi
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
-
- if use gtk2 || use gtk3 ; then
- gnome2_icon_cache_update
- fi
-}
diff --git a/media-sound/deadbeef/files/deadbeef-0.6.3-remove-unity-trash.patch b/media-sound/deadbeef/files/deadbeef-0.6.3-remove-unity-trash.patch
deleted file mode 100644
index 2671e652..00000000
--- a/media-sound/deadbeef/files/deadbeef-0.6.3-remove-unity-trash.patch
+++ /dev/null
@@ -1,55 +0,0 @@
---- deadbeef.desktop.in.org 2015-02-03 23:23:03.421428844 +0300
-+++ deadbeef.desktop.in 2015-02-03 23:23:22.451428905 +0300
-@@ -13,52 +13,3 @@
- Type=Application
- Icon=deadbeef
- X-PulseAudio-Properties=media.role=music
--
--X-Ayatana-Desktop-Shortcuts=Play;Pause;Stop;Next;Prev
--
--Keywords=Sound;Music;Audio;Player;Musicplayer;MP3
--
--[Play Shortcut Group]
--Name=Play
--Exec=deadbeef --play
--TargetEnvironment=Unity
--
--[Pause Shortcut Group]
--Name=Pause
--Exec=deadbeef --pause
--TargetEnvironment=Unity
--
--[Stop Shortcut Group]
--Name=Stop
--Exec=deadbeef --stop
--TargetEnvironment=Unity
--
--[Next Shortcut Group]
--Name=Next
--Exec=deadbeef --next
--TargetEnvironment=Unity
--
--[Prev Shortcut Group]
--Name=Prev
--Exec=deadbeef --prev
--TargetEnvironment=Unity
--
--[Desktop Action Play]
--Name=Play
--Exec=deadbeef --play
--
--[Desktop Action Pause]
--Name=Pause
--Exec=deadbeef --pause
--
--[Desktop Action Stop]
--Name=Stop
--Exec=deadbeef --stop
--
--[Desktop Action Next]
--Name=Next
--Exec=deadbeef --next
--
--[Desktop Action Previous]
--Name=Prev
--Exec=deadbeef --prev
diff --git a/media-sound/deadbeef/files/deadbeef-remove-pt_br-and-ru-help-translation.patch b/media-sound/deadbeef/files/deadbeef-remove-pt_br-and-ru-help-translation.patch
deleted file mode 100644
index ddcb0432..00000000
--- a/media-sound/deadbeef/files/deadbeef-remove-pt_br-and-ru-help-translation.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- Makefile.am 2014-09-13 13:00:26.945181716 +0400
-+++ Makefile.am 2014-09-13 13:00:36.425215841 +0400
-@@ -55,9 +55,7 @@
- docsdir = $(docdir)
-
- docs_DATA = README help.txt about.txt translators.txt ChangeLog\
-- COPYING.GPLv2 COPYING.LGPLv2.1\
-- translation/help.ru.txt\
-- translation/help.pt_BR.txt
-+ COPYING.GPLv2 COPYING.LGPLv2.1
-
- desktopdir = $(datadir)/applications
- desktop_DATA = deadbeef.desktop
diff --git a/media-sound/deadbeef/files/deadbeef-remove-pt_br-help-translation.patch b/media-sound/deadbeef/files/deadbeef-remove-pt_br-help-translation.patch
deleted file mode 100644
index ceb59c95..00000000
--- a/media-sound/deadbeef/files/deadbeef-remove-pt_br-help-translation.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- Makefile.am 2014-09-13 12:56:05.997575732 +0400
-+++ Makefile.am 2014-09-13 12:56:29.964328671 +0400
-@@ -56,8 +56,7 @@
-
- docs_DATA = README help.txt about.txt translators.txt ChangeLog\
- COPYING.GPLv2 COPYING.LGPLv2.1\
-- translation/help.ru.txt\
-- translation/help.pt_BR.txt
-+ translation/help.ru.txt
-
- desktopdir = $(datadir)/applications
- desktop_DATA = deadbeef.desktop
diff --git a/media-sound/deadbeef/files/deadbeef-remove-ru-help-translation.patch b/media-sound/deadbeef/files/deadbeef-remove-ru-help-translation.patch
deleted file mode 100644
index eac0337a..00000000
--- a/media-sound/deadbeef/files/deadbeef-remove-ru-help-translation.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- Makefile.am 2014-09-13 12:56:05.997575732 +0400
-+++ Makefile.am 2014-09-13 12:58:07.248012190 +0400
-@@ -56,7 +56,6 @@
-
- docs_DATA = README help.txt about.txt translators.txt ChangeLog\
- COPYING.GPLv2 COPYING.LGPLv2.1\
-- translation/help.ru.txt\
- translation/help.pt_BR.txt
-
- desktopdir = $(datadir)/applications
diff --git a/media-sound/deadbeef/files/deadbeef-0.6.2-remove-unity-trash.patch b/media-sound/deadbeef/files/desktop-2.patch
index 00e4303a..23899675 100644
--- a/media-sound/deadbeef/files/deadbeef-0.6.2-remove-unity-trash.patch
+++ b/media-sound/deadbeef/files/desktop-2.patch
@@ -1,12 +1,11 @@
---- deadbeef.desktop.in 2014-07-23 11:56:46.070555239 +0400
-+++ deadbeef.desktop.in 2014-07-23 11:57:11.720554547 +0400
-@@ -13,50 +13,3 @@
+--- deadbeef.desktop.in 2013-11-02 15:03:15.000000000 +0400
++++ /home/megabaks/deadbeef.desktop.in 2013-11-25 21:40:07.000000000 +0400
+@@ -13,29 +13,3 @@
Type=Application
Icon=deadbeef
X-PulseAudio-Properties=media.role=music
-
-X-Ayatana-Desktop-Shortcuts=Play;Pause;Stop;Next;Prev
--
-[Play Shortcut Group]
-Name=Play
-Exec=deadbeef --play
@@ -31,23 +30,3 @@
-Name=Prev
-Exec=deadbeef --prev
-TargetEnvironment=Unity
--
--[Desktop Action Play]
--Name=Play
--Exec=deadbeef --play
--
--[Desktop Action Pause]
--Name=Pause
--Exec=deadbeef --pause
--
--[Desktop Action Stop]
--Name=Stop
--Exec=deadbeef --stop
--
--[Desktop Action Next]
--Name=Next
--Exec=deadbeef --next
--
--[Desktop Action Previous]
--Name=Prev
--Exec=deadbeef --prev
diff --git a/media-sound/deadbeef/metadata.xml b/media-sound/deadbeef/metadata.xml
deleted file mode 100644
index 425ce4ac..00000000
--- a/media-sound/deadbeef/metadata.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer>
- <email>damex.pp@gmail.com</email>
- <name>Roman Kuzmitsky</name>
- </maintainer>
- <use>
- <flag name='aac'>Advanced Audio Coding (AAC) plugin</flag>
- <flag name='adplug'>Adplug plugin</flag>
- <flag name='alac'>Apple Lossless Audio Codec (ALAC) plugin</flag>
- <flag name='cdda'>Compact Disc Digital Audio (CDDA) plugin</flag>
- <flag name='converter'>Support for converting media files</flag>
- <flag name='cover'>Album artwork plugin</flag>
- <flag name='cover-imlib2'>Album artwork (with support for imlib2) plugin</flag>
- <flag name='cover-network'>Plugin for downloading album artwork from internet</flag>
- <flag name='curl'>cURL plugin</flag>
- <flag name='dts'>Digital Theater System (DTS) plugin</flag>
- <flag name='dumb'>Tracker music (MOD, S3M, XM, IT, STM, 669, PTM, PSM, MTM, DSM, ASYLUM AMF, UMX, J2B) plugin</flag>
- <flag name='equalizer'>Equalizer plugin</flag>
- <flag name='ffmpeg'>FFmpeg plugin</flag>
- <flag name='flac'>Free Lossless Audio Codec (FLAC) plugin</flag>
- <flag name='gme'>Game Music Emu (NSF, AY and other formats) plugin</flag>
- <flag name='gtk2'>GTK2 based user interface</flag>
- <flag name='gtk3'>GTK3 based user interface</flag>
- <flag name='hotkeys'>Hotkeys support plugin</flag>
- <flag name='lastfm'>Last.fm scrobbling plugin</flag>
- <flag name='libav'>Libav plugin</flag>
- <flag name='libnotify'>Notification daemon support plugin</flag>
- <flag name='libsamplerate'>Sample rate conversion plugin</flag>
- <flag name='m3u'>m3u playlist plugin</flag>
- <flag name='mac'>Monkey's Audio plugin</flag>
- <flag name='mad'>MPEG-1/2/2.5 Layer 3 (MP3) support through mad/libmad</flag>
- <flag name='midi'>midi support (via timidity) plugin</flag>
- <flag name='mms'>Microsoft Media Server (MMS) plugin</flag>
- <flag name='mono2stereo'>mono2stereo plugin</flag>
- <flag name='mp3'>MPEG-1/2/2.5 Layer 3 (MP3) support plugin. It is a virtual use for mad/libmad or mpg123/libmpg123 since deadbeef 0.6.3</flag>
- <flag name='mpg123'>MPEG-1/2/2.5 Layer 3 (MP3) support through mpg123/libmpg123</flag>
- <flag name='nls'>Native Language Support (NLS)</flag>
- <flag name='nullout'>NULL output plugin</flag>
- <flag name='oss'>Open Sound System (OSS) output plugin</flag>
- <flag name='playlist-browser'>Playlist browser user interface plugin</flag>
- <flag name='psf'>AOSDK-based PSF(QSF,SSF,DSF) plugin</flag>
- <flag name='pulseaudio'>PulseAudio output plugin</flag>
- <flag name='sc68'>Atari ST and Amiga music plugin</flag>
- <flag name='shell-exec'>Support for running shell commands</flag>
- <flag name='shn'>Shorten (SHN) plugin</flag>
- <flag name='sid'>Commodore64 SID music player plugin</flag>
- <flag name='sndfile'>PCM wave support (via libsndfile) plugin</flag>
- <flag name='tta'>True Audio TTA plugin</flag>
- <flag name='vorbis'>Ogg Vorbis plugin</flag>
- <flag name='unity'>Gnome Unity support</flag>
- <flag name='vtx'>Libayemy VTX ZX-Spectrum music player plugin</flag>
- <flag name='wavpack'>WavPack plugin</flag>
- <flag name='wma'>Windows media audio plugin</flag>
- <flag name='zip'>vfs_zip plugin</flag>
- </use>
-</pkgmetadata>