summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/mlt/mlt-7.22.0-r1.ebuild5
-rw-r--r--media-libs/mlt/mlt-7.22.0.ebuild5
2 files changed, 8 insertions, 2 deletions
diff --git a/media-libs/mlt/mlt-7.22.0-r1.ebuild b/media-libs/mlt/mlt-7.22.0-r1.ebuild
index 586827098f4a..79bf96647501 100644
--- a/media-libs/mlt/mlt-7.22.0-r1.ebuild
+++ b/media-libs/mlt/mlt-7.22.0-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..12} )
-inherit python-single-r1 cmake
+inherit python-single-r1 cmake flag-o-matic
DESCRIPTION="Open source multimedia framework for television broadcasting"
HOMEPAGE="https://www.mltframework.org/"
@@ -110,6 +110,9 @@ src_prepare() {
}
src_configure() {
+ # Workaround for bug #919981
+ append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
+
local mycmakeargs=(
-DCMAKE_SKIP_RPATH=ON
-DCLANG_FORMAT=OFF
diff --git a/media-libs/mlt/mlt-7.22.0.ebuild b/media-libs/mlt/mlt-7.22.0.ebuild
index 6bc6f3332520..f58938a24550 100644
--- a/media-libs/mlt/mlt-7.22.0.ebuild
+++ b/media-libs/mlt/mlt-7.22.0.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..12} )
-inherit python-single-r1 cmake
+inherit python-single-r1 cmake flag-o-matic
DESCRIPTION="Open source multimedia framework for television broadcasting"
HOMEPAGE="https://www.mltframework.org/"
@@ -103,6 +103,9 @@ src_prepare() {
}
src_configure() {
+ # Workaround for bug #919981
+ append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
+
local mycmakeargs=(
-DCMAKE_SKIP_RPATH=ON
-DCLANG_FORMAT=OFF