summaryrefslogtreecommitdiff
path: root/x11-libs/libva
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /x11-libs/libva
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'x11-libs/libva')
-rw-r--r--x11-libs/libva/Manifest5
-rw-r--r--x11-libs/libva/libva-2.14.0.ebuild (renamed from x11-libs/libva/libva-2.13.0-r1.ebuild)50
-rw-r--r--x11-libs/libva/libva-9999.ebuild48
3 files changed, 34 insertions, 69 deletions
diff --git a/x11-libs/libva/Manifest b/x11-libs/libva/Manifest
index 709dfd853a73..7c36feed18da 100644
--- a/x11-libs/libva/Manifest
+++ b/x11-libs/libva/Manifest
@@ -1,5 +1,6 @@
DIST libva-2.13.0.tar.gz 256724 BLAKE2B 97dd51bf488dc88027125973399e17dedcce03b7bf5104fd9bf17156c5013e1e9d46f2bf78c16431141294f75549a00fed3542b4f79dd31b032f4505c11d07d7 SHA512 226d09956754c9942348ed289f210268bad64dbba95d948b33ae063f7ecb276af9da083a48c03c3c79ad4305716d203898bc75a109945d064a5fe6fb43398dea
-EBUILD libva-2.13.0-r1.ebuild 2219 BLAKE2B edefe41042978eb61e2d0f75c2c4befab859ddc267a3b9a5719eaaefb38a3c88f58b3bb09f1c69345acb6df72858add5ac443ca076d0f8262daa3ca17469aa39 SHA512 afb649de60b6760ab1a2ff67b2d88c5cf0b09bfa5405258268e91aa987324dbf005e36f76236cb2ae441c2d7b693f6e949585026a2296c67a809927285d80f24
+DIST libva-2.14.0.tar.gz 266254 BLAKE2B 1ad504dc7f72b15bb35b486a5fcb327c14663b80068791aa983f2d46876b1504b8330888430b85d2fb309bd5aa2a11c4a34589b68fa140e10b27cb952e3eb5c7 SHA512 8d87b49c7242174d05dca709bd79e6e45cea6e6060d12f5cf7636433be587c2b3a6c3183f632fb0ff49b19f31f915a2a62818c26f57c3a8f40741aa1ab8270b4
EBUILD libva-2.13.0-r2.ebuild 2211 BLAKE2B d32d23548a690da4d07760074c77a981da21f139e39cf9b8f53a7b5317459c6f3c4a72328edfaaa9bdf5002fd17db4b66d6cff9ced7fd38527d2c67d6f34c561 SHA512 08396b6f8359cecb707ed63b25d0b1de37955cbddb82fe18cede7f2af7b582c947da3079079222fc7c614b4341aec29e849d63f4d1f56abe6504339323fc0c5a
-EBUILD libva-9999.ebuild 2215 BLAKE2B 19525e8b1bf0faa249b24f0cc9ad3cbdedb21d14a50b3f2d453fa33597f6e95296da9cf4abbc4542310c61a1566101bf232339a9a2e8b606705b50c294a928e6 SHA512 bbcde8d3a33debd1ff5b8765a673b8a3be97edeb1b151796f8f8c39d922e524b229a98d5c6ecbe4d317db4d7b2307d105cc25aa99d00d04cf4d8f7d2535bcf68
+EBUILD libva-2.14.0.ebuild 1710 BLAKE2B d181248d43c1258afeb9ca09948a3c4e0555430ceb29328a33e7e9117a4199076bdb235c120df2e70e5653e069e256accc593b100383710a7666dec93cf8f80a SHA512 962ae7b977868fe9bf93ea4bed2d26e3e19dfa84855b8e154e2dae4721c9c971856383d27922d662a19dcc67811c87722a2e9a8c5548e4ccec009e00a248f5ca
+EBUILD libva-9999.ebuild 1710 BLAKE2B d181248d43c1258afeb9ca09948a3c4e0555430ceb29328a33e7e9117a4199076bdb235c120df2e70e5653e069e256accc593b100383710a7666dec93cf8f80a SHA512 962ae7b977868fe9bf93ea4bed2d26e3e19dfa84855b8e154e2dae4721c9c971856383d27922d662a19dcc67811c87722a2e9a8c5548e4ccec009e00a248f5ca
MISC metadata.xml 470 BLAKE2B d9df0ced571b8afa6cecda8dafb7165d142c3fd1c0fff21526d5624edb530e0ac705a36a7fa1a17d18583805a267652dfb77850a70aa47dcceb4794636821e9e SHA512 66f62980ed7d876f681bc77cb47cf43940fe056db6577557cf518604885c54ad94a17680c6749eb81937b44e21d7df9cad3ede05fdf74be88dcb6d21e271491e
diff --git a/x11-libs/libva/libva-2.13.0-r1.ebuild b/x11-libs/libva/libva-2.14.0.ebuild
index a3eb6a58e73b..572eb16bd958 100644
--- a/x11-libs/libva/libva-2.13.0-r1.ebuild
+++ b/x11-libs/libva/libva-2.14.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit autotools multilib-minimal optfeature
+inherit meson-multilib optfeature
DESCRIPTION="Video Acceleration (VA) API for Linux"
HOMEPAGE="https://01.org/linuxmedia/vaapi"
@@ -13,26 +13,22 @@ if [[ ${PV} = *9999 ]] ; then
EGIT_BRANCH=master
EGIT_REPO_URI="https://github.com/intel/libva"
else
- # SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2"
- # The upstream provides periodically tarball with pre-built 'configure'.
- # To simplify updates, portage use tarballs without pre-build 'configure'
- # which are always available.
SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 arm64 ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
+ KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
fi
LICENSE="MIT"
SLOT="0/$(ver_cut 1)"
-IUSE="+drm opengl utils wayland X"
+IUSE="+drm opengl wayland X"
+REQUIRED_USE="opengl? ( X )"
RDEPEND="
>=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}]
- opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
wayland? (
>=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
- dev-util/wayland-scanner[${MULTILIB_USEDEP}]
)
X? (
+ >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
>=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
@@ -40,14 +36,9 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
BDEPEND="
+ wayland? ( dev-util/wayland-scanner )
virtual/pkgconfig
"
-PDEPEND="utils? ( media-video/libva-utils )"
-
-REQUIRED_USE="|| ( drm wayland X )
- opengl? ( X )"
-
-DOCS=( NEWS )
MULTILIB_WRAPPED_HEADERS=(
/usr/include/va/va_backend_glx.h
@@ -57,26 +48,17 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/va/va_glx.h
)
-src_prepare() {
- default
- eautoreconf
-}
-
multilib_src_configure() {
- local myeconfargs=(
- --with-drivers-path="${EPREFIX}/usr/$(get_libdir)/va/drivers"
- $(use_enable opengl glx)
- $(use_enable X x11)
- $(use_enable wayland)
- $(use_enable drm)
- --enable-va-messaging
+ local emesonargs=(
+ -Ddriverdir="${EPREFIX}/usr/$(get_libdir)/va/drivers"
+ -Ddisable_drm=false
+ -Dwith_x11=$(usex X)
+ -Dwith_glx=$(usex X)
+ -Dwith_wayland=$(usex wayland)
+ -Denable_docs=false
+ -Denable_va_messaging=true
)
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_install_all() {
- default
- find "${ED}" -type f -name "*.la" -delete || die
+ meson_src_configure
}
pkg_postinst() {
diff --git a/x11-libs/libva/libva-9999.ebuild b/x11-libs/libva/libva-9999.ebuild
index e3ae90808c43..572eb16bd958 100644
--- a/x11-libs/libva/libva-9999.ebuild
+++ b/x11-libs/libva/libva-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit autotools multilib-minimal optfeature
+inherit meson-multilib optfeature
DESCRIPTION="Video Acceleration (VA) API for Linux"
HOMEPAGE="https://01.org/linuxmedia/vaapi"
@@ -13,25 +13,22 @@ if [[ ${PV} = *9999 ]] ; then
EGIT_BRANCH=master
EGIT_REPO_URI="https://github.com/intel/libva"
else
- SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2"
- # The upstream provides periodically tarball with pre-built 'configure'.
- # To simplify updates, portage use tarballs without pre-build 'configure'
- # which are always available.
- # SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
fi
LICENSE="MIT"
SLOT="0/$(ver_cut 1)"
-IUSE="+drm opengl utils wayland X"
+IUSE="+drm opengl wayland X"
+REQUIRED_USE="opengl? ( X )"
RDEPEND="
>=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}]
- opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
wayland? (
>=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
)
X? (
+ >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
>=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
@@ -42,12 +39,6 @@ BDEPEND="
wayland? ( dev-util/wayland-scanner )
virtual/pkgconfig
"
-PDEPEND="utils? ( media-video/libva-utils )"
-
-REQUIRED_USE="|| ( drm wayland X )
- opengl? ( X )"
-
-DOCS=( NEWS )
MULTILIB_WRAPPED_HEADERS=(
/usr/include/va/va_backend_glx.h
@@ -57,26 +48,17 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/va/va_glx.h
)
-src_prepare() {
- default
- eautoreconf
-}
-
multilib_src_configure() {
- local myeconfargs=(
- --with-drivers-path="${EPREFIX}/usr/$(get_libdir)/va/drivers"
- $(use_enable opengl glx)
- $(use_enable X x11)
- $(use_enable wayland)
- $(use_enable drm)
- --enable-va-messaging
+ local emesonargs=(
+ -Ddriverdir="${EPREFIX}/usr/$(get_libdir)/va/drivers"
+ -Ddisable_drm=false
+ -Dwith_x11=$(usex X)
+ -Dwith_glx=$(usex X)
+ -Dwith_wayland=$(usex wayland)
+ -Denable_docs=false
+ -Denable_va_messaging=true
)
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_install_all() {
- default
- find "${ED}" -type f -name "*.la" -delete || die
+ meson_src_configure
}
pkg_postinst() {