summaryrefslogtreecommitdiff
path: root/media-libs/libplacebo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-06 15:20:09 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-06 15:20:09 +0000
commit3d013ccac70a281416dccbb6757f76818222cbba (patch)
treeb44b7bc95d660905770332e3f649cae28ed8921d /media-libs/libplacebo
parent6003fc7a6eda56862fcff321f47e40cd34e60098 (diff)
gentoo auto-resync : 06:11:2022 - 15:20:09
Diffstat (limited to 'media-libs/libplacebo')
-rw-r--r--media-libs/libplacebo/Manifest12
-rw-r--r--media-libs/libplacebo/files/libplacebo-2.43.0-vulkan-headers-1.2.140-compatibility.patch59
-rw-r--r--media-libs/libplacebo/files/libplacebo-2.72.0-fix-vulkan-undeclared.patch33
-rw-r--r--media-libs/libplacebo/libplacebo-2.43.0.ebuild56
-rw-r--r--media-libs/libplacebo/libplacebo-2.43.1.ebuild56
-rw-r--r--media-libs/libplacebo/libplacebo-2.72.2.ebuild74
-rw-r--r--media-libs/libplacebo/libplacebo-3.120.3.ebuild75
-rw-r--r--media-libs/libplacebo/metadata.xml5
8 files changed, 5 insertions, 365 deletions
diff --git a/media-libs/libplacebo/Manifest b/media-libs/libplacebo/Manifest
index 6588caabaeb0..532304cc2e9a 100644
--- a/media-libs/libplacebo/Manifest
+++ b/media-libs/libplacebo/Manifest
@@ -1,15 +1,5 @@
-AUX libplacebo-2.43.0-vulkan-headers-1.2.140-compatibility.patch 2047 BLAKE2B aa2ca755fb95c9a7d3f55992507ce62340897ad9419a875fac31c8e392b9eab1f896dc8feedef96e804f0c938fede16d78a31517ccf5599efbdcb6d6af2773a6 SHA512 d7bfdb158c9f4e263d1937cb400417174a996a3f116231531d8f8c9266a57adf24ca86fd5ebeebb534c9985e89618fc11ddfcf8a9621729eb741a3bbd74212e6
-AUX libplacebo-2.72.0-fix-vulkan-undeclared.patch 1143 BLAKE2B 54d69a48b1f1fe02c5f9ea5210cd0ee4016d4284c7995ec8b672ab932ddf9fc39e54870cc56ca9208521ce9ea6daa6d464161b2a3ea581506869dc38d94c1786 SHA512 1de6c8bb3eb4945eaa64a90f13aef8a0f069462a741f9f2656579a28ee80850639a94e03b2d4d1c6a045c9a12b74f52e8d6ba07e7634bef36b48ed34a516864b
AUX libplacebo-2.72.2-fix-vulkan-undeclared.patch 963 BLAKE2B 3b6944af02eb6078dc5224309e3af4b65a4681e29701622e95166a4156d3eecd6e671fc2b4acec633340c0582afc96419b2a7a170de1b7976b04c880a1d4672a SHA512 4154e1ec3f06b08628444ba36fcdd4bac48b06ef8d0caf689a2fe3fb3e48ed7d1e4cc3f568401025174235e1ce1359eb4f010047aee99cfe7e0fa20c4cfa01c5
-DIST libplacebo-v2.43.0.tar.gz 356219 BLAKE2B b5f36dc4b7a0b35a47efc64064d0d7e9cf023dea2974fe355d29a6c835efa67b6f50ec500fa3ce50b932fef5d035a470f0adc8377cd274c5904fb4ffc303bb0c SHA512 c57463a9fcde1b259620fcb7ce6470b0d06e45ed837b4eca35ff0931e4c440ef613590485119ed21237f9cf3c3cdb617253f17699d9d252070f30d5dcbc233ab
-DIST libplacebo-v2.43.1.tar.gz 356913 BLAKE2B 1fbda35bcdaf96ebfb20a05bcec35fc03168def2a5fbf3aa4861187a67409d3b9ae28169de2cb6fa9a78e40a1d073982e58c7e36ac9468b5c7c227ef0bb0f96c SHA512 62463dfee6e6fd450395e42d7af2b6e0caa0b183c0d00f5ba0c5ddc893a47cdd0371d37fc72a7361228324b0dc9c55dd0309a5a7210cf753618fde18a094abcb
-DIST libplacebo-v2.72.2.tar.gz 398314 BLAKE2B 59ce83d23c22fa1bc10d82b01b531ee82e3e40bf062adf7ea1d276a65c683c448797348a7a9ce234f92e0fd6c699903ae70f15df5d2e2779bec32db6b0b769e6 SHA512 0cb100350dbc81566a8363b0265bf89de8569b0313d1f1aa8ba621e39d7ee43a47ec9ab7827d01fdd2133c357983002412e67c2b2ba3616bd570f16e8e3ba135
-DIST libplacebo-v3.120.3.tar.gz 523749 BLAKE2B 6192570dba8de6e0bb98ccf3f0e4f13c01a27c5f97873ff0e5e3212d9b7cdebd98cce3d5ee5364ca8a585ec2a16d0bafc5a863ed35f6f225d86a4410b92edfd3 SHA512 6a2d3c6c053edc3a912a46f9c16d226d83c6f8880714f0b20a8b9417889616e4c1d4d41b8935b898cc580dc3b480ce974bb3921162165f0774ea91be1dfff520
DIST libplacebo-v4.192.1.tar.gz 632762 BLAKE2B 19a3bee6f05632cde1739fe8c861c96035a7b1f5ed2af6bbc67776529551c88f5da63d49dede2d7ee2c8d96edd6faf733e0371714028b72eddcf4c4cf23b937f SHA512 780dff60a31a9c7fff47522385235077cc6b1a38be32bc0276c090d89ce25754dd0b910db5be631d0065337fe4700f68adabee06f48a4935d422f09f2e0e5525
-EBUILD libplacebo-2.43.0.ebuild 1462 BLAKE2B f040787c2e5848e5be23c77af1af76e68e2ac0e85bd178e00621e6c9fde8a69b01ba681e350d3d783a5812188ede1ea58e209be899b7a6b19c876fc7f5822118 SHA512 990a0551961a89f335e437ce984ffc0047816d655a7ba6be8202c6d791b840840aba63352ff6fd2af5d4cc41a36eb7ace63e51bb03019621768602154c5486b8
-EBUILD libplacebo-2.43.1.ebuild 1478 BLAKE2B 5184f42cdda1740d9b2fb33e05406517d076ad7d557da6c74b580200863fdc340cf208f716da38b172a4f06f9fb74fcc461afcd25ac886a10b398816f96f0689 SHA512 bddeac21c3635c87c7079477c02df39586e6a9604ac65a69b12714bbcf72373b1a9999a3b8bd1cdccff4f42a2c1c62757714162a97cc381419a481626834114d
-EBUILD libplacebo-2.72.2.ebuild 1916 BLAKE2B 82e1d5f0c604481c86b1de19503d6d19211e45f76f084a3695c1bdbc25b255de2b5b38a7ca1b751934fa8d11d60adb71f975d9995592be7bebebd6f65f690ef6 SHA512 1d5b61de38c85c33bf295feb2951d1221c5e5751cf500636a1afb72c3092100e98d255726ed4313828c23d51ca8917af7793d511ce4c4653c55689c84282c381
-EBUILD libplacebo-3.120.3.ebuild 2107 BLAKE2B be7dbbb83fc51e96c74d571036f2f2b45ea29c7005df540d82391149e4a475b01c437bf7c1cda08b42b9eb3bf68e930f8ee304996c52a79270dfbbdbb28cfb98 SHA512 3d6f98b4450d3822608d7af9a6a3d1f92669fcd056f7875cb7aa984578f82a85fae51fdfbac72607acf276f7c6eacfad017a3a0a28df170b027a84ca7e594eaa
EBUILD libplacebo-4.192.1-r1.ebuild 1925 BLAKE2B 06454edc71bba48d1b074d4023d67faab3d03150b822ee2675ac1a837290bbf4cce686fb54f81ca0e98194e9b1e7d13730d4412ce6acd2faacee34445f978dcc SHA512 ca847e8c66e44acf97c27e27eed30005770bbe7cc2a0f585da314177fd8fe6c3be238d2748ed7bf1fa1a02a7108cb582fa038f5a9379a856c0ca3fff3e96ac23
EBUILD libplacebo-9999.ebuild 1895 BLAKE2B 15b4a593deae2f103299def490173b2d2cd3a76dfacf37bc54492a12ddbf1873297b4b5ff8b8e6e895ba4f8fb568b5a435114c132568c9dd2a90bbfcd5229be0 SHA512 2de178da7be187146a9f6d6ba0854b43ac1917ef69e3ab4957284e89c6c1625d98279d01fa2e78dfa7236800b7d80b05c96838856312199c8184282bcd76133d
-MISC metadata.xml 600 BLAKE2B 64be4c9fc7d6f967c7439d374ab5a8cb499066d9a6216ee14161db98359e69d6cfe4a57eafc18ac3f7e414234d4987ef0cb812e01552810ea4c6f29e06e42498 SHA512 2b62cdec3e8ca9ddc669cd0dad10888ec394dba889f4547b81e8a48603ae3657828f4d62a6aa45d3f8bf53c360b0870c76b259e93f0242c0d332e978091bd5b4
+MISC metadata.xml 678 BLAKE2B 7b4c70ba3d89a81182905365354eaac312888c492a33e2d7b410c79139af9680aeac65c2dc6b692410e601c9bba13c4ff16f80c48c2d9accc3d5d1f82be5395f SHA512 64cd5d5d2231ed1bf6298f074d56471bf158ea29fdac3c4d7f1e54b7259e4ce294b6c1ed31b1397fad952224e9211778bdb59dd33c429870fd58ab9931ab0677
diff --git a/media-libs/libplacebo/files/libplacebo-2.43.0-vulkan-headers-1.2.140-compatibility.patch b/media-libs/libplacebo/files/libplacebo-2.43.0-vulkan-headers-1.2.140-compatibility.patch
deleted file mode 100644
index 8fa64744fd05..000000000000
--- a/media-libs/libplacebo/files/libplacebo-2.43.0-vulkan-headers-1.2.140-compatibility.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From 45e19e7bbbbfceb197d8826c775e16ef536a4565 Mon Sep 17 00:00:00 2001
-From: Niklas Haas <git@haasn.xyz>
-Date: Tue, 5 May 2020 00:13:49 +0200
-Subject: [PATCH] vulkan: get rid of deprecated enum members
-
-Maybe we should just get rid of the switch coverage check altogether. I
-wish we could somehow differentiate between enums defined in our code
-and enums defined externally.
-
-Fixes #71.
----
- src/vulkan/context.c | 4 +++-
- src/vulkan/swapchain.c | 7 +------
- 2 files changed, 4 insertions(+), 7 deletions(-)
-
-diff --git a/src/vulkan/context.c b/src/vulkan/context.c
-index 10928a9..14a57cf 100644
---- a/src/vulkan/context.c
-+++ b/src/vulkan/context.c
-@@ -685,7 +685,6 @@ VkPhysicalDevice pl_vulkan_choose_device(struct pl_context *ctx,
- [VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU] = {"virtual", 3},
- [VK_PHYSICAL_DEVICE_TYPE_CPU] = {"software", 2},
- [VK_PHYSICAL_DEVICE_TYPE_OTHER] = {"other", 1},
-- [VK_PHYSICAL_DEVICE_TYPE_END_RANGE+1] = {0},
- };
-
- int best = 0;
-@@ -693,6 +692,9 @@ VkPhysicalDevice pl_vulkan_choose_device(struct pl_context *ctx,
- VkPhysicalDeviceProperties props = {0};
- GetPhysicalDeviceProperties(devices[i], &props);
- VkPhysicalDeviceType t = props.deviceType;
-+ if (t > PL_ARRAY_SIZE(types))
-+ continue;
-+
- PL_INFO(vk, " GPU %d: %s (%s)", i, props.deviceName, types[t].name);
-
- if (params->surface) {
-diff --git a/src/vulkan/swapchain.c b/src/vulkan/swapchain.c
-index bf6fd54..6bf40dd 100644
---- a/src/vulkan/swapchain.c
-+++ b/src/vulkan/swapchain.c
-@@ -138,13 +138,8 @@ static bool vk_map_color_space(VkColorSpaceKHR space, struct pl_color_space *out
- return false;
- #endif
-
-- // Included to satisfy the switch coverage check
-- case VK_COLOR_SPACE_RANGE_SIZE_KHR:
-- case VK_COLOR_SPACE_MAX_ENUM_KHR:
-- break;
-+ default: return false;
- }
--
-- return false;
- }
-
- static bool pick_surf_format(const struct pl_gpu *gpu, const struct vk_ctx *vk,
---
-2.27.0
-
diff --git a/media-libs/libplacebo/files/libplacebo-2.72.0-fix-vulkan-undeclared.patch b/media-libs/libplacebo/files/libplacebo-2.72.0-fix-vulkan-undeclared.patch
deleted file mode 100644
index 15bac9718222..000000000000
--- a/media-libs/libplacebo/files/libplacebo-2.72.0-fix-vulkan-undeclared.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-https://bugs.gentoo.org/789498
-
-From ac44e8f14acbfd2810c46e07e38466673f0ad7e0 Mon Sep 17 00:00:00 2001
-From: Niklas Haas <git@haasn.xyz>
-Date: Tue, 23 Mar 2021 11:57:13 +0100
-Subject: [PATCH] vulkan: blacklist FUCHSIA strings
-
-Maybe one day we'll actually figure out how to make this python script
-exclude platform-specific stuff in a way that doesn't rely on hardcoding
-a list of strings to blacklist.
-
-One day.
-
-Fixes https://code.videolan.org/videolan/libplacebo/-/issues/131
----
- src/vulkan/utils_gen.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/vulkan/utils_gen.py b/src/vulkan/utils_gen.py
-index a4565f3..53195f2 100644
---- a/src/vulkan/utils_gen.py
-+++ b/src/vulkan/utils_gen.py
-@@ -155,7 +155,7 @@ def get_vkstructs(registry):
- # Strings for platform-specific crap we want to blacklist as they will
- # most likely cause build failures
- blacklist_strs = [
-- 'ANDROID', 'Surface', 'Win32', 'D3D12', 'GGP'
-+ 'ANDROID', 'Surface', 'Win32', 'D3D12', 'GGP', 'FUCHSIA',
- ]
-
- if any([ str in e.attrib['name'] for str in blacklist_strs ]):
---
-GitLab
diff --git a/media-libs/libplacebo/libplacebo-2.43.0.ebuild b/media-libs/libplacebo/libplacebo-2.43.0.ebuild
deleted file mode 100644
index 0ef9eee6c8ad..000000000000
--- a/media-libs/libplacebo/libplacebo-2.43.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-if [[ "${PV}" == "9999" ]]; then
- EGIT_REPO_URI="https://code.videolan.org/videolan/libplacebo.git"
- inherit git-r3
-else
- KEYWORDS="amd64 ppc64 x86"
- SRC_URI="https://code.videolan.org/videolan/libplacebo/-/archive/v${PV}/libplacebo-v${PV}.tar.gz"
- S="${WORKDIR}/${PN}-v${PV}"
-fi
-
-inherit meson-multilib
-
-DESCRIPTION="Reusable library for GPU-accelerated image processing primitives"
-HOMEPAGE="https://code.videolan.org/videolan/libplacebo"
-
-LICENSE="LGPL-2.1+"
-SLOT="0/$(ver_cut 2)" # libplacebo.so version
-IUSE="glslang lcms +opengl +shaderc test +vulkan"
-REQUIRED_USE="vulkan? ( || ( glslang shaderc ) )"
-
-RDEPEND="glslang? ( dev-util/glslang[${MULTILIB_USEDEP}] )
- lcms? ( media-libs/lcms:2[${MULTILIB_USEDEP}] )
- opengl? ( media-libs/libepoxy[${MULTILIB_USEDEP}] )
- shaderc? ( >=media-libs/shaderc-2017.2[${MULTILIB_USEDEP}] )
- vulkan? (
- dev-util/vulkan-headers
- media-libs/vulkan-loader[${MULTILIB_USEDEP}]
- )"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-RESTRICT="!test? ( test )"
-
-PATCHES=(
- "${FILESDIR}"/${P}-vulkan-headers-1.2.140-compatibility.patch
-)
-
-multilib_src_configure() {
- local emesonargs=(
- $(meson_feature glslang)
- $(meson_feature lcms)
- $(meson_feature opengl)
- $(meson_feature shaderc)
- $(meson_feature vulkan)
- $(meson_use test tests)
- )
- meson_src_configure
-}
-
-multilib_src_test() {
- meson_src_test -t 10
-}
diff --git a/media-libs/libplacebo/libplacebo-2.43.1.ebuild b/media-libs/libplacebo/libplacebo-2.43.1.ebuild
deleted file mode 100644
index df1374e028b6..000000000000
--- a/media-libs/libplacebo/libplacebo-2.43.1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-if [[ "${PV}" == "9999" ]]; then
- EGIT_REPO_URI="https://code.videolan.org/videolan/libplacebo.git"
- inherit git-r3
-else
- KEYWORDS="~amd64 ~ppc64 ~x86"
- SRC_URI="https://code.videolan.org/videolan/libplacebo/-/archive/v${PV}/libplacebo-v${PV}.tar.gz"
- S="${WORKDIR}/${PN}-v${PV}"
-fi
-
-inherit meson-multilib
-
-DESCRIPTION="Reusable library for GPU-accelerated image processing primitives"
-HOMEPAGE="https://code.videolan.org/videolan/libplacebo"
-
-LICENSE="LGPL-2.1+"
-SLOT="0/$(ver_cut 2)" # libplacebo.so version
-IUSE="glslang lcms +opengl +shaderc test +vulkan"
-REQUIRED_USE="vulkan? ( || ( glslang shaderc ) )"
-
-RDEPEND="glslang? ( dev-util/glslang[${MULTILIB_USEDEP}] )
- lcms? ( media-libs/lcms:2[${MULTILIB_USEDEP}] )
- opengl? ( media-libs/libepoxy[${MULTILIB_USEDEP}] )
- shaderc? ( >=media-libs/shaderc-2017.2[${MULTILIB_USEDEP}] )
- vulkan? (
- dev-util/vulkan-headers
- media-libs/vulkan-loader[${MULTILIB_USEDEP}]
- )"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-RESTRICT="!test? ( test )"
-
-PATCHES=(
- "${FILESDIR}"/libplacebo-2.43.0-vulkan-headers-1.2.140-compatibility.patch
-)
-
-multilib_src_configure() {
- local emesonargs=(
- $(meson_feature glslang)
- $(meson_feature lcms)
- $(meson_feature opengl)
- $(meson_feature shaderc)
- $(meson_feature vulkan)
- $(meson_use test tests)
- )
- meson_src_configure
-}
-
-multilib_src_test() {
- meson_src_test -t 10
-}
diff --git a/media-libs/libplacebo/libplacebo-2.72.2.ebuild b/media-libs/libplacebo/libplacebo-2.72.2.ebuild
deleted file mode 100644
index 92ded149cb27..000000000000
--- a/media-libs/libplacebo/libplacebo-2.72.2.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_REQ_USE="xml(+)"
-PYTHON_COMPAT=( python3_{7,8,9,10} )
-
-if [[ "${PV}" == "9999" ]]; then
- EGIT_REPO_URI="https://code.videolan.org/videolan/libplacebo.git"
- inherit git-r3
-else
- KEYWORDS="~amd64 ~ppc64 ~x86"
- SRC_URI="https://code.videolan.org/videolan/libplacebo/-/archive/v${PV}/libplacebo-v${PV}.tar.gz"
- S="${WORKDIR}/${PN}-v${PV}"
-fi
-
-inherit meson-multilib python-any-r1
-
-DESCRIPTION="Reusable library for GPU-accelerated image processing primitives"
-HOMEPAGE="https://code.videolan.org/videolan/libplacebo"
-
-LICENSE="LGPL-2.1+"
-SLOT="0/$(ver_cut 2)" # libplacebo.so version
-IUSE="glslang lcms +opengl +shaderc test +vulkan"
-REQUIRED_USE="vulkan? ( || ( glslang shaderc ) )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="glslang? ( dev-util/glslang[${MULTILIB_USEDEP}] )
- lcms? ( media-libs/lcms:2[${MULTILIB_USEDEP}] )
- opengl? ( media-libs/libepoxy[${MULTILIB_USEDEP}] )
- shaderc? ( >=media-libs/shaderc-2017.2[${MULTILIB_USEDEP}] )
- vulkan? (
- dev-util/vulkan-headers
- media-libs/vulkan-loader[${MULTILIB_USEDEP}]
- )"
-DEPEND="${RDEPEND}"
-
-BDEPEND="virtual/pkgconfig
- vulkan? (
- ${PYTHON_DEPS}
- $(python_gen_any_dep 'dev-python/mako[${PYTHON_USEDEP}]')
- )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.72.0-fix-vulkan-undeclared.patch
- "${FILESDIR}"/${PN}-2.72.2-fix-vulkan-undeclared.patch
-)
-
-python_check_deps() {
- has_version -b "dev-python/mako[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- use vulkan && python-any-r1_pkg_setup
-}
-
-multilib_src_configure() {
- local emesonargs=(
- $(meson_feature glslang)
- $(meson_feature lcms)
- $(meson_feature opengl)
- $(meson_feature shaderc)
- $(meson_feature vulkan)
- $(meson_use test tests)
- # hard-code path from dev-util/vulkan-headers
- -Dvulkan-registry=/usr/share/vulkan/registry/vk.xml
- )
- meson_src_configure
-}
-
-multilib_src_test() {
- meson_src_test -t 10
-}
diff --git a/media-libs/libplacebo/libplacebo-3.120.3.ebuild b/media-libs/libplacebo/libplacebo-3.120.3.ebuild
deleted file mode 100644
index 63b43f4e9800..000000000000
--- a/media-libs/libplacebo/libplacebo-3.120.3.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_REQ_USE="xml(+)"
-PYTHON_COMPAT=( python3_{8..10} )
-
-if [[ "${PV}" == "9999" ]]; then
- EGIT_REPO_URI="https://code.videolan.org/videolan/libplacebo.git"
- inherit git-r3
-else
- KEYWORDS="~amd64 ~ppc64 ~x86"
- SRC_URI="https://code.videolan.org/videolan/libplacebo/-/archive/v${PV}/libplacebo-v${PV}.tar.gz"
- S="${WORKDIR}/${PN}-v${PV}"
-fi
-
-inherit meson-multilib python-any-r1
-
-DESCRIPTION="Reusable library for GPU-accelerated image processing primitives"
-HOMEPAGE="https://code.videolan.org/videolan/libplacebo"
-
-LICENSE="LGPL-2.1+"
-SLOT="0/$(ver_cut 2)" # libplacebo.so version
-IUSE="glslang lcms +opengl +shaderc test +vulkan"
-REQUIRED_USE="vulkan? ( || ( glslang shaderc ) )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="glslang? ( dev-util/glslang[${MULTILIB_USEDEP}] )
- lcms? ( media-libs/lcms:2[${MULTILIB_USEDEP}] )
- opengl? ( media-libs/libepoxy[${MULTILIB_USEDEP}] )
- shaderc? ( >=media-libs/shaderc-2017.2[${MULTILIB_USEDEP}] )
- vulkan? (
- dev-util/vulkan-headers
- media-libs/vulkan-loader[${MULTILIB_USEDEP}]
- )"
-DEPEND="${RDEPEND}"
-
-BDEPEND="virtual/pkgconfig
- vulkan? (
- ${PYTHON_DEPS}
- $(python_gen_any_dep 'dev-python/mako[${PYTHON_USEDEP}]')
- )"
-
-PATCHES=( "${FILESDIR}"/libplacebo-2.72.2-fix-vulkan-undeclared.patch )
-
-python_check_deps() {
- has_version -b "dev-python/mako[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- use vulkan && python-any-r1_pkg_setup
-}
-
-multilib_src_configure() {
- local emesonargs=(
- $(meson_feature glslang)
- $(meson_feature lcms)
- $(meson_feature opengl)
- $(meson_feature shaderc)
- $(meson_feature vulkan)
- $(meson_use test tests)
- # hard-code path from dev-util/vulkan-headers
- -Dvulkan-registry=/usr/share/vulkan/registry/vk.xml
- -Ddemos=false
- # ^ useless, and also semi-broken
- # (well, actually, looks like it requires some new just-for-demos deps and even with versions restrictions (say, >=glfw-3.3))
- # feel free to patch if you need demos for some strange reason.
- )
- meson_src_configure
-}
-
-multilib_src_test() {
- meson_src_test -t 10
-}
diff --git a/media-libs/libplacebo/metadata.xml b/media-libs/libplacebo/metadata.xml
index 9c79fffcbd89..f58f31586038 100644
--- a/media-libs/libplacebo/metadata.xml
+++ b/media-libs/libplacebo/metadata.xml
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>ionen@gentoo.org</email>
+ <name>Ionen Wolkens</name>
+ </maintainer>
<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>