Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

media-sound/deadbeef-1.8.0 fails to compile with musl [patch] #42

Open
stefson opened this issue Jul 5, 2019 · 0 comments
Open

media-sound/deadbeef-1.8.0 fails to compile with musl [patch] #42

stefson opened this issue Jul 5, 2019 · 0 comments

Comments

@stefson
Copy link
Contributor

stefson commented Jul 5, 2019

the build fails, as it cannot find queue.h file from glibc. musl doesn't have this fully implemented, and to fix this typ of errors there's a standalone of the header available from the gentoo tree. The patch pulls this in on condition of musl being installed.

From b396e73e03d6950520f43c41c9b4d0500e9f2191 Mon Sep 17 00:00:00 2001
From: stefson <[email protected]>
Date: Tue, 2 Jul 2019 22:36:28 +0200
Subject: [PATCH] media-sound/deadbeef: add queue-standalone for use elibc_musl

---
 media-sound/deadbeef/deadbeef-1.8.0-r1.ebuild | 1 +
 1 files changed, 1 insertions(+), 1 deletion(-)

diff --git a/media-sound/deadbeef/deadbeef-1.8.0-r1.ebuild b/media-sound/deadbeef/deadbeef-1.8.0-r1.ebuild
index e342b6c..bd9fcba 100644
--- a/media-sound/deadbeef/deadbeef-1.8.0-r1.ebuild
+++ b/media-sound/deadbeef/deadbeef-1.8.0-r1.ebuild
@@ -102,6 +102,7 @@ RDEPEND="dev-libs/glib:2
 		virtual/jpeg:0
 		x11-libs/gdk-pixbuf:2[jpeg] )
 	curl? ( net-misc/curl:0 )
+	elibc_musl? ( sys-libs/queue-standalone )
 	ffmpeg? ( media-video/ffmpeg:0= )
 	libav? ( media-video/libav:0= )
 	flac? ( media-libs/flac:0 )

leycec added a commit to leycec/raiagent that referenced this issue Feb 11, 2020
This commit adds ebuilds for the most recent stable and live releases of
DeaDBeef, highly inspired by @damex's phenomenal work at the
demex/deadbeef-overlay. Since that overlay is now moribund and no longer
builds against the modern Portage tree, these ebuilds are intended as a
temporary placeholder for the DeaDBeef Gentoo community. Unlike
comparable ebuilds by @rindeal at rindeal/rindeal-ebuild-repo, these
ebuilds are fully compliant with Portage standards and intended to be
eventually incorporated into the Portage tree.

Significant improvements include:

* DeaDBeef 1.8.2 support.
* Unified stable and live ebuilds.
* Resolved all outstanding demex/deadbeef-overlay issues and pull
  requests, including:
  * damex/deadbeef-overlay#32.
  * damex/deadbeef-overlay#40.
  * damex/deadbeef-overlay#41.
  * damex/deadbeef-overlay#42.
* Refactored all fragile version-specific diff patches into robust
  version-agnostic "sed" patches.
* Refactored the non-standard "cover-imlib2" and "cover-network" USE
  flags into standard "imlib2" and "curl" USE flags.
* Revised for compliance with Portage coding styles.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant