commit: 6193c58d58d6396a4c5dcc6829dc70950fcd06a7 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Tue Feb 13 18:37:02 2024 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Tue Feb 13 19:37:52 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6193c58d
media-libs/libva-intel-media-driver: Version bump to 24.1.3 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> media-libs/libva-intel-media-driver/Manifest | 1 + .../libva-intel-media-driver-24.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 2882e00ef16e..636a7e112d39 100644 --- a/media-libs/libva-intel-media-driver/Manifest +++ b/media-libs/libva-intel-media-driver/Manifest @@ -1,2 +1,3 @@ DIST intel-media-23.4.3.tar.gz 25805389 BLAKE2B ecb766bc3316e7cda338cc0b279ee31455596d004c11282dd1cad94f85f36c7711077648ae78c9b24e02198f8cc00746161fef119b86b10da52ddb2bf2949de5 SHA512 f28967d5474d43878ce6bf3e793c1a129fa0cd0240a2478d5d56ceb1fba3171ee8389c328818d90f914cabdd26caf1e7185dc9b38cd911a799b1fe2d8bc1ddfb DIST intel-media-24.1.1.tar.gz 25814687 BLAKE2B b9d721c17f7caa594668c2221cb730fe7e2b8f7a8ccef85b3f174012d76500c5f890a1abc8a0b0ca893cc80314044321b5e965e72dac4ed357197bc426b493d0 SHA512 42c30d24aab0d73510069dd83e59e0e9a29484b98969e94078681cfa2a832a3c44fac3942535a57db8c75db75d47e3a76c7b7d919fcff292fe6455eede418198 +DIST intel-media-24.1.3.tar.gz 25817697 BLAKE2B 683c22c484b5b10ad392e98bb75e85652f8e3b0ca9d06ab08d8c23fe71f46cb34804722405c70727b97a9bdf13c7610518a093a674996e35affed7a327ed9d83 SHA512 4f1844422ebad74f698ae5d14fd8e0bf7d9b2c4e98edb8f7c0a36957f8ebb43bc0191fab36b9b7b57d96f44ec3bb1f3dcba7b2c74f51786164d9380fb3523c3e diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.1.3.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.1.3.ebuild new file mode 100644 index 000000000000..c39052ca1e08 --- /dev/null +++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.1.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 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.14:=[${MULTILIB_USEDEP}] + >=media-libs/libva-2.20.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 +}