summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2023-07-19 10:56:35 -0400
committerMatt Turner <mattst88@gentoo.org>2023-07-19 10:59:01 -0400
commiteef47f8ac53644879a5a45e3d39fcca5dbb562e2 (patch)
treece4205a9c9393535bf5342bbae86066db18efd2b /media-libs/libva-intel-media-driver
parentmedia-libs/gmmlib: Version bump to 22.3.9 (diff)
downloadgentoo-eef47f8ac53644879a5a45e3d39fcca5dbb562e2.tar.gz
gentoo-eef47f8ac53644879a5a45e3d39fcca5dbb562e2.tar.bz2
gentoo-eef47f8ac53644879a5a45e3d39fcca5dbb562e2.zip
media-libs/libva-intel-media-driver: Version bump to 23.3.0
Signed-off-by: Matt Turner <mattst88@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-23.3.0.ebuild57
-rw-r--r--media-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild4
3 files changed, 60 insertions, 2 deletions
diff --git a/media-libs/libva-intel-media-driver/Manifest b/media-libs/libva-intel-media-driver/Manifest
index 985083622716..b553103e279a 100644
--- a/media-libs/libva-intel-media-driver/Manifest
+++ b/media-libs/libva-intel-media-driver/Manifest
@@ -2,3 +2,4 @@ DIST intel-media-23.1.6.tar.gz 28641715 BLAKE2B 5f0ad615c95347dc2be95280b225345a
DIST intel-media-23.2.2.tar.gz 28638288 BLAKE2B 0bce0a7bdd8ce204c074ef975fbc67840df79a5127ed75dc4beb2d18f01df51859e4ecfde256ccd03c5568bba3cc2e99b8e0b8e280f90ede77f6cab852e2656b SHA512 e1e08c7ab13c557087ec3a2ad5470e67436d71acaee2ce0faa056df66c32d126843fc65a44959c42e5ee728870d149e7b990f3df7929050c589a3b663836bf8b
DIST intel-media-23.2.3.tar.gz 28653410 BLAKE2B 75f00b27c02782b4337bf96a2653bfb7bd2837f3f8b71e52fed9877066699bf6c449be47d50578bbe5b6b97363b5b7c7d967347e130a84ad42572d0ca976e121 SHA512 629e373fc9cffed31b140389911998b71b8124cd7b32df5d904240f32fc4bd7233fdef656f4906ddf67c880ed35e8ca4e9dabf235b3779e930a8babd6f13b9c6
DIST intel-media-23.2.4.tar.gz 28664669 BLAKE2B 01092c5786a7c665a3f1b61fdf306ba9fcb8957900fba987c9bca4716f48d7b006cb71a456cf75ea59f3dc9076e628dc4261bae5c3afe7da3bdc928c300cf4d4 SHA512 b02a50d5820cf22999c39ab2ff559c444682576018f2cb9aa669014f5c1fd07b01737fab706ec100929d3493a8b9e25bba7bcbae2af304d51c93b667af2884db
+DIST intel-media-23.3.0.tar.gz 28669245 BLAKE2B 3554ba23eef4adc0b24196bed96669b68f3a6eb3fc74817c155f2d88d041226feaea384f6e1f1602dfb45630dd826f02835ead670b311384b18e3082855eb9e5 SHA512 9eddb4294c8718a133144736c536b30e3a7a1cb0e96467ffc9565cc14f94659c59559b3bf59540b9e605325ee186afe9e359fbe2e64ab167dcbbd965ace68e9e
diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.3.0.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.3.0.ebuild
new file mode 100644
index 000000000000..4b8e3b107c7b
--- /dev/null
+++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.3.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2023 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.9:=[${MULTILIB_USEDEP}]
+ >=media-libs/libva-2.19.0[X?,${MULTILIB_USEDEP}]
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-21.4.2-Remove-unwanted-CFLAGS.patch
+ "${FILESDIR}"/${PN}-20.4.5_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
+}
diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild
index 939ba7b8b003..2552e63603a9 100644
--- a/media-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild
+++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild
@@ -29,8 +29,8 @@ IUSE="+redistributable test X"
RESTRICT="!test? ( test )"
-DEPEND=">=media-libs/gmmlib-22.1.8:=[${MULTILIB_USEDEP}]
- >=media-libs/libva-2.14.0[X?,${MULTILIB_USEDEP}]
+DEPEND=">=media-libs/gmmlib-22.3.9:=[${MULTILIB_USEDEP}]
+ >=media-libs/libva-2.19.0[X?,${MULTILIB_USEDEP}]
"
RDEPEND="${DEPEND}"