summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-12-31 00:31:48 +0100
committerConrad Kostecki <conikost@gentoo.org>2022-12-31 00:38:42 +0100
commitd81209cf709fce4ea715e20a66af87ddb1d10be1 (patch)
tree5b5bed83000bb7ac4f3c10f3a573f96763dd59da /media-libs/libva-intel-media-driver
parentdev-libs/intel-compute-runtime: mask on musl (diff)
downloadgentoo-d81209cf709fce4ea715e20a66af87ddb1d10be1.tar.gz
gentoo-d81209cf709fce4ea715e20a66af87ddb1d10be1.tar.bz2
gentoo-d81209cf709fce4ea715e20a66af87ddb1d10be1.zip
media-libs/libva-intel-media-driver: add 22.6.4
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'media-libs/libva-intel-media-driver')
-rw-r--r--media-libs/libva-intel-media-driver/Manifest1
-rw-r--r--media-libs/libva-intel-media-driver/libva-intel-media-driver-22.6.4.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/media-libs/libva-intel-media-driver/Manifest b/media-libs/libva-intel-media-driver/Manifest
index 82cbcc9a2e54..1f1f57f2dc41 100644
--- a/media-libs/libva-intel-media-driver/Manifest
+++ b/media-libs/libva-intel-media-driver/Manifest
@@ -5,3 +5,4 @@ DIST intel-media-22.5.4.tar.gz 27493483 BLAKE2B ac6a93e06eec33edd823b1fd4310cd63
DIST intel-media-22.6.1.tar.gz 27578189 BLAKE2B 733168dab6f218814564eaa7315c25e64305e7b8717364da74d1e4a3261e6a008aa325459b593c5df37e2b88d6ddc0dcff40359bbce2b2b920ec4afe04df5764 SHA512 068b3e928b69fc61c13bcba68c985aabc66f8cc4fa6373cbf00f6bef949822c297d2dd9014dc454a99322e0dd150210affdafbdf0e918776f78f3fdda6462ddb
DIST intel-media-22.6.2.tar.gz 28608216 BLAKE2B bafa5701ea9ca155b616f855e9657ba22620138a8d5f822af5edcfa472530d5a3c6681ef42f6d8c70b395457e12b80625dd1a30564b9a8104b5c4e25f5d8b161 SHA512 2c54fef591fecedf98d64150844332ebeb0f473766747039cb0be8ab8e160f3a44ffce21c18991dcd10f917b0cf07f82a8578fc288c25322fa2f29c70083e323
DIST intel-media-22.6.3.tar.gz 28848769 BLAKE2B 9bd86f119e5cc3cb3ec8f16cc77072146d7c1e520030c9047e877526e3edd2ed1fdc67c30726c6f23df4abe954c2e6a23babd96b63c12c8e8b3f1c60be13d464 SHA512 1158a8a158c44f3911b16524b6f1ff2dbf119d8c3108600ac89e904a0832209c940e90549e04e305f56308a6ac17eb905eef2e74f14db23760c7f91e5ef5a35d
+DIST intel-media-22.6.4.tar.gz 28940937 BLAKE2B c7583126b99545a22e8928cf0e26da0382d8778e005353511d3109c15cafaa96124e5136ab68025ed8153c4d769be0b9d135e22d5521123c1058fc4565f2c89c SHA512 430f4a1d1251edc89e1ba05a1815f6e6ff1e65a11b44f0030e6daf6aeb28260a25e6fc5bafb2a6f34a12698a8095204811e79dfff4c58349c04b9941fa0644a0
diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-22.6.4.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-22.6.4.ebuild
new file mode 100644
index 000000000000..c330de59e4c2
--- /dev/null
+++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-22.6.4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+if [[ ${PV} == *9999 ]] ; then
+ : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
+ if [[ ${PV%9999} != "" ]] ; then
+ : ${EGIT_BRANCH:="release/${PV%.9999}"}
+ fi
+ inherit git-r3
+else
+ MY_PV="${PV%_pre}"
+ SRC_URI="https://github.com/intel/media-driver/archive/intel-media-${MY_PV}.tar.gz"
+ S="${WORKDIR}/media-driver-intel-media-${MY_PV}"
+ if [[ ${PV} != *_pre* ]] ; then
+ KEYWORDS="~amd64"
+ fi
+fi
+
+DESCRIPTION="Intel Media Driver for VA-API (iHD)"
+HOMEPAGE="https://github.com/intel/media-driver"
+
+LICENSE="MIT BSD redistributable? ( no-source-code )"
+SLOT="0"
+IUSE="+redistributable test X"
+
+RESTRICT="!test? ( test )"
+
+DEPEND=">=media-libs/gmmlib-22.3.0:=
+ >=media-libs/libva-2.14.0[X?]
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-21.4.2-Remove-unwanted-CFLAGS.patch
+ "${FILESDIR}"/${PN}-20.4.5_testing_in_src_test.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DMEDIA_BUILD_FATAL_WARNINGS=OFF
+ -DMEDIA_RUN_TEST_SUITE=$(usex test)
+ -DBUILD_TYPE=Release
+ -DPLATFORM=linux
+ -DCMAKE_DISABLE_FIND_PACKAGE_X11=$(usex !X)
+ -DENABLE_NONFREE_KERNELS=$(usex redistributable)
+ -DLATEST_CPP_NEEDED=ON # Seems to be the best option for now
+ )
+ local CMAKE_BUILD_TYPE="Release"
+ cmake_src_configure
+}