diff options
-rw-r--r-- | media-sound/deadbeef/Manifest | 1 | ||||
-rw-r--r-- | media-sound/deadbeef/deadbeef-1.9.5-r3.ebuild | 194 | ||||
-rw-r--r-- | media-sound/deadbeef/files/deadbeef-1.9.2-drop-Werror.patch | 54 |
3 files changed, 0 insertions, 249 deletions
diff --git a/media-sound/deadbeef/Manifest b/media-sound/deadbeef/Manifest index 48fbfd8f6752..ad732eded48d 100644 --- a/media-sound/deadbeef/Manifest +++ b/media-sound/deadbeef/Manifest @@ -1,2 +1 @@ -DIST deadbeef-1.9.5.tar.bz2 5204015 BLAKE2B 45b9023807a5652c38f6cafd5ea0fca87e2872db264538f5c9d9ee4815281fe3f4e08eee5d43a083a67b3a9f646de24a90147d76f15622710d8f4adbdabe0c8d SHA512 c7a15f47fd8081a363e5cba732aa4ff4b1c311408728fbc5f7f47cf349bc112274a1d9fe0df8a58f09abf8f7656d914fb1baafa38fdf4dcb38fae7e1f70f682c DIST deadbeef-1.9.6.tar.bz2 5182123 BLAKE2B 2cf515dbc3175e04319075462e88d18ee2fae06e8b317d1cc0c958ac23498217bb0a02e0201f47a39dfd4c0092ba568b8aebe4c37c99b439d2dcc18a7848ba2e SHA512 6e507399f7452a66c5591e09d4309f2aab676992d048625c9b4d801ea40af6ce79862fb497e8c94efdf3a13572c964dca717b42f1c946f5ec4695dc38c1db572 diff --git a/media-sound/deadbeef/deadbeef-1.9.5-r3.ebuild b/media-sound/deadbeef/deadbeef-1.9.5-r3.ebuild deleted file mode 100644 index 88e73a3e7c96..000000000000 --- a/media-sound/deadbeef/deadbeef-1.9.5-r3.ebuild +++ /dev/null @@ -1,194 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools xdg flag-o-matic toolchain-funcs 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 ~riscv x86" -IUSE="aac alsa cdda converter cover dts ffmpeg flac +hotkeys lastfm libretro libsamplerate mp3 musepack nls notify +nullout opus oss pulseaudio pipewire sc68 shellexec +supereq threads vorbis wavpack" - -REQUIRED_USE=" - || ( alsa oss pulseaudio pipewire nullout ) -" - -DEPEND=" - x11-libs/gtk+:3 - net-misc/curl:= - dev-libs/jansson:= - aac? ( media-libs/faad2 ) - alsa? ( media-libs/alsa-lib ) - cdda? ( - dev-libs/libcdio:= - media-libs/libcddb - dev-libs/libcdio-paranoia:= - ) - cover? ( - media-libs/imlib2[jpeg,png] - ) - dts? ( media-libs/libdca ) - ffmpeg? ( media-video/ffmpeg:= ) - flac? ( - media-libs/flac:= - media-libs/libogg - ) - libsamplerate? ( media-libs/libsamplerate ) - mp3? ( media-sound/mpg123 ) - musepack? ( media-sound/musepack-tools ) - nls? ( virtual/libintl ) - notify? ( - sys-apps/dbus - ) - opus? ( media-libs/opusfile ) - pulseaudio? ( media-libs/libpulse ) - pipewire? ( media-video/pipewire ) - vorbis? ( media-libs/libvorbis ) - wavpack? ( media-sound/wavpack ) - dev-libs/libdispatch:= -" - -RDEPEND="${DEPEND}" -BDEPEND=" - dev-util/intltool - sys-devel/gettext - sys-devel/clang - sys-devel/llvm - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}/deadbeef-1.9.2-drop-Werror.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. (Avoid build failures with musl) - use elibc_musl || 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 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-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-shn" - "--disable-sid" - "--disable-sndfile" - "--disable-soundtouch" - "--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-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 pipewire)" - "$(use_enable sc68)" - "$(use_enable shellexec)" - "$(use_enable shellexec shellexecui)" - "$(use_enable lastfm lfm)" - "$(use_enable libretro)" - "$(use_enable libsamplerate src)" - "$(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 -} diff --git a/media-sound/deadbeef/files/deadbeef-1.9.2-drop-Werror.patch b/media-sound/deadbeef/files/deadbeef-1.9.2-drop-Werror.patch deleted file mode 100644 index ec005fc6c8c1..000000000000 --- a/media-sound/deadbeef/files/deadbeef-1.9.2-drop-Werror.patch +++ /dev/null @@ -1,54 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index e11ae7e..8e3c590 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -337,7 +337,7 @@ AS_IF([test "${have_iconv}" = "yes"], [ - AC_DEFINE(HAVE_LIBICONV,1,[Use libiconv instead of glibc iconv]) - ]) - --AX_CHECK_COMPILER_FLAGS(-msse2, HAVE_SSE2=1, [], -Werror) -+AX_CHECK_COMPILER_FLAGS(-msse2, HAVE_SSE2=1, []) - AS_IF([test "${HAVE_SSE2}"], [ - AC_DEFINE(HAVE_SSE2,1,[Support SSE2 instructions]) - ]) -diff --git a/plugins/gtkui/Makefile.am b/plugins/gtkui/Makefile.am -index 739cdbb..cc0dce9 100644 ---- a/plugins/gtkui/Makefile.am -+++ b/plugins/gtkui/Makefile.am -@@ -94,7 +94,7 @@ ddb_gui_GTK2_la_LDFLAGS = -module -avoid-version - - ddb_gui_GTK2_la_LIBADD = $(LDADD) $(GTK2_DEPS_LIBS) $(SM_LIBADD) ../libparser/libparser.la ../../shared/libtrkpropertiesutil.la ../../shared/libeqpreset.la ../../shared/libdeletefromdisk.la ../../shared/libtftintutil.la ../../analyzer/libanalyzer.la ../../scope/libscope.la $(JANSSON_LIBS) $(DISPATCH_LIBS) - --ddb_gui_GTK2_la_CFLAGS = -std=c99 -Werror -DGLIB_DISABLE_DEPRECATION_WARNINGS -DGDK_DISABLE_DEPRECATION_WARNINGS -DGTK_DISABLE_DEPRECATION_WARNINGS $(GTK2_DEPS_CFLAGS) $(SM_CFLAGS) $(JANSSON_CFLAGS) $(DISPATCH_CFLAGS) -DDDB_WARN_DEPRECATED=1 -+ddb_gui_GTK2_la_CFLAGS = -std=c99 -DGLIB_DISABLE_DEPRECATION_WARNINGS -DGDK_DISABLE_DEPRECATION_WARNINGS -DGTK_DISABLE_DEPRECATION_WARNINGS $(GTK2_DEPS_CFLAGS) $(SM_CFLAGS) $(JANSSON_CFLAGS) $(DISPATCH_CFLAGS) -DDDB_WARN_DEPRECATED=1 - - endif - -@@ -105,7 +105,7 @@ ddb_gui_GTK3_la_LDFLAGS = -module -avoid-version - - ddb_gui_GTK3_la_SOURCES = $(GTKUI_SOURCES_GTK3) - ddb_gui_GTK3_la_LIBADD = $(LDADD) $(GTK3_DEPS_LIBS) $(SM_LIBADD) ../libparser/libparser.la ../../shared/libtrkpropertiesutil.la ../../shared/libeqpreset.la ../../shared/libdeletefromdisk.la ../../shared/libtftintutil.la ../../analyzer/libanalyzer.la ../../scope/libscope.la $(JANSSON_LIBS) $(DISPATCH_LIBS) --ddb_gui_GTK3_la_CFLAGS = -std=c99 -Werror -DGLIB_DISABLE_DEPRECATION_WARNINGS -DGDK_DISABLE_DEPRECATION_WARNINGS -DGTK_DISABLE_DEPRECATION_WARNINGS $(GTK3_DEPS_CFLAGS) $(SM_CFLAGS) $(JANSSON_CFLAGS) $(DISPATCH_CFLAGS) -DDDB_WARN_DEPRECATED=1 -+ddb_gui_GTK3_la_CFLAGS = -std=c99 -DGLIB_DISABLE_DEPRECATION_WARNINGS -DGDK_DISABLE_DEPRECATION_WARNINGS -DGTK_DISABLE_DEPRECATION_WARNINGS $(GTK3_DEPS_CFLAGS) $(SM_CFLAGS) $(JANSSON_CFLAGS) $(DISPATCH_CFLAGS) -DDDB_WARN_DEPRECATED=1 - ddb_gui_GTK3_la_OBJCFLAGS = $(GTK3_DEPS_CFLAGS) $(SM_CFLAGS) $(JANSSON_CFLAGS) - - nodist_ddb_gui_GTK3_la_SOURCES = gtkui-gresources.c -diff --git a/plugins/gtkui/Makefile.in b/plugins/gtkui/Makefile.in -index 319bda2..66baad7 100644 ---- a/plugins/gtkui/Makefile.in -+++ b/plugins/gtkui/Makefile.in -@@ -723,12 +723,12 @@ sdk_HEADERS = gtkui_api.h - @HAVE_GTK2_TRUE@ddb_gui_GTK2_la_SOURCES = $(GTKUI_SOURCES_GTK2) - @HAVE_GTK2_TRUE@ddb_gui_GTK2_la_LDFLAGS = -module -avoid-version - @HAVE_GTK2_TRUE@ddb_gui_GTK2_la_LIBADD = $(LDADD) $(GTK2_DEPS_LIBS) $(SM_LIBADD) ../libparser/libparser.la ../../shared/libtrkpropertiesutil.la ../../shared/libeqpreset.la ../../shared/libdeletefromdisk.la ../../shared/libtftintutil.la ../../analyzer/libanalyzer.la ../../scope/libscope.la $(JANSSON_LIBS) $(DISPATCH_LIBS) --@HAVE_GTK2_TRUE@ddb_gui_GTK2_la_CFLAGS = -std=c99 -Werror -DGLIB_DISABLE_DEPRECATION_WARNINGS -DGDK_DISABLE_DEPRECATION_WARNINGS -DGTK_DISABLE_DEPRECATION_WARNINGS $(GTK2_DEPS_CFLAGS) $(SM_CFLAGS) $(JANSSON_CFLAGS) $(DISPATCH_CFLAGS) -DDDB_WARN_DEPRECATED=1 -+@HAVE_GTK2_TRUE@ddb_gui_GTK2_la_CFLAGS = -std=c99 -DGLIB_DISABLE_DEPRECATION_WARNINGS -DGDK_DISABLE_DEPRECATION_WARNINGS -DGTK_DISABLE_DEPRECATION_WARNINGS $(GTK2_DEPS_CFLAGS) $(SM_CFLAGS) $(JANSSON_CFLAGS) $(DISPATCH_CFLAGS) -DDDB_WARN_DEPRECATED=1 - @HAVE_GTK3_TRUE@GTKUI_SOURCES_GTK3 = deadbeefapp.c deadbeefapp.h $(GTKUI_SOURCES) - @HAVE_GTK3_TRUE@ddb_gui_GTK3_la_LDFLAGS = -module -avoid-version - @HAVE_GTK3_TRUE@ddb_gui_GTK3_la_SOURCES = $(GTKUI_SOURCES_GTK3) - @HAVE_GTK3_TRUE@ddb_gui_GTK3_la_LIBADD = $(LDADD) $(GTK3_DEPS_LIBS) $(SM_LIBADD) ../libparser/libparser.la ../../shared/libtrkpropertiesutil.la ../../shared/libeqpreset.la ../../shared/libdeletefromdisk.la ../../shared/libtftintutil.la ../../analyzer/libanalyzer.la ../../scope/libscope.la $(JANSSON_LIBS) $(DISPATCH_LIBS) --@HAVE_GTK3_TRUE@ddb_gui_GTK3_la_CFLAGS = -std=c99 -Werror -DGLIB_DISABLE_DEPRECATION_WARNINGS -DGDK_DISABLE_DEPRECATION_WARNINGS -DGTK_DISABLE_DEPRECATION_WARNINGS $(GTK3_DEPS_CFLAGS) $(SM_CFLAGS) $(JANSSON_CFLAGS) $(DISPATCH_CFLAGS) -DDDB_WARN_DEPRECATED=1 -+@HAVE_GTK3_TRUE@ddb_gui_GTK3_la_CFLAGS = -std=c99 -DGLIB_DISABLE_DEPRECATION_WARNINGS -DGDK_DISABLE_DEPRECATION_WARNINGS -DGTK_DISABLE_DEPRECATION_WARNINGS $(GTK3_DEPS_CFLAGS) $(SM_CFLAGS) $(JANSSON_CFLAGS) $(DISPATCH_CFLAGS) -DDDB_WARN_DEPRECATED=1 - @HAVE_GTK3_TRUE@ddb_gui_GTK3_la_OBJCFLAGS = $(GTK3_DEPS_CFLAGS) $(SM_CFLAGS) $(JANSSON_CFLAGS) - @HAVE_GTK3_TRUE@nodist_ddb_gui_GTK3_la_SOURCES = gtkui-gresources.c - @HAVE_GTK3_TRUE@BUILT_SOURCES = gtkui-gresources.c |