From 24fd814c326e282c4321965c31f341dad77e270d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 8 Jan 2021 11:28:34 +0000 Subject: gentoo resync : 08.01.2021 --- x11-libs/libva-intel-media-driver/Manifest | 5 ++- ...va-intel-media-driver-20.2.0_x11_optional.patch | 16 ++++++++ .../libva-intel-media-driver-20.1.1-r1.ebuild | 43 +++++++++++++++++++++ .../libva-intel-media-driver-20.2.0-r1.ebuild | 45 ++++++++++++++++++++++ .../libva-intel-media-driver-9999.ebuild | 6 +-- 5 files changed, 111 insertions(+), 4 deletions(-) create mode 100644 x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-20.2.0_x11_optional.patch create mode 100644 x11-libs/libva-intel-media-driver/libva-intel-media-driver-20.1.1-r1.ebuild create mode 100644 x11-libs/libva-intel-media-driver/libva-intel-media-driver-20.2.0-r1.ebuild (limited to 'x11-libs/libva-intel-media-driver') diff --git a/x11-libs/libva-intel-media-driver/Manifest b/x11-libs/libva-intel-media-driver/Manifest index d1245b4523a5..6af57a5b4225 100644 --- a/x11-libs/libva-intel-media-driver/Manifest +++ b/x11-libs/libva-intel-media-driver/Manifest @@ -1,10 +1,13 @@ +AUX libva-intel-media-driver-20.2.0_x11_optional.patch 458 BLAKE2B 22670f925729ab9e02a4b3ef753911f4e12867da2a0bad90c835ba3291ae139c65327dfdf1e236dd47cd66f943380bb20428d587c9fea57265c1287f31015ca7 SHA512 a235a4c18e388e0564c2ffa1fb4bdd86a05ae8622efdc03bd556b51361478e735330182f4310fd44c275d55759a48fc1ebef8384335daf5160d39b46642c3070 DIST intel-media-18.3.0.tar.gz 14422845 BLAKE2B 07da8e78d069de091bd4f29beb0699c97f007ff0f6543baa40d35923488d6152cb0a921cbe16006b045be973d5651ee01dc98ead0b79d4c779ed39e7a8fb38d9 SHA512 96ee85c087994d1e46666b6bbd5fca8e558d9169f8b7c130fdb4571ecd4dcbb31fe4a73607cc1b055918f27e90dbb25843d851bb8a1e2557733b4795e937479d DIST intel-media-18.4.1.tar.gz 14657816 BLAKE2B eb0be7c756e290bf5318987e375e9ad531fb4e318e4bf83f6c5d68106112a06d505ed7f8abc5ecb277b4430883d2153fe6c68ba683241253cb0d32853bb8dab2 SHA512 ed5d4116ab4af36761a0a819105f4ff5551d437e3f1ab8c1b2ea20a89a1792b7558bacd1ea8f082f595fce21d72810f806820b8543e1cbfcd2de7e28e649a536 DIST intel-media-20.1.1.tar.gz 21788401 BLAKE2B 53f2ebf5941c487253d02d0e23229cd408eb3b53ef37cfdefb1a874e5a6c9b051b69ccda513c2d1d9bb9cc03814bc3db40a40241eb3c7a0a78edba3ba7e9bf01 SHA512 696f3b82d155e472285150b476daf9195ec6cbad0526f017fd0c57c1fb02618210b3e96eb13351ee286f3502df4970a22a940c3476877fa1f5c23dc85a646c25 DIST intel-media-20.2.0.tar.gz 21860711 BLAKE2B df5ebb4ec603902dd34aca6915dab5bec4ad6237e5810d0e04349f7269adf62505afaed8456d1ad6a3544525bdb2012294e6b92e68dc3f0338f6fab54aa934bd SHA512 0f4817b66f4e2d752d5a34cc1c8974dd09b4fe4f6d8bf3df896887542c229088edc406a9b2a68a9b353214aa7ffa4cd8917cdb6695dbe2e316af6c444822b15b EBUILD libva-intel-media-driver-18.3.0.ebuild 892 BLAKE2B fd24321a622354cab7622f05b377b284d0ec301fb4a3e223413b991034ae93ff62b9d7d0bcc59d6dc13e9fad17619d5b448114eff8fd002d2595de32cbe19672 SHA512 f921231ce8251b7fc990f3a2ddc666d0a72035e8e9c3e80e632a0298c040872cb30c3e6e556f022e08dd0b75f7eb2e73f88f97e6308f0121a2c6684d6088f555 EBUILD libva-intel-media-driver-18.4.1.ebuild 892 BLAKE2B efb6cbcf1340852a3ca27f5e763be43175e9d6c870877beb4a794f1da03d1e47c8d08668274b9e8dc26f4ef3674581e4bb6518547515c984bff7a6767d011ce1 SHA512 ace25c724f3434ddc08884d7bed8f944e78364d8f72c54b33f1f6f5919596a7a81581b369a0f0b9024858cc274a43df3095a76643a9433fc4a3d54ee1abb1d23 +EBUILD libva-intel-media-driver-20.1.1-r1.ebuild 942 BLAKE2B 212f8314c1abff4908c5bfcc25b05998ce54b77eaf9e7aab153cb669e5e8cada42bd3e1d6149d08c1ae09509c3b8f7e4d09eb51b9549678a3f8b809ef2da2093 SHA512 5675870b98ca4e17077f6589d25cec531ac4e7dd6df6854850b6c3c8ec61f604beccfe32a0c190a58750afb43c6024be66a56bb8379a901fac2230994b4d7613 EBUILD libva-intel-media-driver-20.1.1.ebuild 868 BLAKE2B 1925faeccacca0f6d0c3f75ffe081be5d9b140a10d6632468af645fa604b4c802840fe48741298af3a3f1b1657e0236ad7b96adadf7d207c36c62c787d7fd61a SHA512 6ec6ec8361808bb617d8c24a2c1830b644b18861ce463ecedc3c61960e5174644e531718cd8486741aa77353065ed48d630ffa037791188dd7f5c10e21d1f4e6 +EBUILD libva-intel-media-driver-20.2.0-r1.ebuild 985 BLAKE2B 9c7d9f19c231c5e3137243915fd2ff55f61bd79fd43ce23d21b1bf12572054d2c99b00e5ad249197501c0f270bcbc51dd589f18b0a6308c88adb028fee08a359 SHA512 72b54d7049baf366ba89782f6c098ec24e3435b81b5e4b592b8ce313b2aa8f4ac7bd4e8f1750ffcd17817c1ffff467385bf0e22118b3804af61e710d02471157 EBUILD libva-intel-media-driver-20.2.0.ebuild 869 BLAKE2B f060ace5837fa81761fd7a416d2c82647656691e7a356d4d5b1f5f74c06e417cbf8386429762d1a4b9ee63debaaa99efc5a55e6e333f372fe763848040f9e9bd SHA512 65233a25a88643d2d1b6d6d2381ba333a8c28716b178646471b191d691179ddfc45322a25564d189b266f3ee1c5c72ab5014bf374c9f1e6dd6f34b73e7ff8d53 -EBUILD libva-intel-media-driver-9999.ebuild 868 BLAKE2B 5aa009941c3516207c19f8c5679d79402ab93ec36bf7832ddec6df3331a531910912689e71cc44404263f052d5fdd8d64f4771f099c5bc098a442b31b2826218 SHA512 76c362b91437b7a0a57c2361ca1b646093b1c2bc84eeef2e55743218bf6cbf6beab9098145e93af9cfdedae9271d134587e45a264d8f66e131daea72ba6a6a4b +EBUILD libva-intel-media-driver-9999.ebuild 856 BLAKE2B 99f3e9db35608c12402b7e409dbec04cdb03977bf265f744cb434d278a9b91e6440df62a05a70ce4befb85b9bad8ae97a453f89b78763fbb1374cb1ec493e391 SHA512 af1b610ce1524dbe58501eabeac99a43f953d1809b3b3efa3a145071954b6b422199d9f08f4e1177bf1a6161048d5f8b9d9a8f849473b732ef2cc02d28816039 MISC metadata.xml 220 BLAKE2B 84f977d8ddafd6841e5bb33f6184f7bbba42eca7a00feae5a214221a0a6b37ddd3dc13d3dac223c8285daba53629fb9ef2f278675d51ce5b3da8dda6f419867b SHA512 33be2ee02959063935caf88639b7b116430ccacd420b40f9aee5708f081a8cec58d82b9bcbef803e6a4e0084d6f2dccd75cfd3144f15dacfbd783a52397765c3 diff --git a/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-20.2.0_x11_optional.patch b/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-20.2.0_x11_optional.patch new file mode 100644 index 000000000000..81c80d80f902 --- /dev/null +++ b/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-20.2.0_x11_optional.patch @@ -0,0 +1,16 @@ +--- a/media_driver/media_top_cmake.cmake ++++ b/media_driver/media_top_cmake.cmake +@@ -21,7 +21,12 @@ + project( media ) + + find_package(PkgConfig) ++if(NOT DEFINED USE_X11 OR USE_X11) + find_package(X11) ++endif(NOT DEFINED USE_X11 OR USE_X11) ++if(USE_X11 AND NOT X11_FOUND) ++ message(FATAL_ERROR "Usage of X11 is required by USE_X11 variable, but X11 package is not found") ++endif(USE_X11 AND NOT X11_FOUND) + + bs_set_if_undefined(LIB_NAME iHD_drv_video) + + diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-20.1.1-r1.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-20.1.1-r1.ebuild new file mode 100644 index 000000000000..6d7e704b973e --- /dev/null +++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-20.1.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 + SRC_URI="https://github.com/intel/media-driver/archive/intel-media-${PV}.tar.gz" + S="${WORKDIR}/media-driver-intel-media-${PV}" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Intel Media Driver for VAAPI (iHD)" +HOMEPAGE="https://github.com/intel/media-driver" + +LICENSE="MIT BSD" +SLOT="0" +IUSE="X" + +PATCHES=( "${FILESDIR}"/${PN}-20.2.0_x11_optional.patch ) + +DEPEND=">=media-libs/gmmlib-${PV} + >=x11-libs/libva-2.7.1[X?] + >=x11-libs/libpciaccess-0.13.1-r1:= +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DMEDIA_BUILD_FATAL_WARNINGS=OFF + -DMEDIA_RUN_TEST_SUITE=OFF + -DUSE_X11=$(usex X) + ) + + cmake_src_configure +} diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-20.2.0-r1.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-20.2.0-r1.ebuild new file mode 100644 index 000000000000..2fc523061564 --- /dev/null +++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-20.2.0-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 + SRC_URI="https://github.com/intel/media-driver/archive/intel-media-${PV}.tar.gz" + S="${WORKDIR}/media-driver-intel-media-${PV}" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Intel Media Driver for VAAPI (iHD)" +HOMEPAGE="https://github.com/intel/media-driver" + +LICENSE="MIT BSD" +SLOT="0" +IUSE="X" + +PATCHES=( "${FILESDIR}"/${PN}-20.2.0_x11_optional.patch ) + +DEPEND=">=media-libs/gmmlib-20.2.2 + >=x11-libs/libva-2.8.0[X?] + >=x11-libs/libpciaccess-0.13.1-r1:= +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DMEDIA_BUILD_FATAL_WARNINGS=OFF + -DMEDIA_RUN_TEST_SUITE=OFF + -DBUILD_TYPE=release + -DPLATFORM=linux + -DUSE_X11=$(usex X) + ) + + cmake_src_configure +} diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild index eac6f1060ed2..534fcd8c095f 100644 --- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild +++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit cmake-utils +inherit cmake if [[ ${PV} == *9999 ]] ; then : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"} @@ -36,5 +36,5 @@ src_configure() { -DMEDIA_RUN_TEST_SUITE=OFF ) - cmake-utils_src_configure + cmake_src_configure } -- cgit v1.2.3