diff options
Diffstat (limited to 'x11-libs/libva-intel-media-driver')
-rw-r--r-- | x11-libs/libva-intel-media-driver/Manifest | 2 | ||||
-rw-r--r-- | x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.2.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/x11-libs/libva-intel-media-driver/Manifest b/x11-libs/libva-intel-media-driver/Manifest index 994e8d19d5ad..edf55cf7bb55 100644 --- a/x11-libs/libva-intel-media-driver/Manifest +++ b/x11-libs/libva-intel-media-driver/Manifest @@ -4,8 +4,10 @@ AUX libva-intel-media-driver-21.4.2-Remove-unwanted-CFLAGS.patch 1473 BLAKE2B d3 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 EBUILD libva-intel-media-driver-22.4.3.ebuild 1368 BLAKE2B cd90db1451e5e4fd1090a089b06ecc9554e84dd6250821cd4595040d3b2749032345bf967de1a856becd9855bfa7b5312e68a6479fa691d9abd150338febc614 SHA512 4776e62b5e9f61324bcd7d70222298060f9fea6800eada752fb54e17b43a74593745a197572015850a4e1e7cfb1df7315fd312b77e64ff1d5709c292f8d1cbd3 EBUILD libva-intel-media-driver-22.4.4.ebuild 1370 BLAKE2B a85f1278e4a29cb6b6ef5f8715510ac365e7dbd03d9efc7e2e537cf5e9fad71de2feaa47b2f8f00f5028efc934072e6d50c0d4bc6a9a2e4e492ad3727ee3a39d SHA512 f34a9d7f464904b05823d4ce96f6e024cc3a9a9e0e35b94092607379ed352fc55434ad26d0bdc2a6debe116fa2f93e9df18e846ce41bc3caf69abe2ca94a8e0d EBUILD libva-intel-media-driver-22.5.1.ebuild 1370 BLAKE2B a85f1278e4a29cb6b6ef5f8715510ac365e7dbd03d9efc7e2e537cf5e9fad71de2feaa47b2f8f00f5028efc934072e6d50c0d4bc6a9a2e4e492ad3727ee3a39d SHA512 f34a9d7f464904b05823d4ce96f6e024cc3a9a9e0e35b94092607379ed352fc55434ad26d0bdc2a6debe116fa2f93e9df18e846ce41bc3caf69abe2ca94a8e0d +EBUILD libva-intel-media-driver-22.5.2.ebuild 1370 BLAKE2B a85f1278e4a29cb6b6ef5f8715510ac365e7dbd03d9efc7e2e537cf5e9fad71de2feaa47b2f8f00f5028efc934072e6d50c0d4bc6a9a2e4e492ad3727ee3a39d SHA512 f34a9d7f464904b05823d4ce96f6e024cc3a9a9e0e35b94092607379ed352fc55434ad26d0bdc2a6debe116fa2f93e9df18e846ce41bc3caf69abe2ca94a8e0d EBUILD libva-intel-media-driver-9999.ebuild 1370 BLAKE2B a85f1278e4a29cb6b6ef5f8715510ac365e7dbd03d9efc7e2e537cf5e9fad71de2feaa47b2f8f00f5028efc934072e6d50c0d4bc6a9a2e4e492ad3727ee3a39d SHA512 f34a9d7f464904b05823d4ce96f6e024cc3a9a9e0e35b94092607379ed352fc55434ad26d0bdc2a6debe116fa2f93e9df18e846ce41bc3caf69abe2ca94a8e0d MISC metadata.xml 506 BLAKE2B 22e3db4e87af8f032b2f02d18937c894524ede02e6a408cee8f8fddf492cfd2ebc8de6ebe8e2e1786ec81f119a09d3abb50dd2617c7651ff2082986d66421760 SHA512 5f7ebdec168766dc148294d92b1a6f6a355293a78ff8c879d1de94dca283ecfb9136bb0f124f41af15256f31832c2b034452a2b4d0ea0616a36b2576b7d8da58 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 +} |