diff options
Diffstat (limited to 'media-libs/libva-intel-media-driver')
-rw-r--r-- | media-libs/libva-intel-media-driver/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libva-intel-media-driver/libva-intel-media-driver-23.4.3.ebuild | 57 |
2 files changed, 59 insertions, 0 deletions
diff --git a/media-libs/libva-intel-media-driver/Manifest b/media-libs/libva-intel-media-driver/Manifest index 4bc763d04c70..5b12776db6e2 100644 --- a/media-libs/libva-intel-media-driver/Manifest +++ b/media-libs/libva-intel-media-driver/Manifest @@ -5,7 +5,9 @@ AUX libva-intel-media-driver-23.3.4-Remove-unwanted-CFLAGS.patch 1530 BLAKE2B 73 AUX libva-intel-media-driver-23.3.4_testing_in_src_test.patch 2497 BLAKE2B 5db90e062447461d7310dc039f8969abd9618142b85b18d7b98dace6ef144df386f3cec3e3a1540588781ef1b92c7b6b276d8bddf30199cb0ff36dc3d7d88b3d SHA512 5a7b10a740e62c8729449d5f1d255621e5dadf944c3c9e13f8c8598c8e11c9b44b59844106825cc22d1fc30846e84539254a4c5b1295c5291638943cd314ca88 DIST intel-media-23.3.5.tar.gz 28684285 BLAKE2B a552c86e3993476a2cef1e2c3faec0776d3c2bc3e329a5056786c9a80b1b066cbd05b7045854e237be2987e079123687826a7902050e8287ea2c2dc9ac2cd2dd SHA512 35565cbda85e0e2cadd272e164b59119d1e29938fd9cf0914f893aa87fd16864c19760e2e53f557f79c9688dc45aa26ccbfa4c4f4cd415ddb8db635f02f55b48 DIST intel-media-23.4.1.tar.gz 25748094 BLAKE2B b34dd342e1066775edc1de7bac0dc2a2fb04b12819bbc2c1d85a923c42e12d4b6af2fca6c8f6a80a962c6aeb7b3f0aa197eedd5c114180fe283c494586147e6d SHA512 ac15f2ce828bd5b1c1d6ca1e0e390360c9e65359d6dfe9384482d4ba56766f929a6092f14008d29c67622d976b027a4e125d7e88f9e8c054af1199398c2b29fd +DIST intel-media-23.4.3.tar.gz 25805389 BLAKE2B ecb766bc3316e7cda338cc0b279ee31455596d004c11282dd1cad94f85f36c7711077648ae78c9b24e02198f8cc00746161fef119b86b10da52ddb2bf2949de5 SHA512 f28967d5474d43878ce6bf3e793c1a129fa0cd0240a2478d5d56ceb1fba3171ee8389c328818d90f914cabdd26caf1e7185dc9b38cd911a799b1fe2d8bc1ddfb EBUILD libva-intel-media-driver-23.3.5.ebuild 1512 BLAKE2B c84fe68e52817a2f0f5fe283c29ae11b300ccdb36c2fc63b27f279b684d0d658f33e27c98b18f2571e7ef48b88ad3f6be69a6c63c13b2934368857f802b70df6 SHA512 68d34703ecdfa83b4ff0950ea3db3101b35aa12578776478fa509d566a72193646792b5c5af13011d5dddb21e6442c3ac37961636185568b9a54210a0702a880 EBUILD libva-intel-media-driver-23.4.1.ebuild 1513 BLAKE2B af1a9b1048966407079c90456222ccca68886afb13670fa6c954fa702ff772d91f633d802bec2644da6fdb8ec032e2cec0402a638cf55b91c59f76be956e6b9b SHA512 134b6faa962525ac5bb4c6f7ddbbf04bc54252f97f279ef13367641ba6f9b9a7037b68c41234bc9cba052a5acb2cee0017992551f1da40c8e214a8a2615fb8a7 +EBUILD libva-intel-media-driver-23.4.3.ebuild 1513 BLAKE2B af1a9b1048966407079c90456222ccca68886afb13670fa6c954fa702ff772d91f633d802bec2644da6fdb8ec032e2cec0402a638cf55b91c59f76be956e6b9b SHA512 134b6faa962525ac5bb4c6f7ddbbf04bc54252f97f279ef13367641ba6f9b9a7037b68c41234bc9cba052a5acb2cee0017992551f1da40c8e214a8a2615fb8a7 EBUILD libva-intel-media-driver-9999.ebuild 1536 BLAKE2B 600fa8e7351ed4a0d2085571b1025cf93a7af5d36c47cb96e7332ac3e59ba8496f306e0744b714d2d883c9d9a32375e43ba08327ceae9051c599317825d74c64 SHA512 11f71377d69b25003a1ea1a960eddc1be785a1b84342b92106e3eda2572a72760777c299518fda6d6ad10e0493a68d9bc51b03ebc45a68a8787faa49ca66904b MISC metadata.xml 565 BLAKE2B e630d474342839898d53aef1849b002ef651c9f4fe3bfcfe72e809012e6c65153b1a6c14db922a45440ffd5717b90dddd6973185f8a625906e9d5571e50728d9 SHA512 22227f8a9cc39fff74f0bf2cdc8953f110e94ce0ab107076269d604c3cf8ae46c8496c9bcf47598e351cb9714e427f213ade5e446a5e8c67acfc87db5530b370 diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.4.3.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.4.3.ebuild new file mode 100644 index 000000000000..0fc271a25f62 --- /dev/null +++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.4.3.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.14:=[${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 +} |