summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2022-08-31 12:12:49 -0400
committerMatt Turner <mattst88@gentoo.org>2022-08-31 12:48:57 -0400
commitdac52351605897603247c49108eccb41de87b980 (patch)
tree8310ec39bbf4e75a9d3ed741e4d737ffa59dbc54 /x11-libs
parentsys-kernel/gentoo-sources: add 5.19.6 and two fixes (diff)
downloadgentoo-dac52351605897603247c49108eccb41de87b980.tar.gz
gentoo-dac52351605897603247c49108eccb41de87b980.tar.bz2
gentoo-dac52351605897603247c49108eccb41de87b980.zip
x11-libs/libva-intel-media-driver: Version bump to 22.5.3
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/libva-intel-media-driver/Manifest1
-rw-r--r--x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/x11-libs/libva-intel-media-driver/Manifest b/x11-libs/libva-intel-media-driver/Manifest
index d1eb02471f83..806f13b6f3b1 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -2,3 +2,4 @@ DIST intel-media-22.4.3.tar.gz 27415572 BLAKE2B d4298d6195cfd160c3bbc0789e2bbdbf
DIST intel-media-22.4.4.tar.gz 27437439 BLAKE2B 63bee317ff12c34e7a2da9f5dce51ebb21708f8b5b3f3a58618f487e72f7826f0d4afa486bac08c2db8582d8a4774de716b5bb9a3dff93ff4fc266e56d434519 SHA512 e6ed669476e42396df7714732c628aa67d90fc8040c006605b754d70bdb7ecf476c5eb5c849a8647646dd3858c5fd469ba05f5c6b02b36d2211dc4f4cc7fa77f
DIST intel-media-22.5.1.tar.gz 27432609 BLAKE2B 37513b70097f73e717125637b149c923c2a51acd209c1e26f3d8f2e871f11f8dc4c85aeece473b9736ec56cf9cfd879dbbfe793d7ab689d5f13d54081cb1d890 SHA512 068c9e71b58087bb833444df1d79d41a8185e90170815c519ffe8cab8bd307893d7f79e3c287bab809dab3bd0bd0e54ecd215becf80ababa1df9f3b3ee2718c2
DIST intel-media-22.5.2.tar.gz 27470594 BLAKE2B 71ad9a46ded91acfcdb6a77620725873ccffd379005d8f7b3415170bbc0b4740ec61b95dccdcf404a50698826a32c5669a6c4c69d50bb1f81fc00870930ec07a SHA512 fb936306a334cc1e39730a508be715b7acaab9a0fd6fef0222fa426652b3b39697dcbcdf1eb560fe3e837139a816d05874c5474391b624411118083476fc9b97
+DIST intel-media-22.5.3.tar.gz 27488655 BLAKE2B 90d79ac8e7ab8cb97941d37fe81ce4524cef45e49e4b64e57931f00927cb2065c0b6f8b4fff5aba58cb9ea64548337261e37df13a53ba07c8ab81db160990e6e SHA512 987ca85ed95272945fd8c23a388ca68481ff5fdf74737a04659304e58c6d131c00db03ee134fc3549225a9fc33b874632335f1182d1e0c6d90fbc5ea290b486d
diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.ebuild
new file mode 100644
index 000000000000..50a4289d1592
--- /dev/null
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.ebuild
@@ -0,0 +1,55 @@
+# 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.0.0:=
+ >=x11-libs/libva-2.14.0[X?]
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-20.2.0_x11_optional.patch
+ "${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
+ -DUSE_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
+}