commit: 873e7e1e35fb95e6c7bbfc3a4863a869c208e2d4 Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> AuthorDate: Fri Mar 12 12:30:00 2021 +0000 Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> CommitDate: Fri Mar 12 12:31:00 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=873e7e1e
media-sound/deadbeef: 1.8.7-r1: Force clang; libdispatch dep added. Upstream stated that from 1.8.5 onward the GCC is no longer supported. Because of that, clang will be enforced instead. notify and lastfm plugins now requires libdispatch. Closes: https://bugs.gentoo.org/775551 Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org> ...dbeef-1.8.7.ebuild => deadbeef-1.8.7-r1.ebuild} | 26 +++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/media-sound/deadbeef/deadbeef-1.8.7.ebuild b/media-sound/deadbeef/deadbeef-1.8.7-r1.ebuild similarity index 88% rename from media-sound/deadbeef/deadbeef-1.8.7.ebuild rename to media-sound/deadbeef/deadbeef-1.8.7-r1.ebuild index d949a648226..57149d1c35b 100644 --- a/media-sound/deadbeef/deadbeef-1.8.7.ebuild +++ b/media-sound/deadbeef/deadbeef-1.8.7-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools xdg l10n +inherit autotools xdg l10n flag-o-matic DESCRIPTION="DeaDBeeF is a modular audio player similar to foobar2000" HOMEPAGE="https://deadbeef.sourceforge.io/" @@ -43,17 +43,23 @@ DEPEND=" mp3? ( media-sound/mpg123 ) musepack? ( media-sound/musepack-tools ) nls? ( virtual/libintl ) - notify? ( sys-apps/dbus ) + 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 " PATCHES=( @@ -94,6 +100,20 @@ src_prepare() { } 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"
