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

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner 2025-08-01 10:29:17 -04:00
parent d87cef1d85
commit bfac6b3ab3
No known key found for this signature in database
GPG Key ID: ACEB29740C9A4E97
2 changed files with 58 additions and 0 deletions

View File

@ -1,2 +1,3 @@
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

View File

@ -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
}