Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

FL-680: add deabeef to funtoo-overlay, move away faulty from sabayon

overlay
  • Loading branch information...
commit 9d5f294d2ec249196c742f0de7bbe9ed82963ea6 1 parent 2f0d4e0
@angryvincent angryvincent authored
View
2  funtoo/scripts/merge.py
@@ -51,7 +51,7 @@
"profiles/package.mask":"profiles/funtoo/1.0/linux-gnu/mix-ins/mate/package.mask/01-mate",
"profiles/package.use.mask":"profiles/funtoo/1.0/linux-gnu/mix-ins/mate/package.use.mask/01-mate"
}),
- InsertEbuilds(sabayon_for_gentoo, select=["app-admin/equo", "app-admin/matter", "media-sound/deadbeef", "sys-apps/entropy", "sys-apps/entropy-server", "sys-apps/entropy-client-services","app-admin/rigo", "sys-apps/rigo-daemon", "sys-apps/magneto-core", "x11-misc/magneto-gtk", "x11-misc/magneto-gtk3", "kde-misc/magneto-kde", "app-misc/magneto-loader"], replace=True),
+ InsertEbuilds(sabayon_for_gentoo, select=["app-admin/equo", "app-admin/matter", "sys-apps/entropy", "sys-apps/entropy-server", "sys-apps/entropy-client-services","app-admin/rigo", "sys-apps/rigo-daemon", "sys-apps/magneto-core", "x11-misc/magneto-gtk", "x11-misc/magneto-gtk3", "kde-misc/magneto-kde", "app-misc/magneto-loader"], replace=True),
SyncDir(progress_overlay.root, "eclass"),
SyncDir(progress_overlay.root, "profiles/unpack_dependencies"),
SyncFiles(progress_overlay.root, {
View
1  media-sound/deadbeef/Manifest
@@ -0,0 +1 @@
+DIST deadbeef-0.5.6.tar.bz2 3279899 SHA256 17c123eb50e33c89403d8d3035b9132463a227a6905fd42bcbb2a3a5616cea5b SHA512 20d8d58e2df90078af2dd6583c7ae9d7b3b6f7d73cef1d823910614278779614c1544e839a886ab7ab972ad235220829d8e07dc1c959e98c94fc1e47299e5b4a WHIRLPOOL 9b7349c4664be4e98a935fb97393195cc4911d28e011a83c8f3d621b004ccb70f3e5e06129138eb3edf64b17c533b0b214a29e2fb71b96e7b6638b92d2a69947
View
176 media-sound/deadbeef/deadbeef-0.5.6.ebuild
@@ -0,0 +1,176 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit fdo-mime gnome2-utils 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="*"
+
+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
+ shellexec shn sid sndfile src static supereq threads tta vorbis vtx wavpack zip gtk3 +gtk2"
+
+REQUIRED_USE="
+ cover? ( curl )
+ lastfm? ( curl )"
+
+LANGS="be bg bn ca cs da de el en_GB eo es et fa fi fr gl he hr hu id it ja kk km lg lt nb nl pl pt
+ pt_BR ro ru si 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 )
+ 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 )
+ flac? ( media-libs/flac )
+ gtk2? ( x11-libs/gtk+:2 )
+ 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}"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+QA_TEXTRELS="usr/lib/deadbeef/ffap.so.0.0.0"
+
+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 use ffmpeg ;then
+ sed -e 's|libavcodec >= 51.0.0 libavutil libavformat|deadbeef-libavcodec >= 51.0.0 deadbeef-libavutil deadbeef-libavformat|g' \
+ -e 's|libavcodec libavutil libavformat|deadbeef-libavcodec deadbeef-libavutil deadbeef-libavformat|g' \
+ -i configure
+ 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.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}
+ $(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 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)"
+
+ 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
+}
View
32 media-sound/deadbeef/files/desktop.patch
@@ -0,0 +1,32 @@
+--- orig/deadbeef.desktop.in 2012-10-18 13:58:43.000000000 +0400
++++ fixed/deadbeef.desktop.in 2012-10-18 13:58:08.000000000 +0400
+@@ -12,29 +12,3 @@
+ Terminal=false
+ Type=Application
+ Icon=deadbeef
+-
+-X-Ayatana-Desktop-Shortcuts=Play;Pause;Stop;Next;Prev
+-[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
Please sign in to comment.
Something went wrong with that request. Please try again.