summaryrefslogtreecommitdiff
path: root/media-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-03 10:05:34 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-03 10:05:34 +0100
commit0eb9883b5a8a53c253c98d1c77438c39c27c8c97 (patch)
tree47a89f252688f21fcacd066ac01ed1992a453d42 /media-libs
parentc6872c361190d4f1a559d23458f6cdffb154b0b0 (diff)
gentoo auto-resync : 03:07:2023 - 10:05:34
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/Manifest.gzbin68445 -> 68451 bytes
-rw-r--r--media-libs/libplacebo/Manifest4
-rw-r--r--media-libs/libplacebo/libplacebo-6.287.0_rc1.ebuild98
-rw-r--r--media-libs/libplacebo/libplacebo-9999.ebuild2
4 files changed, 102 insertions, 2 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz
index f98905775a37..dc5429e08b94 100644
--- a/media-libs/Manifest.gz
+++ b/media-libs/Manifest.gz
Binary files differ
diff --git a/media-libs/libplacebo/Manifest b/media-libs/libplacebo/Manifest
index f7ceef8e234d..9b822a0dba2e 100644
--- a/media-libs/libplacebo/Manifest
+++ b/media-libs/libplacebo/Manifest
@@ -2,6 +2,8 @@ AUX libplacebo-5.229.1-llvm-libunwind.patch 418 BLAKE2B 0042bc6404de57fbbb814ebc
AUX libplacebo-5.229.1-python-executable.patch 400 BLAKE2B 1de79b031d4aa7c55e058db788d2ba3ed6a66e58dac325a091b40be58b95e6cbacf852a0f1e84465d2834ecd07aa920390b90a81e03c3e21825eb0ed56c2b68f SHA512 5b8c1f5856b1e0cf67a306fc7b3fce552f26c4e8d785a2a0570b1ea983d487cd235fb9bed10f86747597f19d2b2d9a920b19a88acf3e48d44aeaa999849cff76
DIST libplacebo-glad-2.0.4.tar.gz 599932 BLAKE2B 788d2b70222fd09eea02515bdf3cbc147540631bf35fe39f12aa21fdbabf3d229f4234a430217dfaf3363934b8be12dd6a19871049a7b117deb8260ec69f8c67 SHA512 328d0dbe33e69f846d1c54226c6675694404f41e53c4762e6013c7bfe76b0700f0b28f4117a2018a09c9c23ccb6ad94d7b20882fefc2513941a4515686c9b9e7
DIST libplacebo-v5.264.1.tar.gz 725394 BLAKE2B 421de50ef5e2270e3ba32dd85d92d816a374257442b535face6cb8501d565652aae530b86a7d717c9352c6a82ca665ff7d91c2d9768365780cbbe4f48d1d3276 SHA512 305f43b71f078f4113def43c444df667dfbdd2a6a34d3b457b15da0b3499ca97ec9a8acbd151d58c8e1a593ace3d8aa61067b32556c6bae451efbb217d60a731
+DIST libplacebo-v6.287.0-rc1.tar.bz2 615586 BLAKE2B 0c3cea0345cd535dcf3220789748840769c42842cb3d86ac0989e6f4ba03002be7bdc0b50ceb24e3b94065582a48cda128d198e6a569cd6d3c7be36e4f81f1f3 SHA512 9c0bc369f2885415f78c0d1b36a758e56acdf3f7ef34c41bd8153f8f643d4e29ff41ba1ca6fd10b39d1daa96dff9d22dd9affc37d599825f9f9b01480530294d
EBUILD libplacebo-5.264.1.ebuild 2886 BLAKE2B 664ed4fefd05bb7eaa7a8bcf1154bb69b7214aec182997899d9262e7a4cd1ae3c927eca2f8ce27809c1de4ec33f094c6e6dbf5926216dd5d1f0389a269c91749 SHA512 c2a190f7cf65dfb3b63c4f2b47a34298d50200f56980e293f2aab93cc2d21aa978b112184894b6c14c4e060d744d094efabf54918f4141083468734cad998095
-EBUILD libplacebo-9999.ebuild 2889 BLAKE2B 3a4d4692b16ccec977c8dac00bc4870faf674faee84a0fa18f9b4c18a10fdf202b618d5d30da22be61e9aaab77a825e56b4ccbb2ade3d4a2b6eaf1d2959c24e2 SHA512 5674d9fd5aa783f585ff38a548d8f0f64f8f6799ba22befa395f063542ec5e9769532b920f20551dfda9a756fbf4e8dbf997586c3696446937adb602792be0cc
+EBUILD libplacebo-6.287.0_rc1.ebuild 2987 BLAKE2B 27778e0b82f72772d973457b1871ee3813757e6327c0f1a74073fa2651959686e9610a7de281f05d2f646762d1f98a82c2f6efa381c3ecf72fa910bf33200c9c SHA512 fdbc99a3c9ae2663902b36a7293bc49681da2b0017949d25d907a0a5a87d71f7857a9a8194cce2698e72ae9bed2a12cfe61173788a25f882ee1e8e5670615e47
+EBUILD libplacebo-9999.ebuild 2890 BLAKE2B fae34108d3dabbcaffe13be6edb7d4766d890ad221c66489e23796d047e34b6a16da70d01ed7cc010f7440b3fcb5661e633327b491e11dd750157871044f41c6 SHA512 65f7e7f901857ba717973a218ed03b170d97775e9c5e5621731ad547d9c00a139daa81379e5e0e519cf097ba4a97588f1b31648ff06708510f435a015275d1ba
MISC metadata.xml 611 BLAKE2B 1b145c5a74eee8669c69ec016d3553a381c523eb11450ff07f7e9b26eb49b8a0be0990dd51e3037a16243442bff4c7d9c2f99ab17a3d5ff16b20971adcbb8667 SHA512 9d0bc70cf3ed8e9f24ce3cbb350d536f600d7967bb1d2237092d9b11297abda3e055b68560dcee6a35438815f040d4d7ef483bc35a93c0425fff36e5f318ad43
diff --git a/media-libs/libplacebo/libplacebo-6.287.0_rc1.ebuild b/media-libs/libplacebo/libplacebo-6.287.0_rc1.ebuild
new file mode 100644
index 000000000000..65e9c82a4358
--- /dev/null
+++ b/media-libs/libplacebo/libplacebo-6.287.0_rc1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit meson-multilib python-any-r1
+
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="https://code.videolan.org/videolan/libplacebo.git"
+ inherit git-r3
+else
+ MY_PV=${PV/_/-}
+ GLAD_PV=2.0.4
+ SRC_URI="
+ https://code.videolan.org/videolan/libplacebo/-/archive/v${MY_PV}/libplacebo-v${MY_PV}.tar.bz2
+ opengl? ( https://github.com/Dav1dde/glad/archive/refs/tags/v${GLAD_PV}.tar.gz -> ${PN}-glad-${GLAD_PV}.tar.gz )"
+ S="${WORKDIR}/${PN}-v${MY_PV}"
+ # unkeyworded _rc for use with mpv-9999 if not using libplacebo-9999
+ #KEYWORDS="~amd64 ~ppc64 ~x86"
+fi
+
+DESCRIPTION="Reusable library for GPU-accelerated image processing primitives"
+HOMEPAGE="https://code.videolan.org/videolan/libplacebo/"
+
+LICENSE="LGPL-2.1+ opengl? ( MIT )"
+SLOT="0/$(ver_cut 2 ${PV}.9999)" # soname
+IUSE="glslang lcms llvm-libunwind +opengl +shaderc test unwind +vulkan"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="vulkan? ( || ( glslang shaderc ) )"
+
+# libglvnd is used with dlopen() through glad (inc. egl/gles)
+RDEPEND="
+ lcms? ( media-libs/lcms:2[${MULTILIB_USEDEP}] )
+ opengl? ( media-libs/libglvnd[${MULTILIB_USEDEP}] )
+ shaderc? ( media-libs/shaderc[${MULTILIB_USEDEP}] )
+ !shaderc? ( glslang? ( dev-util/glslang:=[${MULTILIB_USEDEP}] ) )
+ unwind? (
+ llvm-libunwind? ( sys-libs/llvm-libunwind[${MULTILIB_USEDEP}] )
+ !llvm-libunwind? ( sys-libs/libunwind:=[${MULTILIB_USEDEP}] )
+ )
+ vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )"
+# vulkan-headers is required even with USE=-vulkan (bug #882065)
+DEPEND="
+ ${RDEPEND}
+ dev-util/vulkan-headers"
+BDEPEND="
+ $(python_gen_any_dep 'dev-python/jinja[${PYTHON_USEDEP}]')
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.229.1-llvm-libunwind.patch
+ "${FILESDIR}"/${PN}-5.229.1-python-executable.patch
+)
+
+python_check_deps() {
+ python_has_version "dev-python/jinja[${PYTHON_USEDEP}]"
+}
+
+src_unpack() {
+ if [[ ${PV} == 9999 ]]; then
+ local EGIT_SUBMODULES=( $(usev opengl 3rdparty/glad) )
+ git-r3_src_unpack
+ else
+ default
+ if use opengl; then
+ rmdir "${S}"/3rdparty/glad || die
+ mv glad-${GLAD_PV} "${S}"/3rdparty/glad || die
+ fi
+ fi
+}
+
+src_prepare() {
+ default
+
+ # typically auto-skipped, but may assume usable opengl/vulkan then hang
+ sed -i "/tests += 'opengl_surfaceless.c'/d" src/opengl/meson.build || die
+ sed -i "/tests += 'vulkan.c'/d" src/vulkan/meson.build || die
+}
+
+multilib_src_configure() {
+ local emesonargs=(
+ -Ddemos=false #851927
+ $(meson_use test tests)
+ $(meson_feature lcms)
+ -Dlibdovi=disabled # TODO: package libdovi, ask if you need this
+ $(meson_feature opengl)
+ $(meson_feature opengl gl-proc-addr)
+ $(meson_feature shaderc)
+ $(usex shaderc -Dglslang=disabled $(meson_feature glslang))
+ $(meson_feature unwind)
+ $(meson_feature vulkan)
+ $(meson_feature vulkan vk-proc-addr)
+ -Dvulkan-registry="${ESYSROOT}"/usr/share/vulkan/registry/vk.xml
+ )
+
+ meson_src_configure
+}
diff --git a/media-libs/libplacebo/libplacebo-9999.ebuild b/media-libs/libplacebo/libplacebo-9999.ebuild
index d1fea65257b1..98e20244f513 100644
--- a/media-libs/libplacebo/libplacebo-9999.ebuild
+++ b/media-libs/libplacebo/libplacebo-9999.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == 9999 ]]; then
else
GLAD_PV=2.0.4
SRC_URI="
- https://code.videolan.org/videolan/libplacebo/-/archive/v${PV}/libplacebo-v${PV}.tar.gz
+ https://code.videolan.org/videolan/libplacebo/-/archive/v${PV}/libplacebo-v${PV}.tar.bz2
opengl? ( https://github.com/Dav1dde/glad/archive/refs/tags/v${GLAD_PV}.tar.gz -> ${PN}-glad-${GLAD_PV}.tar.gz )"
S="${WORKDIR}/${PN}-v${PV}"
KEYWORDS="~amd64 ~ppc64 ~x86"