From de9b2d9850ea1cb41c216274646d749ccec8c311 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 30 Mar 2023 03:54:54 +0100 Subject: gentoo auto-resync : 30:03:2023 - 03:54:54 --- media-video/libva-utils/Manifest | 4 +- media-video/libva-utils/libva-utils-2.16.0.ebuild | 91 ----------------------- media-video/libva-utils/libva-utils-2.18.1.ebuild | 91 +++++++++++++++++++++++ 3 files changed, 93 insertions(+), 93 deletions(-) delete mode 100644 media-video/libva-utils/libva-utils-2.16.0.ebuild create mode 100644 media-video/libva-utils/libva-utils-2.18.1.ebuild (limited to 'media-video/libva-utils') diff --git a/media-video/libva-utils/Manifest b/media-video/libva-utils/Manifest index 13382c5f085c..ba795cd23353 100644 --- a/media-video/libva-utils/Manifest +++ b/media-video/libva-utils/Manifest @@ -1,6 +1,6 @@ -DIST libva-utils-2.16.0.tar.gz 1245723 BLAKE2B 3ce3b54f9b8d1e5960fdb7587da9dc4fa9754f3612155e86d99f2f120e31e0e69a40482d7a4571fefc0a8079ba987303cbb433203de9ef6e203e9419b6d91b91 SHA512 d5395c1de4b95f4d0a86621b0338852250a3893b732c6fd69d0622c989bff530461a183c151f322469b1ed7e4815173dbbcf36cc390db9ebbae6fb7d7a90cb9c DIST libva-utils-2.17.1.tar.gz 1276454 BLAKE2B bde2b784c6470721b113d5a4429ac0b02b922a6bf37d3554d4c088736d184cb8d8107b714e37d0ba517fd9a52ba43247cd4985604421b5e63af841b649786366 SHA512 db89f70c6efb34d0e390a443b29d706ac6339e157e6451a96aa50d4246ce08b8276608874f20d115a2576b8876c95a2e34abba8fe0a446f6736a807779517c6c -EBUILD libva-utils-2.16.0.ebuild 1889 BLAKE2B c468daa3e5f410c07cfd156284e8aff90cb6c5ee783ca136602a85930133f00e9c6b6514266c111d0203cb4a8fcbe1804acc84442713f5a8c79887a9160d9759 SHA512 103a4bea8a212253a1ebfce46ebc01863fa6bf24c27a80e6a3d95c8b3a863ca6955e4b56c24d04d5f347c78c802bf336ce62c567b943f3b1dc0ad00bb043b13f +DIST libva-utils-2.18.1.tar.gz 1279583 BLAKE2B 84620e1c9cd24c0cddc4df93e598d858cec299af3a6776c3ee723be8cad3061f5d433d5d9ec1ff97f801ad5f14db93ef021c7bb40d7c7898d8d04fb9ac15ed07 SHA512 b83ac6395715b1970d56c4b03ac0331f444dad7e4159f00ce5891401c97aaac101a5be2b2123e2fe31350f7c09cd665e38ed01541c1be95b3d3ef822cafd6dea EBUILD libva-utils-2.17.1.ebuild 1887 BLAKE2B af617d30f0280a3db0acd79210fc4a9a87fac15ab625708c334d283213ffe5f195bdffcca9c3f9ce0aa5ad955d7b14f5aac9126ce2d7e7369583a4553832f5df SHA512 b3747cb360cfd2c1f5a39319e9e286d4673afdc3ec4e39155af3d5fea7d680fd0f6faa1f3a7ce67af4cc15a6306afc89daaa710e71a3c34bc973140d3714a98b +EBUILD libva-utils-2.18.1.ebuild 1891 BLAKE2B 56031d762b08d5f4808003eba8ca7b62d61ae266805007bead8b85f2379f6b72effc0590f7ceb2013b40a24f7324f50fe70dcc052e1a8a070fd9e97eb2f8edec SHA512 f1aaecbcdf93cd3c91be2fd5716ae63175ceb0144d0cb66cbcb8335ec12d6098f5d841f6893c58ccadeb5155771ddfa5be837741a3f23a49ef9a298f4320da0e EBUILD libva-utils-9999.ebuild 1891 BLAKE2B 56031d762b08d5f4808003eba8ca7b62d61ae266805007bead8b85f2379f6b72effc0590f7ceb2013b40a24f7324f50fe70dcc052e1a8a070fd9e97eb2f8edec SHA512 f1aaecbcdf93cd3c91be2fd5716ae63175ceb0144d0cb66cbcb8335ec12d6098f5d841f6893c58ccadeb5155771ddfa5be837741a3f23a49ef9a298f4320da0e MISC metadata.xml 596 BLAKE2B 856d27918d6cd6c983271e4f762f7b1278bd90231d33181b5381dbc425523d637c65902526ed1b48a0df6aadf41d77bd249e886dbc485edf93f5394fa458cd13 SHA512 46e6d1ef1cc966aadb696293fb1b5f86d1f3fe5d0245ca01a2d9be6d1b35f29830cee41d4e04f0c8d557dd20eb41ae927dc60a854ce24862a2b2f7fc8faee766 diff --git a/media-video/libva-utils/libva-utils-2.16.0.ebuild b/media-video/libva-utils/libva-utils-2.16.0.ebuild deleted file mode 100644 index 0b9d60fb2396..000000000000 --- a/media-video/libva-utils/libva-utils-2.16.0.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson - -DESCRIPTION="Collection of utilities and tests for VA-API" -HOMEPAGE="https://01.org/linuxmedia/vaapi" -if [[ ${PV} = *9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/intel/libva-utils" -else - SRC_URI="https://github.com/intel/libva-utils/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 arm64 ppc64 ~riscv x86 ~amd64-linux ~x86-linux" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="examples putsurface test +vainfo wayland X" -RESTRICT="test" # Tests must be run manually - -REQUIRED_USE=" - putsurface? ( || ( wayland X ) ) - || ( examples putsurface test vainfo ) -" - -DEPEND=" - x11-libs/libdrm - wayland? ( >=dev-libs/wayland-1.0.6 ) - X? ( >=x11-libs/libX11-1.6.2 ) -" -if [[ ${PV} = *9999 ]] ; then - DEPEND+="~media-libs/libva-${PV}:=[drm(+),wayland?,X?]" -else - DEPEND+=">=media-libs/libva-$(ver_cut 1-2).0:=[drm(+),wayland?,X?]" -fi -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - - local sed_args=() - - if ! use examples ; then - sed_args+=( - -e "/^subdir('decode')$/d" - -e "/^subdir('encode')$/d" - -e "/^subdir('videoprocess')$/d" - -e "/^subdir('vendor\/intel')$/d" - -e "/^subdir('vendor\/intel\/sfcsample')$/d" - ) - fi - - if ! use putsurface ; then - sed_args+=(-e "/^subdir('putsurface')$/d") - fi - - if ! use vainfo ; then - sed_args+=(-e "/^subdir('vainfo')$/d") - fi - - if [[ ${#sed_args[@]} -gt 0 ]] ; then - sed "${sed_args[@]}" -i meson.build || die - fi -} - -src_configure() { - local emesonargs=( - -Ddrm=true - $(meson_use X x11) - $(meson_use wayland) - $(meson_use test tests) - ) - meson_src_configure -} - -src_install() { - meson_src_install - - if ! use test ; then - rm -f "${ED}"/usr/bin/test_va_api || die - fi -} - -pkg_postinst() { - if use test ; then - elog "Tests must be run manually with the test_va_api binary" - fi -} diff --git a/media-video/libva-utils/libva-utils-2.18.1.ebuild b/media-video/libva-utils/libva-utils-2.18.1.ebuild new file mode 100644 index 000000000000..f2d6709a0a66 --- /dev/null +++ b/media-video/libva-utils/libva-utils-2.18.1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Collection of utilities and tests for VA-API" +HOMEPAGE="https://01.org/linuxmedia/vaapi" +if [[ ${PV} = *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/intel/libva-utils" +else + SRC_URI="https://github.com/intel/libva-utils/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="examples putsurface test +vainfo wayland X" +RESTRICT="test" # Tests must be run manually + +REQUIRED_USE=" + putsurface? ( || ( wayland X ) ) + || ( examples putsurface test vainfo ) +" + +DEPEND=" + x11-libs/libdrm + wayland? ( >=dev-libs/wayland-1.0.6 ) + X? ( >=x11-libs/libX11-1.6.2 ) +" +if [[ ${PV} = *9999 ]] ; then + DEPEND+="~media-libs/libva-${PV}:=[wayland?,X?]" +else + DEPEND+=">=media-libs/libva-$(ver_cut 1-2).0:=[wayland?,X?]" +fi +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + + local sed_args=() + + if ! use examples ; then + sed_args+=( + -e "/^ subdir('decode')$/d" + -e "/^ subdir('encode')$/d" + -e "/^ subdir('videoprocess')$/d" + -e "/^ subdir('vendor\/intel')$/d" + -e "/^ subdir('vendor\/intel\/sfcsample')$/d" + ) + fi + + if ! use putsurface ; then + sed_args+=(-e "/^ subdir('putsurface')$/d") + fi + + if ! use vainfo ; then + sed_args+=(-e "/^subdir('vainfo')$/d") + fi + + if [[ ${#sed_args[@]} -gt 0 ]] ; then + sed "${sed_args[@]}" -i meson.build || die + fi +} + +src_configure() { + local emesonargs=( + -Ddrm=true + $(meson_use X x11) + $(meson_use wayland) + $(meson_use test tests) + ) + meson_src_configure +} + +src_install() { + meson_src_install + + if ! use test ; then + rm -f "${ED}"/usr/bin/test_va_api || die + fi +} + +pkg_postinst() { + if use test ; then + elog "Tests must be run manually with the test_va_api binary" + fi +} -- cgit v1.2.3