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

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner
2025-11-02 15:07:39 -05:00
parent 69056fa43f
commit c127e4a88f
2 changed files with 58 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST intel-media-25.3.4.tar.gz 28429128 BLAKE2B 373839b71e44f419614a8d6955c14bde0797e62e1f7e0f2ffb5aec4d1480e18b3bdfbb68c534f5eba5c193428218abb6263cfb635d76ee0be8307d06fee3cd51 SHA512 1f7facf8ca7375e8d2fa368565866096277f379920fbc6c426ba2a7cddef980d9039aa08e57f64e1ac2033f813de559fc3301083b2f6d7a3d340cc4455c92fee
DIST intel-media-25.4.0.tar.gz 28428412 BLAKE2B f7fa0fbea8640e363750b986c22de575f1a7e8a4191ee92fdddc8867a228b7e2a20efc260dbfc5c9e6f7d0c0576eb8662f07ff4abf175d467b75089816f8a247 SHA512 084685b3598847f8aefb995e2268f191b6bb086deaa5a6c54265a14187afdf42b5e592dbb55f45a825205be09e01ab3cb2ca0cce6cc581ddf3b917cc4f18fdf5
DIST intel-media-25.4.2.tar.gz 28431818 BLAKE2B 9b6bfc8a926ce732f3d17e7fea3745dd18bedf69d98442dd529d1c290962ead09843fe406c4b07377abb788bf025bb927575c22e319978eadabef4f7e7756a21 SHA512 232a4434dfdc69289e1098b73e6f32fa349935cb2766b12635c39f057d1a7afc8137ad718c7e189ae98a13742a521f7c74b4c088bd4df8eb0fd3d060c10dcc49

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
}