summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-03-08 16:21:43 -0500
committerIonen Wolkens <ionen@gentoo.org>2024-03-08 16:29:10 -0500
commite38f626d0b87bb21d2858bcad78f2175d3215de5 (patch)
tree4bb11f1e4f9914c2d7ca0c4efbc713a64a53caf7 /media-libs
parentmedia-libs/libdovi: new package, add 3.2.0 (diff)
downloadgentoo-e38f626d0b87bb21d2858bcad78f2175d3215de5.tar.gz
gentoo-e38f626d0b87bb21d2858bcad78f2175d3215de5.tar.bz2
gentoo-e38f626d0b87bb21d2858bcad78f2175d3215de5.zip
media-libs/libplacebo: add IUSE=libdovi
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libplacebo/libplacebo-6.338.2.ebuild8
-rw-r--r--media-libs/libplacebo/libplacebo-9999.ebuild8
-rw-r--r--media-libs/libplacebo/metadata.xml1
3 files changed, 13 insertions, 4 deletions
diff --git a/media-libs/libplacebo/libplacebo-6.338.2.ebuild b/media-libs/libplacebo/libplacebo-6.338.2.ebuild
index 06a71627f71c..8832825d47b9 100644
--- a/media-libs/libplacebo/libplacebo-6.338.2.ebuild
+++ b/media-libs/libplacebo/libplacebo-6.338.2.ebuild
@@ -37,13 +37,17 @@ LICENSE="
opengl? ( MIT )
"
SLOT="0/$(ver_cut 2 ${PV}.9999)" # soname
-IUSE="glslang +lcms llvm-libunwind +opengl +shaderc test unwind +vulkan +xxhash"
+IUSE="
+ glslang +lcms libdovi llvm-libunwind +opengl +shaderc test
+ unwind +vulkan +xxhash
+"
RESTRICT="!test? ( test )"
REQUIRED_USE="vulkan? ( || ( glslang shaderc ) )"
# dlopen: libglvnd (glad)
RDEPEND="
lcms? ( media-libs/lcms:2[${MULTILIB_USEDEP}] )
+ libdovi? ( media-libs/libdovi:=[${MULTILIB_USEDEP}] )
opengl? ( media-libs/libglvnd[${MULTILIB_USEDEP}] )
shaderc? ( media-libs/shaderc[${MULTILIB_USEDEP}] )
!shaderc? ( glslang? ( dev-util/glslang:=[${MULTILIB_USEDEP}] ) )
@@ -106,7 +110,7 @@ multilib_src_configure() {
-Ddemos=false #851927
$(meson_use test tests)
$(meson_feature lcms)
- -Dlibdovi=disabled # TODO: package libdovi, ask if you need this
+ $(meson_feature libdovi)
$(meson_feature opengl)
$(meson_feature opengl gl-proc-addr)
$(meson_feature shaderc)
diff --git a/media-libs/libplacebo/libplacebo-9999.ebuild b/media-libs/libplacebo/libplacebo-9999.ebuild
index af53410bee94..0bf9834ccf55 100644
--- a/media-libs/libplacebo/libplacebo-9999.ebuild
+++ b/media-libs/libplacebo/libplacebo-9999.ebuild
@@ -37,13 +37,17 @@ LICENSE="
opengl? ( MIT )
"
SLOT="0/$(ver_cut 2 ${PV}.9999)" # soname
-IUSE="glslang +lcms llvm-libunwind +opengl +shaderc test unwind +vulkan +xxhash"
+IUSE="
+ glslang +lcms libdovi llvm-libunwind +opengl +shaderc test
+ unwind +vulkan +xxhash
+"
RESTRICT="!test? ( test )"
REQUIRED_USE="vulkan? ( || ( glslang shaderc ) )"
# dlopen: libglvnd (glad)
RDEPEND="
lcms? ( media-libs/lcms:2[${MULTILIB_USEDEP}] )
+ libdovi? ( media-libs/libdovi:=[${MULTILIB_USEDEP}] )
opengl? ( media-libs/libglvnd[${MULTILIB_USEDEP}] )
shaderc? ( media-libs/shaderc[${MULTILIB_USEDEP}] )
!shaderc? ( glslang? ( dev-util/glslang:=[${MULTILIB_USEDEP}] ) )
@@ -106,7 +110,7 @@ multilib_src_configure() {
-Ddemos=false #851927
$(meson_use test tests)
$(meson_feature lcms)
- -Dlibdovi=disabled # TODO: package libdovi, ask if you need this
+ $(meson_feature libdovi)
$(meson_feature opengl)
$(meson_feature opengl gl-proc-addr)
$(meson_feature shaderc)
diff --git a/media-libs/libplacebo/metadata.xml b/media-libs/libplacebo/metadata.xml
index d9fc439df028..745fe262d0bb 100644
--- a/media-libs/libplacebo/metadata.xml
+++ b/media-libs/libplacebo/metadata.xml
@@ -8,6 +8,7 @@
<use>
<flag name="glslang">Use <pkg>dev-util/glslang</pkg> to compile GLSL</flag>
<flag name="lcms">Add support for color management via <pkg>media-libs/lcms</pkg></flag>
+ <flag name="libdovi">Use <pkg>media-libs/libdovi</pkg> to read Dolby Vision metadata</flag>
<flag name="shaderc">Use <pkg>media-libs/shaderc</pkg> to compile GLSL</flag>
<flag name="xxhash">Use <pkg>dev-libs/xxhash</pkg> to speed up internal hashing</flag>
</use>