From e0571f289ec89fe041e80e0239b85deb1ef40751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 11 Aug 2020 16:34:19 +0200 Subject: [PATCH] gstreamer1: i686-musl needs libucontext-devel This is merely a workaround. Probably libunwind could include the dependency on libucontext in its pkgconfig file. --- srcpkgs/gstreamer1/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/gstreamer1/template b/srcpkgs/gstreamer1/template index 16f7379fc93..ea3fbdda337 100644 --- a/srcpkgs/gstreamer1/template +++ b/srcpkgs/gstreamer1/template @@ -30,6 +30,10 @@ if [ -z "$CROSS_BUILD" ]; then build_options_default+=" gtk_doc" fi +case "$XBPS_TARGET_MACHINE" in + i686-musl) makedepends+=" libucontext-devel"; LDFLAGS="-lucontext" ;; +esac + gstreamer1-devel_package() { depends="${makedepends} ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files"