diff options
Diffstat (limited to 'media-libs/libva-intel-driver')
5 files changed, 187 insertions, 0 deletions
diff --git a/media-libs/libva-intel-driver/Manifest b/media-libs/libva-intel-driver/Manifest new file mode 100644 index 000000000000..980af2e655ec --- /dev/null +++ b/media-libs/libva-intel-driver/Manifest @@ -0,0 +1,5 @@ +DIST intel-vaapi-driver-2.4.1.tar.bz2 2889762 BLAKE2B 25888ac7a1a42233c4b0269bd910c5161f99bf22c932b46e20c8c77ed0404bf99702dd9f11b73bc0fd76a3b012ffa1de6c6133cbd7be880428235de9cfcc6ad8 SHA512 1e9dc81ecd0b3640fccd1fb827a0ade0a1e5bbabe375130df159849e47ce98c8e879c65ddaaae11d16e916be76b507be69bc0c813494e37e7fca86b0b897a94f +EBUILD libva-intel-driver-2.4.1-r3.ebuild 1313 BLAKE2B 6fadfb7331f0dbc3da6fde1e123d8e72512dc4bd3ac2be46c7bd88153bb38549b671b298eb4670b1afeb7a9fc434c34eb74bb3cf8200577f08b8194f61b52a0d SHA512 46198b827580c4d98e3da4689dcf695872b5cd44e45e5f8432a2e885c1d6189bef6bee632bc36dc3f1605cb74a7cc240c5db8b588f8aeafe01dbb1fb078076d0 +EBUILD libva-intel-driver-2.4.1-r4.ebuild 1434 BLAKE2B 4a105d08cdd57841ef15297f71bbc0988f9bf4e59008f2d1ccfba7df987a3ce36c4f6909b908dab12e4c4b1668c9f6b15fb6a253cb8651761aa5843135e4f7ec SHA512 f4e4250b7f02535728a3e5e00c99a200b6b30d725469ee2bf2db9f8f6a4b1e1120d73a5dc3db360607343f8ef97e408a6d734882db96d9243de27a45150019f7 +EBUILD libva-intel-driver-9999.ebuild 1315 BLAKE2B 43f74385af30eaa60e053cd4ac6342fb71f4face46c0d019a2cf5d2330ca57b7c5903d113d188622803d30782c5e4d2902b7c3365ae6e3b76e188da1176a3674 SHA512 c9a8eb771580bcb66e65172a23feb6c03bfba03ac505003883479d6efe3a9df92b8595135e0e2db0ee6b6e7326e0613494e57b916f72af5fc76086de40067cf5 +MISC metadata.xml 490 BLAKE2B 1a66bd19f05f0c21849b8fe57ffc8f8e153af9a963e045b0c23050734a4aa506b920b91fb4606306f0850514df4465ef6f448042c0c339b61f75d7d6904e0ce7 SHA512 5bf8d70288c3b63678f6adafbf0a3284385e9122e4acf50455741e0472dd8fe1b8eb6d41ea92056cb2da462c31aa812b061297427dc9de1853539dbf762d7cef diff --git a/media-libs/libva-intel-driver/libva-intel-driver-2.4.1-r3.ebuild b/media-libs/libva-intel-driver/libva-intel-driver-2.4.1-r3.ebuild new file mode 100644 index 000000000000..edb0252633dd --- /dev/null +++ b/media-libs/libva-intel-driver/libva-intel-driver-2.4.1-r3.ebuild @@ -0,0 +1,54 @@ +# 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="wayland X" +RESTRICT="test" # No tests + +RDEPEND=" + >=x11-libs/libdrm-2.4.52[video_cards_intel,${MULTILIB_USEDEP}] + >=media-libs/libva-2.4.0:=[X?,wayland?,${MULTILIB_USEDEP}] + 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 wayland) + $(use_enable X x11) + ) + ECONF_SOURCE="${S}" econf "${myconf[@]}" +} + +multilib_src_install_all() { + find "${D}" -name "*.la" -delete || die +} diff --git a/media-libs/libva-intel-driver/libva-intel-driver-2.4.1-r4.ebuild b/media-libs/libva-intel-driver/libva-intel-driver-2.4.1-r4.ebuild new file mode 100644 index 000000000000..a7d5e4df2625 --- /dev/null +++ b/media-libs/libva-intel-driver/libva-intel-driver-2.4.1-r4.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}] + >=media-libs/libva-2.4.0:=[X?,wayland?,${MULTILIB_USEDEP}] + + hybrid? ( + >=media-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/media-libs/libva-intel-driver/libva-intel-driver-9999.ebuild b/media-libs/libva-intel-driver/libva-intel-driver-9999.ebuild new file mode 100644 index 000000000000..2f30270780ef --- /dev/null +++ b/media-libs/libva-intel-driver/libva-intel-driver-9999.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2019 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="wayland X" +RESTRICT="test" # No tests + +RDEPEND=" + >=x11-libs/libdrm-2.4.52[video_cards_intel,${MULTILIB_USEDEP}] + >=media-libs/libva-2.4.0:=[X?,wayland?,${MULTILIB_USEDEP}] + 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 wayland) + $(use_enable X x11) + ) + ECONF_SOURCE="${S}" econf "${myconf[@]}" +} + +multilib_src_install_all() { + find "${D}" -name "*.la" -delete || die +} diff --git a/media-libs/libva-intel-driver/metadata.xml b/media-libs/libva-intel-driver/metadata.xml new file mode 100644 index 000000000000..b5eb6b380053 --- /dev/null +++ b/media-libs/libva-intel-driver/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>vaapi@gentoo.org</email> + <name>VA-API Project</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> +</pkgmetadata> |