commit:     a3becd62401a3b351c58baa9d2733c7682a186cd
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 10 16:10:55 2025 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Mar 10 16:18:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3becd62

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

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

 media-libs/libva-intel-media-driver/Manifest       |  1 +
 .../libva-intel-media-driver-25.1.3.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 4c5af6eace7d..8d5441c31b72 100644
--- a/media-libs/libva-intel-media-driver/Manifest
+++ b/media-libs/libva-intel-media-driver/Manifest
@@ -2,3 +2,4 @@ DIST intel-media-24.4.4.tar.gz 27696988 BLAKE2B 
cf13b3d0feb005b204892a62402d2a04
 DIST intel-media-25.1.0.tar.gz 28243498 BLAKE2B 
7b0982cf06c13754897c46ca3c54b3d0d0d9c1b8aff6066c148770946f83655185bc02f67d83c762a2843969f6f70b4fae56c6853930ff228059e6ff7484b7bd
 SHA512 
20c0f7952a59ab86a6e6c1281c198961d835380e5d4f17fe2cc1c74a31da426560cc244950e6e91f0b4fb659133e461f5ba539c7000ad26e8032fc2aaf79c416
 DIST intel-media-25.1.1.tar.gz 28255804 BLAKE2B 
960c53a7f9920b782c2c4fa10a37c1de4b51271a37ec3b6eea1a814d842d4725564122e3d1b4b1a28dfa4beda80f13db20fe64831a5cdeeb5c299e754d2576f2
 SHA512 
dcdbbd5c7e2b5ae93784cc38229aab6bd9a330bcde08e6f7597264d9124a5044086c67e08828dfe81292b233e33148fe9b5426cf2d0003f62b3af6452f07de57
 DIST intel-media-25.1.2.tar.gz 28258215 BLAKE2B 
a3ca71d049f3a56d2e11f45009cfccc6fab7530449a4890b4082c2f4e1263e980b6d0717a2f2703290977886343b33122f88689e33814bb59405d21b09fedbe0
 SHA512 
ef8516c5a90ffc10199214d79a4725825ddd0e9050255c7ec6a7f118256a62b1faab28c301c8d64ee25cde137ed48500010c1b78a4aee105d5aa59b6ba6f346b
+DIST intel-media-25.1.3.tar.gz 28262040 BLAKE2B 
35dbf8b624438be331c0ac264f5c8c077b9a8aef247d9090d87fa3233bcd3fd4f42b894cf8425c83cab67d4504ae4c339c20913e453176d5bd6c4113a2136da9
 SHA512 
670bfcb79848e9d0b7f74dbdc9aee9af9a47e209d7228f35c3f78ad9dac3ddc7fdccd9d48068dbc14cc134181bbe22c632707c9268d1eec8908e9b00e88b5b28

diff --git 
a/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.1.3.ebuild 
b/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.1.3.ebuild
new file mode 100644
index 000000000000..a27f472ef10b
--- /dev/null
+++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.1.3.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.6.0:=[${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