diff options
author | Matt Turner <mattst88@gentoo.org> | 2022-10-14 16:58:32 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-10-15 23:02:37 -0400 |
commit | d4ffd130920232a737433d71285b0c879fcce7ff (patch) | |
tree | e82bfddc29cc3845f88f387944fffdf7e8f26602 /x11-libs | |
parent | media-libs/libva-intel-driver: Rename from x11-libs/libva-intel-driver (diff) | |
download | gentoo-d4ffd130920232a737433d71285b0c879fcce7ff.tar.gz gentoo-d4ffd130920232a737433d71285b0c879fcce7ff.tar.bz2 gentoo-d4ffd130920232a737433d71285b0c879fcce7ff.zip |
media-libs/libva-intel-media-driver: Rename from x11-libs/libva-intel-media-driver
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-libs')
10 files changed, 0 insertions, 395 deletions
diff --git a/x11-libs/libva-intel-media-driver/Manifest b/x11-libs/libva-intel-media-driver/Manifest deleted file mode 100644 index 47c79e7fff63..000000000000 --- a/x11-libs/libva-intel-media-driver/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST intel-media-22.4.4.tar.gz 27437439 BLAKE2B 63bee317ff12c34e7a2da9f5dce51ebb21708f8b5b3f3a58618f487e72f7826f0d4afa486bac08c2db8582d8a4774de716b5bb9a3dff93ff4fc266e56d434519 SHA512 e6ed669476e42396df7714732c628aa67d90fc8040c006605b754d70bdb7ecf476c5eb5c849a8647646dd3858c5fd469ba05f5c6b02b36d2211dc4f4cc7fa77f -DIST intel-media-22.5.3.1.tar.gz 27492012 BLAKE2B e300eba764dde8f2d6c07f4768bca253a21ae5f3bcfd829257541fb26c8a997390011a8bfdfab964eafe37fcece5db4826700bccda672ef51b2f62de2ea94d17 SHA512 aab70004aa3bd91ced7b147e4cd4bd662fe0813b2deeaa90e61f4d692d43a302a1e18dad502bbedb5102593f21f9710a56e202f0ba70a58afed139df3bf2bb78 -DIST intel-media-22.5.3.tar.gz 27488655 BLAKE2B 90d79ac8e7ab8cb97941d37fe81ce4524cef45e49e4b64e57931f00927cb2065c0b6f8b4fff5aba58cb9ea64548337261e37df13a53ba07c8ab81db160990e6e SHA512 987ca85ed95272945fd8c23a388ca68481ff5fdf74737a04659304e58c6d131c00db03ee134fc3549225a9fc33b874632335f1182d1e0c6d90fbc5ea290b486d -DIST intel-media-22.5.4.tar.gz 27493483 BLAKE2B ac6a93e06eec33edd823b1fd4310cd635f20229ce1ba1d52eb36a11b8fcaf484c836261cb5e8437889208e9b268f29f78a241867629eb517fbada28a314bb4dc SHA512 9e7e4d7f33d0248f3d2288239ca121cd8c748a98587384e69c92aeedf4b9ce7ff585cac06b260713f9cd95936d270c36e6981bc500c2a6bee7276d0e238f4b74 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 deleted file mode 100644 index 81c80d80f902..000000000000 --- a/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-20.2.0_x11_optional.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- 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/files/libva-intel-media-driver-20.4.5_testing_in_src_test.patch b/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-20.4.5_testing_in_src_test.patch deleted file mode 100644 index 3c6d500f2fbf..000000000000 --- a/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-20.4.5_testing_in_src_test.patch +++ /dev/null @@ -1,46 +0,0 @@ -Run tests in src_test() instead of src_compile() and src_install() - ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -37,6 +37,8 @@ if("${os_name}" STREQUAL "clear-linux-os") - set(CMAKE_INSTALL_SYSCONFDIR "usr/share/defaults/etc") - endif() - -+include(CTest) -+ - include(CMakeDependentOption) - - option (ENABLE_KERNELS "Build driver with shaders (kernels) support" ON) ---- a/media_driver/linux/ult/CMakeLists.txt -+++ b/media_driver/linux/ult/CMakeLists.txt -@@ -52,9 +52,3 @@ endif () - add_subdirectory(libdrm_mock) - add_subdirectory(ult_app) - --enable_testing() --add_test(NAME test_devult COMMAND devult ${UMD_PATH}) --set_tests_properties(test_devult -- PROPERTIES PASS_REGULAR_EXPRESSION "PASS") --set_tests_properties(test_devult -- PROPERTIES FAIL_REGULAR_EXPRESSION "FAIL") ---- a/media_driver/linux/ult/ult_app/CMakeLists.txt -+++ b/media_driver/linux/ult/ult_app/CMakeLists.txt -@@ -68,13 +68,11 @@ if (DEFINED BYPASS_MEDIA_ULT AND "${BYPASS_MEDIA_ULT}" STREQUAL "yes") - message("-- media -- BYPASS_MEDIA_ULT = ${BYPASS_MEDIA_ULT}") - else () - if (ENABLE_NONFREE_KERNELS) -- add_custom_target(RunULT ALL DEPENDS ${LIB_NAME} devult) - -- add_custom_command( -- TARGET RunULT -- POST_BUILD -- COMMAND LD_PRELOAD=../libdrm_mock/libdrm_mock.so ./devult ../../../${LIB_NAME}.so -+ add_test( -+ NAME RunULT -+ COMMAND "${CMAKE_COMMAND}" -E env "LD_PRELOAD=${CMAKE_CURRENT_BINARY_DIR}/../libdrm_mock/libdrm_mock.so" "${CMAKE_CURRENT_BINARY_DIR}/devult" "${CMAKE_CURRENT_BINARY_DIR}/../../../${LIB_NAME}.so" - WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} -- COMMENT "Running devult...") -+ ) - endif () - endif () - diff --git a/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-21.4.2-Remove-unwanted-CFLAGS.patch b/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-21.4.2-Remove-unwanted-CFLAGS.patch deleted file mode 100644 index 288fe2d7f517..000000000000 --- a/x11-libs/libva-intel-media-driver/files/libva-intel-media-driver-21.4.2-Remove-unwanted-CFLAGS.patch +++ /dev/null @@ -1,43 +0,0 @@ -From f1c5c12d866783f7a3079be440c06fdb8a931ed2 Mon Sep 17 00:00:00 2001 -From: Matt Turner <mattst88@gmail.com> -Date: Tue, 23 Nov 2021 12:28:05 -0800 -Subject: [PATCH] Remove unwanted CFLAGS - ---- - media_driver/cmake/linux/media_compile_flags_linux.cmake | 7 ------- - 1 file changed, 7 deletions(-) - -diff --git a/media_driver/cmake/linux/media_compile_flags_linux.cmake b/media_driver/cmake/linux/media_compile_flags_linux.cmake -index 512ef17b..e8ade76d 100755 ---- a/media_driver/cmake/linux/media_compile_flags_linux.cmake -+++ b/media_driver/cmake/linux/media_compile_flags_linux.cmake -@@ -52,16 +52,12 @@ set(MEDIA_COMPILER_FLAGS_COMMON - -ffunction-sections - -Wl,--gc-sections - -- # -m32 or -m64 -- -m${ARCH} -- - # Global defines - -DLINUX=1 - -DLINUX - -DNO_RTTI - -DNO_EXCEPTION_HANDLING - -DINTEL_NOT_PUBLIC -- -g - ) - - -@@ -189,9 +185,6 @@ include(${MEDIA_EXT_CMAKE}/ext/linux/media_compile_flags_linux_ext.cmake OPTIONA - if(${PLATFORM} STREQUAL "linux") - #set predefined compiler flags set - add_compile_options("${MEDIA_COMPILER_FLAGS_COMMON}") -- add_compile_options("$<$<CONFIG:Debug>:${MEDIA_COMPILER_FLAGS_DEBUG}>") -- add_compile_options("$<$<CONFIG:Release>:${MEDIA_COMPILER_FLAGS_RELEASE}>") -- add_compile_options("$<$<CONFIG:ReleaseInternal>:${MEDIA_COMPILER_FLAGS_RELEASEINTERNAL}>") - - foreach (flag ${MEDIA_COMPILER_CXX_FLAGS_COMMON}) - SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${flag}") --- -2.32.0 - diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.4.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.4.ebuild deleted file mode 100644 index 2a5644f6778d..000000000000 --- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.4.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# 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:= - >=media-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 -} diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.1.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.1.ebuild deleted file mode 100644 index 54a280d5f2bf..000000000000 --- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# 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:= - >=media-libs/libva-2.14.0[X?] -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${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 - -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 -} diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.ebuild deleted file mode 100644 index 54a280d5f2bf..000000000000 --- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# 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:= - >=media-libs/libva-2.14.0[X?] -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${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 - -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 -} diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.4.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.4.ebuild deleted file mode 100644 index 54a280d5f2bf..000000000000 --- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.4.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# 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:= - >=media-libs/libva-2.14.0[X?] -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${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 - -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 -} 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 deleted file mode 100644 index a9c6b767ec77..000000000000 --- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# 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:= - >=media-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 -} diff --git a/x11-libs/libva-intel-media-driver/metadata.xml b/x11-libs/libva-intel-media-driver/metadata.xml deleted file mode 100644 index df5d13fb7264..000000000000 --- a/x11-libs/libva-intel-media-driver/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>media-video@gentoo.org</email> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>k2k@narod.ru</email> - <name>Evgeny Grin</name> - </maintainer> - <use> - <flag name="redistributable">Install redistributable media kernel binaries (no source code) files (primarily needed for video encoding support)</flag> - </use> -</pkgmetadata> |