diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /x11-libs/libva-intel-driver | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'x11-libs/libva-intel-driver')
-rw-r--r-- | x11-libs/libva-intel-driver/Manifest | 3 | ||||
-rw-r--r-- | x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r2.ebuild | 60 | ||||
-rw-r--r-- | x11-libs/libva-intel-driver/metadata.xml | 3 |
3 files changed, 65 insertions, 1 deletions
diff --git a/x11-libs/libva-intel-driver/Manifest b/x11-libs/libva-intel-driver/Manifest index e1a6bcbcea42..58b7272e357c 100644 --- a/x11-libs/libva-intel-driver/Manifest +++ b/x11-libs/libva-intel-driver/Manifest @@ -1,4 +1,5 @@ DIST intel-vaapi-driver-2.4.1.tar.bz2 2889762 BLAKE2B 25888ac7a1a42233c4b0269bd910c5161f99bf22c932b46e20c8c77ed0404bf99702dd9f11b73bc0fd76a3b012ffa1de6c6133cbd7be880428235de9cfcc6ad8 SHA512 1e9dc81ecd0b3640fccd1fb827a0ade0a1e5bbabe375130df159849e47ce98c8e879c65ddaaae11d16e916be76b507be69bc0c813494e37e7fca86b0b897a94f EBUILD libva-intel-driver-2.4.1-r1.ebuild 1315 BLAKE2B b3143086acc0278e1d84e0ca35a34325ba667395f547437205c70a8182d560cda32a704fb0016674f0691a661e19ad7321e88ad9fb09dedb4db2610f9d0a0a0a SHA512 4dd1702c81a808eaafe6b519eeef298bf1e6c6872c3b87011f928f90abd642decfd53f43b8663f9f646fe147d1e4e6e871ef8fa496b92e42cdd1c996fd18f530 +EBUILD libva-intel-driver-2.4.1-r2.ebuild 1434 BLAKE2B 07fdb241b574bcc1ef95e3186a41a364ae94862ee14630727eab0d69e7040bec562cfcb662af6f421e4f017db897e5e636876251b9136184035be6f7d56dfb25 SHA512 dd3f28e992940fe73f5f3838ae61ef4b38334eb33deab62debf4aa793f74895a682d5e77e6012bea24977298ba1e4a1379cda4f6dd4b23399f9221213cd244e2 EBUILD libva-intel-driver-9999.ebuild 1317 BLAKE2B 916b05fa1c1b8baf20fcbea3256f04771920362863af4fb13688b539a819125227e63ea574081089b8c42b09278a1815aeaf217ac914204e05930e19fde0e9b7 SHA512 9825c011b68f4610f6600bae36a4b6a099aa34cedd6de6a7be2345bd584e1e8c3f00adbcc670a1ac9ffd8731c25da151c7d842eff241fc2e2efa50a8654f7e35 -MISC metadata.xml 349 BLAKE2B ef740cfab9baa746a0bd75f99e4458e76899eadb7c65f546de16093b5fc7a6a16e84bfd289c5b5a3a82e96775904cdda76cb60ad5b9389672c63d1a8f9d97f03 SHA512 2d8f4932efe61409edd7b1cafc9a84e8a3620d87db60053a378cbe180f2c6206a51e0033943fa349de91954c1b76154651013dea99e51fdcaaff7e9f0e40616d +MISC metadata.xml 492 BLAKE2B b9c22e0ff6c7a984e4ea52caa889c14d15a8a77bddac8a088bc872290c619c84a4814986d97a4c5712f3f57288b1d5257b86ef1d5446e4d4420c0e5cf018c36b SHA512 343f913540aecf5e9b8eaf08ee225f55b238695d894e681e8f643f04ffb2a695aae1773c9fbaafb76df6aa929acc3dc23d77054fff6857c09785c2165bfdd572 diff --git a/x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r2.ebuild b/x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r2.ebuild new file mode 100644 index 000000000000..2adee1dcc69b --- /dev/null +++ b/x11-libs/libva-intel-driver/libva-intel-driver-2.4.1-r2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="intel-vaapi-driver" +if [[ ${PV} = *9999* ]] ; then # Live ebuild + inherit git-r3 + EGIT_REPO_URI="https://github.com/intel/intel-vaapi-driver" +fi + +inherit autotools multilib-minimal + +DESCRIPTION="HW video decode support for Intel integrated graphics" +HOMEPAGE="https://github.com/intel/intel-vaapi-driver" +if [[ ${PV} != *9999* ]] ; then + SRC_URI="https://github.com/intel/${MY_PN}/releases/download/${PV}/${MY_PN}-${PV}.tar.bz2" + S="${WORKDIR}/${MY_PN}-${PV}" + KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="hybrid wayland X" +RESTRICT="test" # No tests + +RDEPEND=" + >=x11-libs/libdrm-2.4.52[video_cards_intel,${MULTILIB_USEDEP}] + >=x11-libs/libva-2.4.0:=[X?,wayland?,drm,${MULTILIB_USEDEP}] + + hybrid? ( + >=x11-libs/intel-hybrid-codec-driver-2.0.0[X?,wayland?] + ) + + wayland? ( + >=dev-libs/wayland-1.11[${MULTILIB_USEDEP}] + >=media-libs/mesa-9.1.6[egl(+),${MULTILIB_USEDEP}] + ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + eapply_user + sed -e 's/intel-gen4asm/\0diSaBlEd/g' -i configure.ac || die + eautoreconf +} + +multilib_src_configure() { + local myconf=( + $(use_enable hybrid hybrid-codec) + $(use_enable wayland) + $(use_enable X x11) + ) + ECONF_SOURCE="${S}" econf "${myconf[@]}" +} + +multilib_src_install_all() { + find "${D}" -name "*.la" -delete || die +} diff --git a/x11-libs/libva-intel-driver/metadata.xml b/x11-libs/libva-intel-driver/metadata.xml index da593f3141e2..fed131d8322d 100644 --- a/x11-libs/libva-intel-driver/metadata.xml +++ b/x11-libs/libva-intel-driver/metadata.xml @@ -5,6 +5,9 @@ <email>aballier@gentoo.org</email> <name>Alexis Ballier</name> </maintainer> + <use> + <flag name="hybrid">Enable support for hybrid vaapi hardware acceleration on Intel Haswell and newer architectures</flag> + </use> <upstream> <remote-id type="github">intel/intel-vaapi-driver</remote-id> </upstream> |