diff options
author | Matt Turner <mattst88@gentoo.org> | 2022-08-15 22:05:53 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-08-15 22:44:31 -0400 |
commit | d3b9b5591fe0f62110328b6781088224bffbc28c (patch) | |
tree | 95348da019e5a7b47b9fe6e843783eb9dbc52b9f /x11-libs | |
parent | media-libs/codec2: drop 1.0.4 (diff) | |
download | gentoo-d3b9b5591fe0f62110328b6781088224bffbc28c.tar.gz gentoo-d3b9b5591fe0f62110328b6781088224bffbc28c.tar.bz2 gentoo-d3b9b5591fe0f62110328b6781088224bffbc28c.zip |
x11-libs/libva-intel-media-driver: Version bump to 22.5.2
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/libva-intel-media-driver/Manifest | 1 | ||||
-rw-r--r-- | x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.2.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/x11-libs/libva-intel-media-driver/Manifest b/x11-libs/libva-intel-media-driver/Manifest index 9ae233485f66..d1eb02471f83 100644 --- a/x11-libs/libva-intel-media-driver/Manifest +++ b/x11-libs/libva-intel-media-driver/Manifest @@ -1,3 +1,4 @@ DIST intel-media-22.4.3.tar.gz 27415572 BLAKE2B d4298d6195cfd160c3bbc0789e2bbdbfe4ffac2fe592b697d52320e60c62a542902d8610c1a1a41ce7f79bf80bce7ee386cfe8b8e4b10509066dff8e6b52deee SHA512 9acf38fc0ffc65a7ef39570a31e9403600b1c6fe532a741ccdb26588e056a4bb0e5a53290942a026f4813b86db95d7d1eb3166682a889e482ac1645c6ce8aba4 DIST intel-media-22.4.4.tar.gz 27437439 BLAKE2B 63bee317ff12c34e7a2da9f5dce51ebb21708f8b5b3f3a58618f487e72f7826f0d4afa486bac08c2db8582d8a4774de716b5bb9a3dff93ff4fc266e56d434519 SHA512 e6ed669476e42396df7714732c628aa67d90fc8040c006605b754d70bdb7ecf476c5eb5c849a8647646dd3858c5fd469ba05f5c6b02b36d2211dc4f4cc7fa77f DIST intel-media-22.5.1.tar.gz 27432609 BLAKE2B 37513b70097f73e717125637b149c923c2a51acd209c1e26f3d8f2e871f11f8dc4c85aeece473b9736ec56cf9cfd879dbbfe793d7ab689d5f13d54081cb1d890 SHA512 068c9e71b58087bb833444df1d79d41a8185e90170815c519ffe8cab8bd307893d7f79e3c287bab809dab3bd0bd0e54ecd215becf80ababa1df9f3b3ee2718c2 +DIST intel-media-22.5.2.tar.gz 27470594 BLAKE2B 71ad9a46ded91acfcdb6a77620725873ccffd379005d8f7b3415170bbc0b4740ec61b95dccdcf404a50698826a32c5669a6c4c69d50bb1f81fc00870930ec07a SHA512 fb936306a334cc1e39730a508be715b7acaab9a0fd6fef0222fa426652b3b39697dcbcdf1eb560fe3e837139a816d05874c5474391b624411118083476fc9b97 diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.2.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.2.ebuild new file mode 100644 index 000000000000..50a4289d1592 --- /dev/null +++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +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.0.0:= + >=x11-libs/libva-2.14.0[X?] +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-20.2.0_x11_optional.patch + "${FILESDIR}"/${PN}-21.4.2-Remove-unwanted-CFLAGS.patch + "${FILESDIR}"/${PN}-20.4.5_testing_in_src_test.patch +) + +src_configure() { + local mycmakeargs=( + -DMEDIA_BUILD_FATAL_WARNINGS=OFF + -DMEDIA_RUN_TEST_SUITE=$(usex test) + -DBUILD_TYPE=Release + -DPLATFORM=linux + -DUSE_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 +} |