public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Piotr Karbowski" <slashbeast@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/deadbeef/
Date: Fri, 12 Mar 2021 12:31:03 +0000 (UTC)	[thread overview]
Message-ID: <1615552260.873e7e1e35fb95e6c7bbfc3a4863a869c208e2d4.slashbeast@gentoo> (raw)

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"


             reply	other threads:[~2021-03-12 12:31 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-12 12:31 Piotr Karbowski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-28  7:10 [gentoo-commits] repo/gentoo:master commit in: media-sound/deadbeef/ Viorel Munteanu
2025-03-25 16:17 Viorel Munteanu
2025-03-03  8:07 Viorel Munteanu
2025-03-03  8:07 Viorel Munteanu
2024-12-22 14:38 Viorel Munteanu
2024-11-01  9:45 Viorel Munteanu
2024-10-28 11:38 Sam James
2024-10-28  9:02 Sam James
2024-09-27 17:08 Viorel Munteanu
2024-02-16 14:40 Viorel Munteanu
2023-12-12  6:32 Michał Górny
2023-12-11 17:48 Sam James
2023-11-08  6:18 Viorel Munteanu
2023-11-08  6:18 Viorel Munteanu
2023-10-28 16:34 Viorel Munteanu
2023-10-28 16:34 Viorel Munteanu
2023-10-21  8:17 Viorel Munteanu
2023-10-21  8:17 Viorel Munteanu
2023-09-29  5:41 Viorel Munteanu
2023-08-27  6:41 Viorel Munteanu
2023-06-11 18:22 Andreas Sturmlechner
2023-06-11 18:22 Andreas Sturmlechner
2023-06-09 15:25 Arthur Zamarin
2023-05-21  0:50 Sam James
2023-03-07 15:45 Sam James
2023-03-02 18:01 Piotr Karbowski
2023-02-23 22:41 Piotr Karbowski
2023-02-23 22:41 Piotr Karbowski
2023-01-27 20:38 Piotr Karbowski
2023-01-21 21:09 Sam James
2023-01-21 16:53 Sam James
2023-01-21 15:38 Piotr Karbowski
2022-11-18  7:42 Jakov Smolić
2022-11-15  2:53 Sam James
2022-11-14 21:32 Piotr Karbowski
2022-11-14 21:32 Piotr Karbowski
2022-09-22  1:53 Sam James
2022-09-10  8:41 Sam James
2022-06-26 17:01 Piotr Karbowski
2022-06-26 12:36 Piotr Karbowski
2022-04-16 15:16 Yixun Lan
2022-03-09 23:12 Sam James
2022-01-30 22:19 Piotr Karbowski
2022-01-30 22:19 Piotr Karbowski
2022-01-21 12:40 Sam James
2022-01-21 12:40 Sam James
2021-09-25 19:08 Sam James
2021-08-19 21:10 Piotr Karbowski
2021-07-04 14:03 Ulrich Müller
2021-03-12 15:28 Sam James
2021-03-12 15:25 Sam James
2021-03-11 20:34 Piotr Karbowski
2020-10-01 21:07 Piotr Karbowski
2020-09-30  7:41 Piotr Karbowski
2020-09-29 21:40 Piotr Karbowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1615552260.873e7e1e35fb95e6c7bbfc3a4863a869c208e2d4.slashbeast@gentoo \
    --to=slashbeast@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox