logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 5e889c139aa5c75b99c1a543a639edd96e87708f
parent 6babbf719fc1c9ff0c236e41e9a271e2c7d7cdcb
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun,  1 Jan 2023 23:11:59 +0100

media-libs/libplacebo: treeclean

Diffstat:

Dmedia-libs/libplacebo/Manifest1-
Dmedia-libs/libplacebo/libplacebo-3.104.0.ebuild77-----------------------------------------------------------------------------
Dmedia-libs/libplacebo/metadata.xml13-------------
3 files changed, 0 insertions(+), 91 deletions(-)

diff --git a/media-libs/libplacebo/Manifest b/media-libs/libplacebo/Manifest @@ -1 +0,0 @@ -DIST libplacebo-v3.104.0.tar.gz 436346 BLAKE2B dfd743470eb679ddf14b517f856dec1a1df1df88788d8222aade4b31f8d625c66a6bfeb0ff95df2eec531fa6950d68b3ca578cb244104a2591090ad8dcbca6a8 SHA512 896ade7d87fe02924cbf5a0f2b39a2054c8b9eb7a5f0adf574d0ec3dc9239020f8c69450501775002f7697250da595bf24a7d2d7039eb396073411c6fce2edfb diff --git a/media-libs/libplacebo/libplacebo-3.104.0.ebuild b/media-libs/libplacebo/libplacebo-3.104.0.ebuild @@ -1,77 +0,0 @@ -# Copyright 1999-2020 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} ) - -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-minimal 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}]') - )" - -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_compile() { - meson_src_compile -} - -multilib_src_test() { - meson_src_test -t 10 -} - -multilib_src_install() { - meson_src_install -} diff --git a/media-libs/libplacebo/metadata.xml b/media-libs/libplacebo/metadata.xml @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <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="shaderc">Use <pkg>media-libs/shaderc</pkg> to compile GLSL</flag> - <flag name="vulkan">Add support for the vulkan graphics API</flag> - </use> - <upstream> - <bugs-to>https://code.videolan.org/videolan/libplacebo/issues</bugs-to> - </upstream> -</pkgmetadata>