summaryrefslogtreecommitdiff
path: root/media-sound/deadbeef
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-08-21 23:14:26 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-08-21 23:14:26 +0100
commit7c59acba5699c9c58090a7a738669669a7307023 (patch)
treed51d27d020895a6b7a3298d9d1b9846c1fcb59a0 /media-sound/deadbeef
parente2db47eaae00ec33f8971db44b68645c5d3b9590 (diff)
gentoo resync : 21.08.2021
Diffstat (limited to 'media-sound/deadbeef')
-rw-r--r--media-sound/deadbeef/Manifest2
-rw-r--r--media-sound/deadbeef/deadbeef-1.8.8.ebuild191
2 files changed, 193 insertions, 0 deletions
diff --git a/media-sound/deadbeef/Manifest b/media-sound/deadbeef/Manifest
index 3a1aa8a21b35..15377f07a8bb 100644
--- a/media-sound/deadbeef/Manifest
+++ b/media-sound/deadbeef/Manifest
@@ -1,6 +1,8 @@
AUX deadbeef-use-ffmpeg-plugin-for-ape-by-default.patch 492 BLAKE2B d6ed36829d7ed139c43b6aa65c940f07e3f023d0554c258a2557c528d75e85c7dd2ca57eecef56088383a3b7b0b4f12109eb899f2847b86953421e826777c954 SHA512 0cec1ae38cf48b3f2ea53f74a6348d0217b1b3f017b836489d5b520f09ad76b6526cd3add48ed23871bc86feb7f7ed697cf6a62164a202be1ecabfd947e895f6
DIST deadbeef-1.8.4.tar.gz 13049446 BLAKE2B a6c052b3b0aa1f74b49cf29be94e235d3dfd3d3f07ed9e1d05a4fc32036e591633eaff4ab59329cf6895828c9a674eec86b62e4818784db5f8e47eed089c80eb SHA512 18c54ae2c7931419ea06f3eb581cc8e704fa6eb87d330fc09f7295f4a8ef6e88b6f8c314223c34c321cd2a54f14cb6911add41602250c39c1b1c1edbf64d63b7
DIST deadbeef-1.8.7.tar.bz2 5029039 BLAKE2B f6ae0d664553435fca566593d715f8f9fab13711bb0e0488c80b9c7ff88a28425d1e3de2ee4c57b87722705c5ede53e0390b81cdbe6ce804d781dfe934dc21e9 SHA512 49a9610f8aa8d9853cd4f9a38d103f9a902993a5ae1990937a3ac5a14a4f8533f4233002893875aedf45f737d1a95c7cea189c61d6387bd8be7f3535d60c96eb
+DIST deadbeef-1.8.8.tar.bz2 5083407 BLAKE2B 69fd2cbaf131b3e44b426163ce6a83479bb1aff0e088c4beea09d747750f6f20b1e297eab1dd1ae0446d2af0aaf28fe0cc7c9f9e3e73fe031d369ba2f5d809ca SHA512 399f0e70eca5e102a9e73ff03199c89c6f28f3e0da96e793316d1af83f00e71f09f6cc81a3fd0b0f0d52fe9e0195a3b9ffb0cf7e7708c3ea7085f33a5ec08b47
EBUILD deadbeef-1.8.4.ebuild 3649 BLAKE2B efcbfeafd13306dfded91d5218592b7a07374a7f43e65b85fd32bca7d51f13b9fbde9e9cc955c6506258ac8fdcb7633ef747a932bd4d171aea4c589fc21ef8bf SHA512 3fac53f58ebab5797c40e824a7229b54c009ba0a6c082b547e38d06dd1233c6724b09b5f2e16db1f5cc898afd03585a60a5f9171d08c7c70c38d721e0e6854d0
EBUILD deadbeef-1.8.7-r1.ebuild 4008 BLAKE2B b395224370b7e2161772565901bf439d8482910aa190a289092ceb9e93c45b04abc0e922155f96f4918f23b866047d078f6a70d0716dc974b676fe4c779f1bb4 SHA512 f89ec2e45a8997c51286c9db11b61ea2b384a7cb6ebc34f02440e3348f3c7a43dd1a00cd8c7ded9ea9a631b8ae66cc12fbaa22a09c1df228cc632c40bafe1ca8
+EBUILD deadbeef-1.8.8.ebuild 4008 BLAKE2B b395224370b7e2161772565901bf439d8482910aa190a289092ceb9e93c45b04abc0e922155f96f4918f23b866047d078f6a70d0716dc974b676fe4c779f1bb4 SHA512 f89ec2e45a8997c51286c9db11b61ea2b384a7cb6ebc34f02440e3348f3c7a43dd1a00cd8c7ded9ea9a631b8ae66cc12fbaa22a09c1df228cc632c40bafe1ca8
MISC metadata.xml 832 BLAKE2B c3eaa58304b47d9b0f5b5c4fa4acae25059168b8fe701c6d6026b29308c83701c48fe94af352143cb0c6f395345bb603aeb0e4caa1dfda0569b15596c983f2e9 SHA512 233a07eb726d61324a0794d4a2dbff75c99b33a9b57e10fc6ebc46fa0e029ebf7191d2241b2f45cdb8fc95fdb0d8046e1420a98c7263b57561e5055472b032cd
diff --git a/media-sound/deadbeef/deadbeef-1.8.8.ebuild b/media-sound/deadbeef/deadbeef-1.8.8.ebuild
new file mode 100644
index 000000000000..4c8c5def5bcc
--- /dev/null
+++ b/media-sound/deadbeef/deadbeef-1.8.8.ebuild
@@ -0,0 +1,191 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools xdg flag-o-matic plocale
+
+DESCRIPTION="DeaDBeeF is a modular audio player similar to foobar2000"
+HOMEPAGE="https://deadbeef.sourceforge.io/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="
+ GPL-2
+ LGPL-2.1
+ wavpack? ( BSD )
+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aac alsa cdda converter cover dts ffmpeg flac +hotkeys lastfm mp3 musepack nls notify nullout opus oss pulseaudio shellexec +supereq threads vorbis wavpack"
+
+REQUIRED_USE="
+ || ( alsa oss pulseaudio nullout )
+"
+
+DEPEND="
+ x11-libs/gtk+:3
+ net-misc/curl:0=
+ dev-libs/jansson
+ aac? ( media-libs/faad2 )
+ alsa? ( media-libs/alsa-lib )
+ cdda? (
+ dev-libs/libcdio:0=
+ media-libs/libcddb
+ dev-libs/libcdio-paranoia:0=
+ )
+ cover? ( media-libs/imlib2[jpeg,png] )
+ dts? ( media-libs/libdca )
+ ffmpeg? ( media-video/ffmpeg )
+ flac? (
+ media-libs/flac
+ media-libs/libogg
+ )
+ mp3? ( media-sound/mpg123 )
+ musepack? ( media-sound/musepack-tools )
+ nls? ( virtual/libintl )
+ notify? (
+ sys-apps/dbus
+ dev-libs/libdispatch
+ )
+ opus? ( media-libs/opusfile )
+ pulseaudio? ( media-sound/pulseaudio )
+ vorbis? ( media-libs/libvorbis )
+ wavpack? ( media-sound/wavpack )
+ lastfm? ( dev-libs/libdispatch )
+"
+
+RDEPEND="${DEPEND}"
+BDEPEND="
+ dev-util/intltool
+ sys-devel/gettext
+ sys-devel/clang
+ sys-devel/llvm
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}/deadbeef-use-ffmpeg-plugin-for-ape-by-default.patch"
+)
+
+src_prepare() {
+ default
+
+ drop_from_linguas() {
+ sed "/${1}/d" -i "${S}/po/LINGUAS" || die
+ }
+
+ drop_and_stub() {
+ rm -rf "${1}"
+ mkdir "${1}"
+ cat > "${1}/Makefile.in" <<-EOF
+ all: nothing
+ install: nothing
+ nothing:
+ EOF
+ }
+
+ plocale_for_each_disabled_locale drop_from_linguas || die
+
+ eautopoint --force
+ eautoreconf
+
+ # Get rid of bundled gettext.
+ drop_and_stub "${S}/intl"
+
+ # Plugins that are undesired for whatever reason, candidates for unbundling and such.
+ for i in adplug alac dumb ffap mms gme mono2stereo psf sc60 shn sid soundtouch wma; do
+ drop_and_stub "${S}/plugins/${i}"
+ done
+
+ rm -rf "${S}/plugins/rg_scanner/ebur128"
+}
+
+src_configure () {
+ if ! tc-is-clang; then
+ AR=llvm-ar
+ CC=${CHOST}-clang
+ CXX=${CHOST}-clang++
+ NM=llvm-nm
+ RANLIB=llvm-ranlib
+
+ strip-unsupported-flags
+ fi
+
+ export HOST_CC="$(tc-getBUILD_CC)"
+ export HOST_CXX="$(tc-getBUILD_CXX)"
+ tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
+
+ local myconf=(
+ "--disable-static"
+ "--disable-staticlink"
+ "--disable-portable"
+ "--disable-rpath"
+
+ "--disable-libmad"
+ "--disable-gtk2"
+ "--disable-adplug"
+ "--disable-coreaudio"
+ "--disable-dumb"
+ "--disable-alac"
+ "--disable-ffap"
+ "--disable-gme"
+ "--disable-mms"
+ "--disable-mono2stereo"
+ "--disable-psf"
+ "--disable-rgscanner"
+ "--disable-sc68"
+ "--disable-shn"
+ "--disable-sid"
+ "--disable-sndfile"
+ "--disable-soundtouch"
+ "--disable-src"
+ "--disable-tta"
+ "--disable-vfs-zip"
+ "--disable-vtx"
+ "--disable-wildmidi"
+ "--disable-wma"
+
+ "$(use_enable alsa)"
+ "$(use_enable oss)"
+ "$(use_enable pulseaudio pulse)"
+ "$(use_enable mp3)"
+ "$(use_enable mp3 libmpg123)"
+ "$(use_enable nls)"
+ "$(use_enable vorbis)"
+ "$(use_enable threads)"
+ "$(use_enable flac)"
+ "$(use_enable supereq)"
+ "$(use_enable cdda)"
+ "$(use_enable cdda cdda-paranoia)"
+ "$(use_enable aac)"
+ "$(use_enable cover artwork)"
+ "$(use_enable cover artwork-imlib2)"
+ "$(use_enable cover artwork-network)"
+ "$(use_enable dts dca)"
+ "$(use_enable ffmpeg)"
+ "$(use_enable converter)"
+ "$(use_enable musepack)"
+ "$(use_enable notify)"
+ "$(use_enable nullout)"
+ "$(use_enable opus)"
+ "$(use_enable pulseaudio pulse)"
+ "$(use_enable shellexec)"
+ "$(use_enable shellexec shellexecui)"
+ "$(use_enable lastfm lfm)"
+ "$(use_enable wavpack)"
+
+ "--enable-gtk3"
+ "--enable-vfs-curl"
+ "--enable-shared"
+ "--enable-m3u"
+ "--enable-pltbrowser"
+ )
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -delete || die
+}