commit:     f9273dcb234f92a93401e8d2615aa93c8feac225
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 17 18:00:40 2025 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Sep  1 14:55:43 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9273dcb

media-libs/libva-intel-media-driver: Version bump to 25.3.2

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 media-libs/libva-intel-media-driver/Manifest       |  1 +
 .../libva-intel-media-driver-25.3.2.ebuild         | 57 ++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/media-libs/libva-intel-media-driver/Manifest 
b/media-libs/libva-intel-media-driver/Manifest
index 200ed6f8a018..22e3d24421c5 100644
--- a/media-libs/libva-intel-media-driver/Manifest
+++ b/media-libs/libva-intel-media-driver/Manifest
@@ -1,3 +1,4 @@
 DIST intel-media-25.2.6.tar.gz 28409738 BLAKE2B 
dfa455710118e5ae03f40d76d554b37bd04ef5530ae76b9f75530bca8418f5588fd49fcb661798e903ffbb8ce9930e0a54d33d5b7f46dcba3e2f1b9e535242b9
 SHA512 
4d4c9c3319f9c260f29c1e4283824438a71fa04ffeb1e7666ddb303554d581be60229b0c93b64f17c068ba5137d6ce41b46252f55ea4651b930ba920b4f4cffe
 DIST intel-media-25.3.0.tar.gz 28413520 BLAKE2B 
f67bb8dd5fc0f9c5e7a270d19137e9ec12e2eaae57498cb30c4dea32fa2e6119c012734eb7c62e2ac35c9f2b2dc3cce7049993354bf53b9658a2d522b5148ca0
 SHA512 
48f1f4a66d6d5c976c3e60763580cbe84ce9e9a1a216ee695e1ea851e8dfb874025bcc97ddf00b0fd1c13170ada01bde2a733edb49a037aa20ee29d24cd9abb9
 DIST intel-media-25.3.1.tar.gz 28422951 BLAKE2B 
3baaf481294722748438b846c46dc3c488a1c157971e730c62e9860ff6b8ed28974e299c97e8c6c81224cc747bb98823c92e47b2e1b22b9edfcfca8be6771bde
 SHA512 
8ce6a094c817c4444a68442bedbb525720727b0406a0e72d98bdad9331700ca3099017551f2fe26306ad3ff1558f5d26c6bc576a6c29d93d9601c0a2d86a876e
+DIST intel-media-25.3.2.tar.gz 28417686 BLAKE2B 
37d67d21f0a003b69a21b47512681accc9fbdfd101a457d08d4265b9f58d118c2d39aec2df0fad110af289b306f2cf6e3763f81298e18389a5b9d054de6ecdff
 SHA512 
f66da1293ad689b8a26a416009021f2fbbb7c89d0e70a1bed9ca33e4504f0f4608a265b39a59ea07d87ccf76fa0abdaa6c8f6160e47e5b6be45dfefb9ee8324f

diff --git 
a/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.3.2.ebuild 
b/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.3.2.ebuild
new file mode 100644
index 000000000000..ab536f6c2ef0
--- /dev/null
+++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.3.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2025 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.8.1:=[${MULTILIB_USEDEP}]
+       >=media-libs/libva-2.22.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
+}

Reply via email to