diff options
author | Matt Turner <mattst88@gentoo.org> | 2023-10-29 12:20:17 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2023-10-29 12:36:30 -0400 |
commit | 60f048a8d1e3dd5d659c1475c78b0507539371d3 (patch) | |
tree | ce0f8b06d1b3725c05658c630b6a03229d7025c7 /media-libs | |
parent | dev-python/pymediainfo: add 6.1.0 (diff) | |
download | gentoo-60f048a8d1e3dd5d659c1475c78b0507539371d3.tar.gz gentoo-60f048a8d1e3dd5d659c1475c78b0507539371d3.tar.bz2 gentoo-60f048a8d1e3dd5d659c1475c78b0507539371d3.zip |
media-libs/libva-intel-media-driver: Version bump to 23.3.5
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-libs')
3 files changed, 60 insertions, 2 deletions
diff --git a/media-libs/libva-intel-media-driver/Manifest b/media-libs/libva-intel-media-driver/Manifest index 8e54ad8d8108..b72a8b6806dc 100644 --- a/media-libs/libva-intel-media-driver/Manifest +++ b/media-libs/libva-intel-media-driver/Manifest @@ -3,3 +3,4 @@ DIST intel-media-23.3.0.tar.gz 28669245 BLAKE2B 3554ba23eef4adc0b24196bed96669b6 DIST intel-media-23.3.1.tar.gz 28670977 BLAKE2B 7c546db40ecb65a1d6fc02779106c9cf7575f00d35614e9eb8b992a01b7fb5421b6fe7abd2192408caacb4b135d8c4677922c1710558c3835de0e482233628ad SHA512 b7944c94d89f456e017223c937d3e7dcd5d831fd6eb8b47c17e38a68227699953301d740119a8cf648e8d404cd8a02e4d4308472892b062858668d34272bed7d DIST intel-media-23.3.2.tar.gz 28672587 BLAKE2B 15ae0b33c34e7ea6e9b4fa7424c54ad7404a1d7561107ded3d9c8d6ab1703e59aad71734a8d0b1be73a638a6d241e7ae690602d8d19f7354856f99ff7a08897e SHA512 f88791175ee82996a8e4bb7bdac5fa46bad2e76eb7ae1812d4036e2ebc9a4a0b7f58776fc05bc862e9af78d1cb12efef3464a554c32f6b4e13b5a5d206e87432 DIST intel-media-23.3.4.tar.gz 28685223 BLAKE2B b1d1d0283ea0b30ba3ee8348cfe8cacc9b242ec8e2f1f18f147aa6d444c69ddd04d2902cf36fd8e81e924a34ffb6aa6a6fd83ef0fa6dbe93e36ed2f34c716a8e SHA512 305ba7d94a7b2b8ac1000776c48e5654b8e42da414785851e5872db55d2125c6ef5acfe349746d7fd332b11a34ffe9a7be2a2c46bb1e91d5aedb445eb764ecfa +DIST intel-media-23.3.5.tar.gz 28684285 BLAKE2B a552c86e3993476a2cef1e2c3faec0776d3c2bc3e329a5056786c9a80b1b066cbd05b7045854e237be2987e079123687826a7902050e8287ea2c2dc9ac2cd2dd SHA512 35565cbda85e0e2cadd272e164b59119d1e29938fd9cf0914f893aa87fd16864c19760e2e53f557f79c9688dc45aa26ccbfa4c4f4cd415ddb8db635f02f55b48 diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.3.5.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.3.5.ebuild new file mode 100644 index 000000000000..c8ccccb828bd --- /dev/null +++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.3.5.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 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.12:=[${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 +} diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild index 4eeb0fa4f80e..a1cd6b1e7422 100644 --- a/media-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild +++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild @@ -29,8 +29,8 @@ IUSE="+redistributable test X" RESTRICT="!test? ( test )" -DEPEND=">=media-libs/gmmlib-22.3.10:=[${MULTILIB_USEDEP}] - >=media-libs/libva-2.19.0[X?,${MULTILIB_USEDEP}] +DEPEND=">=media-libs/gmmlib-22.3.12:=[${MULTILIB_USEDEP}] + >=media-libs/libva-2.20.0[X?,${MULTILIB_USEDEP}] " RDEPEND="${DEPEND}" |