summaryrefslogtreecommitdiff
path: root/media-libs/libva-intel-media-driver
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libva-intel-media-driver')
-rw-r--r--media-libs/libva-intel-media-driver/Manifest2
-rw-r--r--media-libs/libva-intel-media-driver/libva-intel-media-driver-24.2.3.ebuild57
2 files changed, 59 insertions, 0 deletions
diff --git a/media-libs/libva-intel-media-driver/Manifest b/media-libs/libva-intel-media-driver/Manifest
index 3ead18a3fc44..cb4ce9fb563d 100644
--- a/media-libs/libva-intel-media-driver/Manifest
+++ b/media-libs/libva-intel-media-driver/Manifest
@@ -3,8 +3,10 @@ AUX libva-intel-media-driver-23.3.4_testing_in_src_test.patch 2497 BLAKE2B 5db90
DIST intel-media-24.1.5.tar.gz 25834293 BLAKE2B 076731a57c7fbf6776df393c631e8abda7e07679b5babb28a8973b9919ce6522b3bfa92f9a1fcb173714a2c7dedec79a791a8e94d3e1962df072d1b2157692b9 SHA512 9c8121345f23153361f6458b638938896c42542c80efb0490847aa04c873a0726199985318ee6691f240def12d4f18e804971040dc1284b0cd46287756bb61ba
DIST intel-media-24.2.1.tar.gz 25838267 BLAKE2B 85a0e8416317c846c28c76a70468ba26f388482a4a4348364564df968db22703da112a1908ba371fa0f626d5771bb61cf28cb7ef824fb8a2f756062d99f8731a SHA512 79bbe7d48b14860f6340d57d5cc85d3e7c6d49ff1b95807ece4db3bcaf9d49b2f08ddabe49d9015e7fdf80241030a792dec7dcae00c393463242b69eac7c46b9
DIST intel-media-24.2.2.tar.gz 25842653 BLAKE2B 0943e7ab47c9782a72b846c4debc233382d04d77e956a71a93c790930dca8b619b59b40a2f530f58db2f9a1b70b1bdbea7e78cf303301ca8311130aa3e59afb1 SHA512 e2d556a57b61a8a0d89e00858406121aac8dd7b44b1291c2f7af90d127d002a1c6acffc8d7d69502e646fe2057fbabd625eec5b3271b784c3c9b1835e23d4bdd
+DIST intel-media-24.2.3.tar.gz 25843886 BLAKE2B 4f9403d66883083f13f5a33939a9b30625521b1d918813de0b50bcc462497a52add0d0878adb487fefd836163a5e5b0804ced281d7269cef7dbb576675f6566b SHA512 78b57e35eb6473b70fc02803650179f9f2e3fdb4d4350e3200b4f930d8f6e4b6efc28ff8cbab533316fb4838f599de25ec57733142ed4bd2b70b909211bd3a2b
EBUILD libva-intel-media-driver-24.1.5.ebuild 1512 BLAKE2B cf3863f914dca4ca54c2d52455cd2e278e4fa9570743fae517bef623d94d6202a10ef583c724193d0a3fcb169064f2efc4e09c0d0581dd24428fa6ac27f305ee SHA512 ed937550ae0e8944c8e0dc3f76177150bf0fb45e06a193cd410b4d9d6643446f298c1ebcf6b315c7192f6fc342465abce823d01dc0a7667b7336dc012d1925c3
EBUILD libva-intel-media-driver-24.2.1.ebuild 1513 BLAKE2B 31e234c8cd9375efa68f37e6d99eaed8106f2721f9d491920d3880037be2c6d265fe9eec5cb0605c0cd3d777f86c2b09275c1ff5fbbec40816730176149eb2bf SHA512 4241c9294924e22913eb4368d6b7385ed416136fafb3d598b1e78ab4d27fe06d693412ad0a5a0f0e9478be62047546724cb23ab21def6b34fcd36fa9a1d68d34
EBUILD libva-intel-media-driver-24.2.2.ebuild 1513 BLAKE2B 31e234c8cd9375efa68f37e6d99eaed8106f2721f9d491920d3880037be2c6d265fe9eec5cb0605c0cd3d777f86c2b09275c1ff5fbbec40816730176149eb2bf SHA512 4241c9294924e22913eb4368d6b7385ed416136fafb3d598b1e78ab4d27fe06d693412ad0a5a0f0e9478be62047546724cb23ab21def6b34fcd36fa9a1d68d34
+EBUILD libva-intel-media-driver-24.2.3.ebuild 1513 BLAKE2B 31e234c8cd9375efa68f37e6d99eaed8106f2721f9d491920d3880037be2c6d265fe9eec5cb0605c0cd3d777f86c2b09275c1ff5fbbec40816730176149eb2bf SHA512 4241c9294924e22913eb4368d6b7385ed416136fafb3d598b1e78ab4d27fe06d693412ad0a5a0f0e9478be62047546724cb23ab21def6b34fcd36fa9a1d68d34
EBUILD libva-intel-media-driver-9999.ebuild 1513 BLAKE2B 497d026ff6824bd2dbe00e6fec56220b892daaace1c593fabac83220457e1f75b799d19d1388263fcb6c5b30701e9e7aea54b714e0201f6c240f763925dcfa80 SHA512 1b51d2a2e120dd71beb547a8ca2ecae4877be7ce0401157ec1acad222641e4f095a3f961e30fdfcd44d6c68cee4e1de5a42218740914cc0ff3dd0f2312402afe
MISC metadata.xml 565 BLAKE2B e630d474342839898d53aef1849b002ef651c9f4fe3bfcfe72e809012e6c65153b1a6c14db922a45440ffd5717b90dddd6973185f8a625906e9d5571e50728d9 SHA512 22227f8a9cc39fff74f0bf2cdc8953f110e94ce0ab107076269d604c3cf8ae46c8496c9bcf47598e351cb9714e427f213ade5e446a5e8c67acfc87db5530b370
diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.2.3.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.2.3.ebuild
new file mode 100644
index 000000000000..91b4623797d9
--- /dev/null
+++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.2.3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib flag-o-matic
+
+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.18:=[${MULTILIB_USEDEP}]
+ >=media-libs/libva-2.21.0[X?,${MULTILIB_USEDEP}]
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-23.3.4-Remove-unwanted-CFLAGS.patch
+ "${FILESDIR}"/${PN}-23.3.4_testing_in_src_test.patch
+)
+
+multilib_src_configure() {
+ # https://github.com/intel/media-driver/issues/356
+ append-cxxflags -D_FILE_OFFSET_BITS=64
+
+ 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
+}