From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libplacebo/
Date: Tue, 26 Sep 2023 15:16:47 +0000 (UTC) [thread overview]
Message-ID: <1695741341.56f8acfe23427e1879f12360bdb3e674ee74225d.ionen@gentoo> (raw)
commit: 56f8acfe23427e1879f12360bdb3e674ee74225d
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 26 15:05:33 2023 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Sep 26 15:15:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56f8acfe
media-libs/libplacebo: add 6.338.0
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
media-libs/libplacebo/Manifest | 3 +
media-libs/libplacebo/libplacebo-6.338.0.ebuild | 122 ++++++++++++++++++++++++
2 files changed, 125 insertions(+)
diff --git a/media-libs/libplacebo/Manifest b/media-libs/libplacebo/Manifest
index 3cb5b5610a61..bc50bfd437a3 100644
--- a/media-libs/libplacebo/Manifest
+++ b/media-libs/libplacebo/Manifest
@@ -1,3 +1,6 @@
+DIST fast_float-5.2.0.tar.gz 84800 BLAKE2B 39133eda20acd5f1f049e8040815a67aee588ab93be4953bde3b9227fb691e099581ef79b12b740437b78a9b4c9007762b44d9726ca07505ad5cb51394d8e3fd SHA512 c703c7cba3c69775317c66a62ce145646fd7d3d063124501e3d6a7deebb8c62c14a2ccdffed18de2d73d9d3a8ba2061ef1d34cc780ee0b6d607935d5f1b1de81
DIST glad-2.0.4.tar.gz 599932 BLAKE2B 788d2b70222fd09eea02515bdf3cbc147540631bf35fe39f12aa21fdbabf3d229f4234a430217dfaf3363934b8be12dd6a19871049a7b117deb8260ec69f8c67 SHA512 328d0dbe33e69f846d1c54226c6675694404f41e53c4762e6013c7bfe76b0700f0b28f4117a2018a09c9c23ccb6ad94d7b20882fefc2513941a4515686c9b9e7
+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.292.1.tar.bz2 702879 BLAKE2B 74319bdffb141d4ab50c04312dbcce8fe7926d28b59b2c088a975fec30b86b38bb99afc375de5d421f8f633524deb4a74bb30cd60ffb69b16caceccd0f4f13d9 SHA512 a519d540e5063905c7125ca90334471a21868e2795d3e2da502fe12adfa69555de5369b14d1d45f9d2b0ac589379ad687488896c6dbe22f1dbd7cc6f9eef544f
+DIST libplacebo-v6.338.0.tar.bz2 696457 BLAKE2B fad5f0562b925528f44cdddd349114acfa8135503a47d5e7015be8b22a372f52d4ada8f196839d688887cce9ce91c11d0e32ac4dc0209f7dbc961d4785129fa7 SHA512 59be50efa3f56185a978f6ba5592beeabb40986ba8ccd6c0d43a8538a07a5459bec793df313c00ec721768490e30728c62dcef32693ba49e2544d59fd3d519e7
diff --git a/media-libs/libplacebo/libplacebo-6.338.0.ebuild b/media-libs/libplacebo/libplacebo-6.338.0.ebuild
new file mode 100644
index 000000000000..22539f375674
--- /dev/null
+++ b/media-libs/libplacebo/libplacebo-6.338.0.ebuild
@@ -0,0 +1,122 @@
+# 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
+ GLAD_PV=2.0.4
+ FASTFLOAT_PV=5.2.0
+ SRC_URI="
+ https://code.videolan.org/videolan/libplacebo/-/archive/v${PV}/libplacebo-v${PV}.tar.bz2
+ https://github.com/fastfloat/fast_float/archive/refs/tags/v${FASTFLOAT_PV}.tar.gz
+ -> fast_float-${FASTFLOAT_PV}.tar.gz
+ 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"
+fi
+
+DESCRIPTION="Reusable library for GPU-accelerated image processing primitives"
+HOMEPAGE="
+ https://libplacebo.org/
+ https://code.videolan.org/videolan/libplacebo/
+"
+
+LICENSE="
+ LGPL-2.1+
+ || ( Apache-2.0 Boost-1.0 MIT )
+ opengl? ( MIT )
+"
+SLOT="0/$(ver_cut 2 ${PV}.9999)" # soname
+IUSE="glslang +lcms 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}] )
+ 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}] )
+ xxhash? ( dev-libs/xxhash[${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=(
+ 3rdparty/fast_float
+ $(usev opengl 3rdparty/glad)
+ )
+ git-r3_src_unpack
+ else
+ default
+
+ rmdir "${S}"/3rdparty/fast_float || die
+ mv fast_float-${FASTFLOAT_PV} "${S}"/3rdparty/fast_float || die
+
+ 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_feature xxhash)
+ )
+
+ meson_src_configure
+}
next reply other threads:[~2023-09-26 15:16 UTC|newest]
Thread overview: 127+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-26 15:16 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-03 12:31 [gentoo-commits] repo/gentoo:master commit in: media-libs/libplacebo/ Ionen Wolkens
2024-09-03 12:31 Ionen Wolkens
2024-07-22 15:50 Sam James
2024-07-22 10:29 Jakov Smolić
2024-07-22 10:29 Jakov Smolić
2024-07-22 6:57 Sam James
2024-07-22 6:57 Sam James
2024-07-02 16:19 Ionen Wolkens
2024-02-22 6:16 Ionen Wolkens
2024-02-03 6:56 Sam James
2024-02-02 18:44 Jakov Smolić
2024-02-02 18:44 Jakov Smolić
2024-02-02 17:51 Arthur Zamarin
2024-02-02 13:53 Arthur Zamarin
2024-01-22 18:38 Ionen Wolkens
2024-01-22 18:38 Ionen Wolkens
2024-01-13 13:11 Ionen Wolkens
2023-12-21 7:50 Arthur Zamarin
2023-12-12 16:55 Arthur Zamarin
2023-12-06 17:57 Ionen Wolkens
2023-12-05 11:03 Ionen Wolkens
2023-12-02 9:24 Arthur Zamarin
2023-11-09 15:49 Ionen Wolkens
2023-10-29 20:21 Sam James
2023-10-29 20:21 Sam James
2023-10-29 8:06 Arthur Zamarin
2023-10-25 7:58 Ionen Wolkens
2023-10-17 16:10 Ionen Wolkens
2023-10-17 16:10 Ionen Wolkens
2023-10-10 6:13 Yixun Lan
2023-10-10 1:10 WANG Xuerui
2023-10-10 1:10 WANG Xuerui
2023-10-10 1:10 WANG Xuerui
2023-10-09 21:45 Sam James
2023-10-09 21:45 Sam James
2023-09-19 12:31 Ionen Wolkens
2023-09-13 21:05 Ionen Wolkens
2023-09-13 21:05 Ionen Wolkens
2023-09-13 21:05 Ionen Wolkens
2023-09-07 10:03 Ionen Wolkens
2023-09-06 19:10 Ionen Wolkens
2023-09-06 19:10 Ionen Wolkens
2023-08-27 17:18 Sam James
2023-08-27 1:54 Sam James
2023-08-27 1:26 Sam James
2023-08-27 0:13 Ionen Wolkens
2023-08-04 1:29 Ionen Wolkens
2023-08-04 1:29 Ionen Wolkens
2023-07-07 6:19 Ionen Wolkens
2023-07-07 6:19 Ionen Wolkens
2023-07-03 4:49 Ionen Wolkens
2023-07-03 4:49 Ionen Wolkens
2023-05-23 17:15 Ionen Wolkens
2023-05-23 2:52 Sam James
2023-04-17 21:16 Sam James
2023-04-17 21:16 Sam James
2023-04-17 21:16 Sam James
2023-04-17 20:45 Ionen Wolkens
2023-03-23 17:35 Ionen Wolkens
2023-03-13 16:13 Ionen Wolkens
2023-03-13 16:13 Ionen Wolkens
2023-01-30 19:11 Ionen Wolkens
2023-01-14 14:42 Ionen Wolkens
2023-01-14 14:42 Ionen Wolkens
2023-01-14 14:42 Ionen Wolkens
2023-01-14 12:07 Ionen Wolkens
2023-01-13 4:40 Sam James
2023-01-11 11:26 Ionen Wolkens
2023-01-05 16:37 Ionen Wolkens
2023-01-05 2:42 Ionen Wolkens
2022-12-29 20:29 Ionen Wolkens
2022-12-29 20:29 Ionen Wolkens
2022-11-20 1:30 Ionen Wolkens
2022-11-20 1:30 Ionen Wolkens
2022-11-19 13:01 Ionen Wolkens
2022-11-19 12:31 Ionen Wolkens
2022-11-07 19:30 Ionen Wolkens
2022-11-06 9:23 Ionen Wolkens
2022-11-06 9:23 Ionen Wolkens
2022-10-01 9:43 Matthew Smith
2022-09-07 7:52 Michał Górny
2022-05-17 12:39 Agostino Sarubbo
2022-05-17 6:53 Jakov Smolić
2022-05-17 5:36 Sam James
2022-03-16 23:10 Sam James
2022-03-16 23:10 Sam James
2022-01-15 9:31 Joonas Niilola
2021-11-14 0:44 Vadim Misbakh-Soloviov
2021-06-04 1:14 Matt Turner
2021-05-29 15:53 Sam James
2021-05-18 20:40 Ulrich Müller
2021-05-18 20:05 Ulrich Müller
2021-05-18 17:16 Sam James
2021-05-16 18:33 Georgy Yakovlev
2021-05-11 20:35 Sam James
2021-01-18 16:33 Joonas Niilola
2021-01-18 16:27 Joonas Niilola
2021-01-18 16:27 Joonas Niilola
2021-01-18 16:27 Joonas Niilola
2021-01-18 14:10 Luca Barbato
2020-11-18 15:24 Joonas Niilola
2020-07-19 16:41 Andreas Sturmlechner
2020-07-02 6:36 Agostino Sarubbo
2020-06-21 16:54 Agostino Sarubbo
2020-06-18 15:44 Andreas Sturmlechner
2020-06-18 15:44 Andreas Sturmlechner
2020-06-18 15:44 Andreas Sturmlechner
2020-04-23 17:07 Georgy Yakovlev
2020-02-27 4:05 Georgy Yakovlev
2020-02-27 4:05 Georgy Yakovlev
2020-01-05 18:54 Mikle Kolyada
2020-01-03 9:15 Joonas Niilola
2020-01-03 9:15 Joonas Niilola
2019-12-23 19:56 Lars Wendler
2019-12-22 16:59 Joonas Niilola
2019-11-20 12:59 Andreas Sturmlechner
2019-11-20 12:22 Andreas Sturmlechner
2019-11-20 12:22 Andreas Sturmlechner
2019-11-20 12:22 Andreas Sturmlechner
2019-10-22 4:49 Joonas Niilola
2019-06-18 18:24 Thomas Deutschmann
2019-06-09 17:24 Andreas Sturmlechner
2019-05-09 19:16 Georgy Yakovlev
2019-05-09 19:16 Georgy Yakovlev
2019-05-09 19:16 Georgy Yakovlev
2019-04-03 7:54 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1695741341.56f8acfe23427e1879f12360bdb3e674ee74225d.ionen@gentoo \
--to=ionen@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox