diff options
author | Niklas Haas <git@haasn.xyz> | 2019-10-15 16:32:09 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2019-10-22 07:28:44 +0300 |
commit | 0aa83b8ccc7ef2ba37bfe2db13f4a62e5bc35131 (patch) | |
tree | ea4d227e1622ce849fa50925725611e102e3e45a /media-libs/libplacebo | |
parent | media-fonts/inconsolata-lgc: Removed old (diff) | |
download | gentoo-0aa83b8ccc7ef2ba37bfe2db13f4a62e5bc35131.tar.gz gentoo-0aa83b8ccc7ef2ba37bfe2db13f4a62e5bc35131.tar.bz2 gentoo-0aa83b8ccc7ef2ba37bfe2db13f4a62e5bc35131.zip |
media-libs/libplacebo: update to 1.21.0
Signed-off-by: Niklas Haas <git@haasn.xyz>
Closes: https://github.com/gentoo/gentoo/pull/13310
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-libs/libplacebo')
-rw-r--r-- | media-libs/libplacebo/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libplacebo/libplacebo-1.21.0.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/media-libs/libplacebo/Manifest b/media-libs/libplacebo/Manifest index 7c96caa9ee33..79adceb3717e 100644 --- a/media-libs/libplacebo/Manifest +++ b/media-libs/libplacebo/Manifest @@ -1 +1,2 @@ DIST libplacebo-v1.18.0.tar.gz 322963 BLAKE2B 640accaa64b1a5abdcc60f89c1b80ccc880ed060799a48cb9d41c7b891648913b05d06c62fa6dd21ccce07ac61b7c89e1702ac26013c596dc4a4d71c7b10721f SHA512 a2ca4a8b2bf9e5242c39c704e579575ccbfd0a7dadc4f73fe1994abb6e3f132d19f6d95415704a62e285e3f94e7b0ab8aeed14b4fce466df1ba34952f7127686 +DIST libplacebo-v1.21.0.tar.gz 326918 BLAKE2B fe9500de23487d7d5dfc51d9f94dd3d33d22bdac3005fc3334814c53a76a46cebd40655675b5172f058d02dd865385a993b3c52a863b9e9b32ac0bc4801e0126 SHA512 5de95b8cc48ba4ec9bc3afb8c8f2c4fae0d53ce6e69ffb53884c3a3ee2580998bae46b8934e462740b6c9c2e66e3c5d5f009f9b0f8ad2cb7b4fba829891cf333 diff --git a/media-libs/libplacebo/libplacebo-1.21.0.ebuild b/media-libs/libplacebo/libplacebo-1.21.0.ebuild new file mode 100644 index 000000000000..ab132357b85c --- /dev/null +++ b/media-libs/libplacebo/libplacebo-1.21.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2019 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 ~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 + +DESCRIPTION="Reusable library for GPU-accelerated image processing primitives" +HOMEPAGE="https://github.com/haasn/libplacebo" + +LICENSE="LGPL-2.1+" +SLOT="0" +IUSE="glslang lcms +shaderc test +vulkan" +REQUIRED_USE="vulkan? ( || ( glslang shaderc ) )" + +RDEPEND="glslang? ( <dev-util/glslang-7.10[${MULTILIB_USEDEP}] ) + lcms? ( media-libs/lcms:2[${MULTILIB_USEDEP}] ) + shaderc? ( >=media-libs/shaderc-2017.2[${MULTILIB_USEDEP}] ) + vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +multilib_src_configure() { + local emesonargs=( + $(meson_feature glslang) + $(meson_feature lcms) + $(meson_feature shaderc) + $(meson_feature vulkan) + $(meson_use test tests) + ) + meson_src_configure +} + +multilib_src_compile() { + meson_src_compile +} + +multilib_src_test() { + meson_src_test +} + +multilib_src_install() { + meson_src_install +} |