diff options
author | Matt Turner <mattst88@gentoo.org> | 2023-09-05 22:05:48 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2023-09-05 22:05:48 -0400 |
commit | 434ba5b414c8cca78c19f04cb0cfe8a60d2979a0 (patch) | |
tree | cf9dbb32ff64034e3c09fbd1ab26313de5c198ba /media-libs/libva-intel-media-driver | |
parent | media-libs/libva-intel-driver: unmask USE flag 'hybrid' on stable branch (diff) | |
download | gentoo-434ba5b414c8cca78c19f04cb0cfe8a60d2979a0.tar.gz gentoo-434ba5b414c8cca78c19f04cb0cfe8a60d2979a0.tar.bz2 gentoo-434ba5b414c8cca78c19f04cb0cfe8a60d2979a0.zip |
media-libs/libva-intel-media-driver: Version bump to 23.3.2
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-libs/libva-intel-media-driver')
-rw-r--r-- | media-libs/libva-intel-media-driver/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libva-intel-media-driver/libva-intel-media-driver-23.3.2.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/media-libs/libva-intel-media-driver/Manifest b/media-libs/libva-intel-media-driver/Manifest index 03e27082d956..de1185bb0b3c 100644 --- a/media-libs/libva-intel-media-driver/Manifest +++ b/media-libs/libva-intel-media-driver/Manifest @@ -1,3 +1,4 @@ DIST intel-media-23.2.4.tar.gz 28664669 BLAKE2B 01092c5786a7c665a3f1b61fdf306ba9fcb8957900fba987c9bca4716f48d7b006cb71a456cf75ea59f3dc9076e628dc4261bae5c3afe7da3bdc928c300cf4d4 SHA512 b02a50d5820cf22999c39ab2ff559c444682576018f2cb9aa669014f5c1fd07b01737fab706ec100929d3493a8b9e25bba7bcbae2af304d51c93b667af2884db DIST intel-media-23.3.0.tar.gz 28669245 BLAKE2B 3554ba23eef4adc0b24196bed96669b68f3a6eb3fc74817c155f2d88d041226feaea384f6e1f1602dfb45630dd826f02835ead670b311384b18e3082855eb9e5 SHA512 9eddb4294c8718a133144736c536b30e3a7a1cb0e96467ffc9565cc14f94659c59559b3bf59540b9e605325ee186afe9e359fbe2e64ab167dcbbd965ace68e9e 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 diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.3.2.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.3.2.ebuild new file mode 100644 index 000000000000..4b8e3b107c7b --- /dev/null +++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.3.2.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.9:=[${MULTILIB_USEDEP}] + >=media-libs/libva-2.19.0[X?,${MULTILIB_USEDEP}] +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-21.4.2-Remove-unwanted-CFLAGS.patch + "${FILESDIR}"/${PN}-20.4.5_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 +} |