From e9d044d4b9b71200a96adfa280848858c0f468c9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Nov 2021 13:10:00 +0000 Subject: gentoo resync : 13.11.2021 --- x11-libs/libva/Manifest | 4 +- x11-libs/libva/libva-2.13.0-r1.ebuild | 87 +++++++++++++++++++++++++++++++++ x11-libs/libva/libva-2.13.0.ebuild | 91 ----------------------------------- x11-libs/libva/libva-9999.ebuild | 24 ++++----- 4 files changed, 99 insertions(+), 107 deletions(-) create mode 100644 x11-libs/libva/libva-2.13.0-r1.ebuild delete mode 100644 x11-libs/libva/libva-2.13.0.ebuild (limited to 'x11-libs/libva') diff --git a/x11-libs/libva/Manifest b/x11-libs/libva/Manifest index c1344b7fb161..6d439a515ca6 100644 --- a/x11-libs/libva/Manifest +++ b/x11-libs/libva/Manifest @@ -12,12 +12,12 @@ DIST libva-2.9.1.tar.gz 240934 BLAKE2B 76333a9ce78783c3d94798a19ea6a52d95768ca7e EBUILD libva-2.10.0.ebuild 2283 BLAKE2B d10f3af7aea6285c4beaf66d9a2d17d6b31017b0f4458ef44777412edd6c6e14373ea1567df06bb57a8c3d9cd346201b6e5c508dd18c2fd5f8b0204e2e46285a SHA512 113a7f36c60a92bf49ec2a6ebe58ec4b124b188a71e9a1e3abebd1adbdd13c3f7778995bfd83b5e76ad535f62f1d0f492a3902c8c1f64172e58d679e26b66459 EBUILD libva-2.11.0.ebuild 2481 BLAKE2B d0744d77fbba87fb1ce8f470ece7ddd1d07c5a1dbbd3e5619759de9be0d62a93a4c9fef4e669649b3a23a1c21a8d4153798b72ce0a101d24f010902827a658de SHA512 e2534cc6d1c0635f3f71d8be64dfc610670690d8d077b73713b0dd2cf1e41c7a6c562a3b5f07f8a9622161f983434e155d66a05b00b9c851131a429a137ceb80 EBUILD libva-2.12.0.ebuild 2478 BLAKE2B 23fac4cabb6ab1ce2154f64a050054a439eac194a982a8b26109d9ca488361eb84b809dd304f00d0a8cf3576226d0e5419c4288e0654b55674c99f057a9ffff7 SHA512 2ff908bf6578682d2919ac534ee9a28ff9f6ad007bbf7d504689b61a71c12e3399cff085e987510bc1e91d551cb808512d26b74fbca11259e00dda8d9272ca2d -EBUILD libva-2.13.0.ebuild 2481 BLAKE2B d0744d77fbba87fb1ce8f470ece7ddd1d07c5a1dbbd3e5619759de9be0d62a93a4c9fef4e669649b3a23a1c21a8d4153798b72ce0a101d24f010902827a658de SHA512 e2534cc6d1c0635f3f71d8be64dfc610670690d8d077b73713b0dd2cf1e41c7a6c562a3b5f07f8a9622161f983434e155d66a05b00b9c851131a429a137ceb80 +EBUILD libva-2.13.0-r1.ebuild 2223 BLAKE2B 6d5bb956e7d6e575d7dae9e43ab09ad095fea0a0322fbbd7d9c73d5a1d9f219b3c0506bbcdd106bee25dfb6a89436ce03be6acb98a78d13d06b8ff76cda83143 SHA512 88900389199c9c7d42e41fd932b9f3900818d4dc913cecec2b6cba9bf23ee11a2535d6ecabddc4c340182de12efd89cfe031fd0ee489065a125e86cb14562fd8 EBUILD libva-2.5.0-r1.ebuild 2186 BLAKE2B 7c9a9dc3f979909e02812398551197938bce437f0092940361853613fff9813e2d06af44f4e09130cb27ac4313722eba8b869ec0a8681532f07c6449ee4c0078 SHA512 2d8f8705c68d3a1bda268a18e8e65dc3e8d8f0d73fdcea6f6e8e5908028598f1a0e3865818ef37643bc6843af9dcb3f4fa9a167d021dbf67772937af2df721ed EBUILD libva-2.6.1.ebuild 2196 BLAKE2B cb99d1084562e6e920263669007872ddc6efedd3ce8755f0a8c62382eec24a97de2ed5286250884b117e6ecf2fb356835f0397f73773b865f21e9de1d2bb098e SHA512 57f80b7e4047c098437ffbff25883716bd46452f5b3162f14804dd732e01a1ca497a50dc4f3fb53cb04442c31129ca880559d2680e9d0bc35e1eb9cba695ebd1 EBUILD libva-2.7.1.ebuild 2193 BLAKE2B 331542be784f71417c51fda406846e3613976a5639492e3715f02dbcd1ffb2e1236700c164cc519fec7b14112c5aa150905a2b680d5810a9211897a4ed854a43 SHA512 bb0aa7dfac518d3b1c60fa99315de482840d8b5840652576977d10065f41cab3df44db4e78a33c65ac932e4a3e4317896abcb2ccbaefcaaab31feccc6978c57b EBUILD libva-2.8.0.ebuild 2196 BLAKE2B cb99d1084562e6e920263669007872ddc6efedd3ce8755f0a8c62382eec24a97de2ed5286250884b117e6ecf2fb356835f0397f73773b865f21e9de1d2bb098e SHA512 57f80b7e4047c098437ffbff25883716bd46452f5b3162f14804dd732e01a1ca497a50dc4f3fb53cb04442c31129ca880559d2680e9d0bc35e1eb9cba695ebd1 EBUILD libva-2.9.0.ebuild 2203 BLAKE2B f17547730d5133eea144d8e6a582dc180284650cb47b1e76926644f9c95bba1d5b48caf21df4172f6d288157c056ed9a7b1a9ea1204279894d1b95f63666f891 SHA512 5e7a024dd37094c8c9726c5907a9feffbbb74a81693ba475b892d9377c0f52b9d58f78aa16b6781fa49b96529aa84473145f395ce975f77e047f8365416836ce EBUILD libva-2.9.1.ebuild 2536 BLAKE2B c454fcb746f256f118e638307e8e3214f6a9120b2843e1583b0f2ac46acf2c7a51bed11d2b047408bcc056e124837a385abb53b1ffc1a2c0b9d3782e271ff822 SHA512 9d6df49bb14d1cdf943cdf62a0a86a01f5a803099b4675f60327d92d5786f37d2fb643ea75e060daea44f12c5e38426d425955cbdb45afb2ead0f9d2f4fb29e3 -EBUILD libva-9999.ebuild 2481 BLAKE2B 672e4ad86da4ec758657bf33ff7f3e59c3978defb6ec804c7b85271dca0578bd3a9d6b6c8d337c5aaa7343a5d4601acc63c85bd00907bc1718067ca04ef22100 SHA512 360f7690abd3b5ec87f9d7e5ca490c774f14d79abd3065615d5aaa598b519fef8d7ccfc478a494caad96f97370136169d35e8b147e6e169c1dc40bd518405c6f +EBUILD libva-9999.ebuild 2223 BLAKE2B 2401aa2c500de6a88750f33a4e964c3113a4a782ff4a9e50e6f41b6434e6e397b9d86da12ed424c928535f9c9b75e2f4823413a6c70b28358d7ad538c9b529c7 SHA512 693a23ecfbbb04769e8ae58ac62b1c5e95fc415b478889c63cdacf10c5c0591c6c691feddef517396ef67f4b033a363406067f19803630e517d87a60bf541a01 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.13.0-r1.ebuild new file mode 100644 index 000000000000..5762e1110acc --- /dev/null +++ b/x11-libs/libva/libva-2.13.0-r1.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools multilib-minimal optfeature + +DESCRIPTION="Video Acceleration (VA) API for Linux" +HOMEPAGE="https://01.org/linuxmedia/vaapi" + +if [[ ${PV} = *9999 ]] ; then + inherit git-r3 + 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" +fi + +LICENSE="MIT" +SLOT="0/$(ver_cut 1)" +IUSE="+drm opengl utils wayland 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? ( + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}] + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + 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 + /usr/include/va/va_x11.h + /usr/include/va/va_dri2.h + /usr/include/va/va_dricommon.h + /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 + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + default + find "${ED}" -type f -name "*.la" -delete || die +} + +pkg_postinst() { + optfeature_header + optfeature "NVIDIA GPU support" x11-libs/libva-vdpau-driver + optfeature "Older Intel GPU support" x11-libs/libva-intel-driver + optfeature "Newer Intel GPU support" x11-libs/libva-intel-media-driver +} diff --git a/x11-libs/libva/libva-2.13.0.ebuild b/x11-libs/libva/libva-2.13.0.ebuild deleted file mode 100644 index 953e353bda47..000000000000 --- a/x11-libs/libva/libva-2.13.0.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools multilib-minimal - -DESCRIPTION="Video Acceleration (VA) API for Linux" -HOMEPAGE="https://01.org/linuxmedia/vaapi" - -if [[ ${PV} = *9999 ]] ; then - inherit git-r3 - 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" -fi - -LICENSE="MIT" -SLOT="0/$(ver_cut 1)" -IUSE="+drm opengl utils vdpau wayland X" - -VIDEO_CARDS="nvidia intel i965 nouveau" -for x in ${VIDEO_CARDS}; do - IUSE+=" video_cards_${x}" -done - -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? ( - >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] - >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] - >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}] - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig -" -PDEPEND="video_cards_nvidia? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] ) - video_cards_nouveau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r3[${MULTILIB_USEDEP}] ) - vdpau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] ) - video_cards_intel? ( >=x11-libs/libva-intel-driver-2.0.0[${MULTILIB_USEDEP}] ) - video_cards_i965? ( >=x11-libs/libva-intel-driver-2.0.0[${MULTILIB_USEDEP}] ) - utils? ( media-video/libva-utils ) -" - -REQUIRED_USE="|| ( drm wayland X ) - opengl? ( X )" - -DOCS=( NEWS ) - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/va/va_backend_glx.h - /usr/include/va/va_x11.h - /usr/include/va/va_dri2.h - /usr/include/va/va_dricommon.h - /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 - ) - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_install_all() { - default - find "${ED}" -type f -name "*.la" -delete || die -} diff --git a/x11-libs/libva/libva-9999.ebuild b/x11-libs/libva/libva-9999.ebuild index 045f07425bd6..a5e8ebf286e2 100644 --- a/x11-libs/libva/libva-9999.ebuild +++ b/x11-libs/libva/libva-9999.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools multilib-minimal +inherit autotools multilib-minimal optfeature DESCRIPTION="Video Acceleration (VA) API for Linux" HOMEPAGE="https://01.org/linuxmedia/vaapi" @@ -23,12 +23,7 @@ fi LICENSE="MIT" SLOT="0/$(ver_cut 1)" -IUSE="+drm opengl utils vdpau wayland X" - -VIDEO_CARDS="nvidia intel i965 nouveau" -for x in ${VIDEO_CARDS}; do - IUSE+=" video_cards_${x}" -done +IUSE="+drm opengl utils wayland X" RDEPEND=" >=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}] @@ -47,13 +42,7 @@ DEPEND="${RDEPEND}" BDEPEND=" virtual/pkgconfig " -PDEPEND="video_cards_nvidia? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] ) - video_cards_nouveau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r3[${MULTILIB_USEDEP}] ) - vdpau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] ) - video_cards_intel? ( >=x11-libs/libva-intel-driver-2.0.0[${MULTILIB_USEDEP}] ) - video_cards_i965? ( >=x11-libs/libva-intel-driver-2.0.0[${MULTILIB_USEDEP}] ) - utils? ( media-video/libva-utils ) -" +PDEPEND="utils? ( media-video/libva-utils )" REQUIRED_USE="|| ( drm wayland X ) opengl? ( X )" @@ -89,3 +78,10 @@ multilib_src_install_all() { default find "${ED}" -type f -name "*.la" -delete || die } + +pkg_postinst() { + optfeature_header + optfeature "NVIDIA GPU support" x11-libs/libva-vdpau-driver + optfeature "Older Intel GPU support" x11-libs/libva-intel-driver + optfeature "Newer Intel GPU support" x11-libs/libva-intel-media-driver +} -- cgit v1.2.3