* [gentoo-commits] repo/gentoo:master commit in: media-libs/libva-intel-media-driver/, media-libs/libva-intel-media-driver/files/
@ 2023-10-09 16:18 Matt Turner
0 siblings, 0 replies; 2+ messages in thread
From: Matt Turner @ 2023-10-09 16:18 UTC (permalink / raw
To: gentoo-commits
commit: 408d0a0e5e616bcb230b057ec29a58e65aff1807
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 9 15:53:30 2023 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Oct 9 16:18:17 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=408d0a0e
media-libs/libva-intel-media-driver: Version bump to 23.3.4
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
media-libs/libva-intel-media-driver/Manifest | 1 +
...edia-driver-23.3.4-Remove-unwanted-CFLAGS.patch | 43 +++++++++++++++
...l-media-driver-23.3.4_testing_in_src_test.patch | 64 ++++++++++++++++++++++
.../libva-intel-media-driver-23.3.4.ebuild | 57 +++++++++++++++++++
4 files changed, 165 insertions(+)
diff --git a/media-libs/libva-intel-media-driver/Manifest b/media-libs/libva-intel-media-driver/Manifest
index de1185bb0b3c..8e54ad8d8108 100644
--- a/media-libs/libva-intel-media-driver/Manifest
+++ b/media-libs/libva-intel-media-driver/Manifest
@@ -2,3 +2,4 @@ DIST intel-media-23.2.4.tar.gz 28664669 BLAKE2B 01092c5786a7c665a3f1b61fdf306ba9
DIST intel-media-23.3.0.tar.gz 28669245 BLAKE2B 3554ba23eef4adc0b24196bed96669b68f3a6eb3fc74817c155f2d88d041226feaea384f6e1f1602dfb45630dd826f02835ead670b311384b18e3082855eb9e5 SHA512 9eddb4294c8718a133144736c536b30e3a7a1cb0e96467ffc9565cc14f94659c59559b3bf59540b9e605325ee186afe9e359fbe2e64ab167dcbbd965ace68e9e
DIST intel-media-23.3.1.tar.gz 28670977 BLAKE2B 7c546db40ecb65a1d6fc02779106c9cf7575f00d35614e9eb8b992a01b7fb5421b6fe7abd2192408caacb4b135d8c4677922c1710558c3835de0e482233628ad SHA512 b7944c94d89f456e017223c937d3e7dcd5d831fd6eb8b47c17e38a68227699953301d740119a8cf648e8d404cd8a02e4d4308472892b062858668d34272bed7d
DIST intel-media-23.3.2.tar.gz 28672587 BLAKE2B 15ae0b33c34e7ea6e9b4fa7424c54ad7404a1d7561107ded3d9c8d6ab1703e59aad71734a8d0b1be73a638a6d241e7ae690602d8d19f7354856f99ff7a08897e SHA512 f88791175ee82996a8e4bb7bdac5fa46bad2e76eb7ae1812d4036e2ebc9a4a0b7f58776fc05bc862e9af78d1cb12efef3464a554c32f6b4e13b5a5d206e87432
+DIST intel-media-23.3.4.tar.gz 28685223 BLAKE2B b1d1d0283ea0b30ba3ee8348cfe8cacc9b242ec8e2f1f18f147aa6d444c69ddd04d2902cf36fd8e81e924a34ffb6aa6a6fd83ef0fa6dbe93e36ed2f34c716a8e SHA512 305ba7d94a7b2b8ac1000776c48e5654b8e42da414785851e5872db55d2125c6ef5acfe349746d7fd332b11a34ffe9a7be2a2c46bb1e91d5aedb445eb764ecfa
diff --git a/media-libs/libva-intel-media-driver/files/libva-intel-media-driver-23.3.4-Remove-unwanted-CFLAGS.patch b/media-libs/libva-intel-media-driver/files/libva-intel-media-driver-23.3.4-Remove-unwanted-CFLAGS.patch
new file mode 100644
index 000000000000..1048d0c6bbba
--- /dev/null
+++ b/media-libs/libva-intel-media-driver/files/libva-intel-media-driver-23.3.4-Remove-unwanted-CFLAGS.patch
@@ -0,0 +1,43 @@
+From f961b7d5141f8c795afe69b0b2868de6129ecdc8 Mon Sep 17 00:00:00 2001
+From: Matt Turner <mattst88@gmail.com>
+Date: Mon, 9 Oct 2023 11:55:56 -0400
+Subject: [PATCH] Remove unwanted CFLAGS
+
+---
+ media_driver/cmake/linux/media_compile_flags_linux.cmake | 6 ------
+ 1 file changed, 6 deletions(-)
+
+diff --git a/media_driver/cmake/linux/media_compile_flags_linux.cmake b/media_driver/cmake/linux/media_compile_flags_linux.cmake
+index 0a211fdc7..17b0cb5a5 100755
+--- a/media_driver/cmake/linux/media_compile_flags_linux.cmake
++++ b/media_driver/cmake/linux/media_compile_flags_linux.cmake
+@@ -53,8 +53,6 @@ set(MEDIA_COMPILER_FLAGS_COMMON
+
+ # Enable c++14 features
+ -std=c++14
+- # -m32 or -m64
+- -m${ARCH}
+
+ # Global defines
+ -DLINUX=1
+@@ -62,7 +60,6 @@ set(MEDIA_COMPILER_FLAGS_COMMON
+ -DNO_RTTI
+ -DNO_EXCEPTION_HANDLING
+ -DINTEL_NOT_PUBLIC
+- -g
+ )
+
+ if(MEDIA_BUILD_HARDENING)
+@@ -204,9 +201,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.41.0
+
diff --git a/media-libs/libva-intel-media-driver/files/libva-intel-media-driver-23.3.4_testing_in_src_test.patch b/media-libs/libva-intel-media-driver/files/libva-intel-media-driver-23.3.4_testing_in_src_test.patch
new file mode 100644
index 000000000000..834c64bcf601
--- /dev/null
+++ b/media-libs/libva-intel-media-driver/files/libva-intel-media-driver-23.3.4_testing_in_src_test.patch
@@ -0,0 +1,64 @@
+From d462b4a2c6a134ab19d8903655a75f879642c5e0 Mon Sep 17 00:00:00 2001
+From: Matt Turner <mattst88@gmail.com>
+Date: Mon, 9 Oct 2023 12:01:26 -0400
+Subject: [PATCH] Run tests in src_test() instead of src_compile() and
+ src_install()
+
+---
+ CMakeLists.txt | 2 ++
+ media_driver/linux/ult/CMakeLists.txt | 6 ------
+ media_driver/linux/ult/ult_app/CMakeLists.txt | 11 ++++-------
+ 3 files changed, 6 insertions(+), 13 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index aabce7341..5e58009a7 100755
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -42,6 +42,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)
+diff --git a/media_driver/linux/ult/CMakeLists.txt b/media_driver/linux/ult/CMakeLists.txt
+index 9fb5b39ee..94e53f4d9 100644
+--- 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")
+diff --git a/media_driver/linux/ult/ult_app/CMakeLists.txt b/media_driver/linux/ult/ult_app/CMakeLists.txt
+index a232ee38c..3132ce704 100644
+--- a/media_driver/linux/ult/ult_app/CMakeLists.txt
++++ b/media_driver/linux/ult/ult_app/CMakeLists.txt
+@@ -75,13 +75,10 @@ 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=${MEDIA_MISC_LIB}:../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 ()
+--
+2.41.0
+
diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.3.4.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.3.4.ebuild
new file mode 100644
index 000000000000..d75e117f636d
--- /dev/null
+++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.3.4.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.10:=[${MULTILIB_USEDEP}]
+ >=media-libs/libva-2.19.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
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libva-intel-media-driver/, media-libs/libva-intel-media-driver/files/
@ 2025-07-20 16:40 Matt Turner
0 siblings, 0 replies; 2+ messages in thread
From: Matt Turner @ 2025-07-20 16:40 UTC (permalink / raw
To: gentoo-commits
commit: c3cabf1df2d41565037b2f5883c7c50788fbd34a
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 20 16:32:28 2025 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Jul 20 16:40:07 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3cabf1d
media-libs/libva-intel-media-driver: Drop old versions
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
media-libs/libva-intel-media-driver/Manifest | 7 ---
.../libva-intel-media-driver-24.4.4-c23-fix.patch | 15 ------
.../libva-intel-media-driver-24.4.4-r1.ebuild | 58 ----------------------
.../libva-intel-media-driver-25.1.4.ebuild | 57 ---------------------
.../libva-intel-media-driver-25.2.1.ebuild | 57 ---------------------
.../libva-intel-media-driver-25.2.2.ebuild | 57 ---------------------
.../libva-intel-media-driver-25.2.3.ebuild | 57 ---------------------
.../libva-intel-media-driver-25.2.4.ebuild | 57 ---------------------
.../libva-intel-media-driver-25.2.5.ebuild | 57 ---------------------
9 files changed, 422 deletions(-)
diff --git a/media-libs/libva-intel-media-driver/Manifest b/media-libs/libva-intel-media-driver/Manifest
index 02be852a5e46..312a804b449d 100644
--- a/media-libs/libva-intel-media-driver/Manifest
+++ b/media-libs/libva-intel-media-driver/Manifest
@@ -1,9 +1,2 @@
-DIST intel-media-24.4.4.tar.gz 27696988 BLAKE2B cf13b3d0feb005b204892a62402d2a044661279b419bbc47ac414691a5238ada5dc2d59e848a9d53219163420e6b2d364a563f57e10488325587405e2add8ef3 SHA512 0a34a707082a3d7032b472667640d40761f1c9425e291002d2bd2af42d57d69ec3cf6e835430e731ff6c7eb24b22b1843c0b83812001f4ed203fd55097a2c6dc
-DIST intel-media-25.1.4.tar.gz 28295445 BLAKE2B b61a8b71c1540ffe636a6545ee015c002cf90bb06398f06d0b30207b0552ea85a372bc155c7c67950ad75a2c7cc1cf36993bc1dfe726c42ae9eb8a6a18a40271 SHA512 d47617a3feadb05ec213ec785de7734ffd06d8c0d4cbdbab5ccf64c29d985797aae2d54998b2fa7a4bd0d12401566a91129060c02215ad86e7b96119697a20c9
-DIST intel-media-25.2.1.tar.gz 28337648 BLAKE2B 4b2e41db07b57cefb97c14a1f1c9b34d751a5e11ba42bdc4f63f887c4b1ed01116f121d6331f90c94497b4dcac99f551421741d23d6f5fb80744febff134d8cb SHA512 1e8f3777a1b77a1ab5c4d967285724634f2a1448feda86291671f168a10e11ac3745f95edcf0730eed21598814235f295037cf239b110a72d81df2904d792947
-DIST intel-media-25.2.2.tar.gz 28345506 BLAKE2B bece75fb0207e6d30b6c6d33d3c5566dc839fe0fb0b91c642a71b2d158f3e8c8a30dc70de2605adcabaf72b5b7021794194f55795509c4ddd4daac023cceb593 SHA512 da524b8708abb0312fef370bca3014fd617b1797c65a6b5bebcbb17e1b8af49c74476b35d32a8347e9434e0128a3ce65a536fe19bc9d853581f57e027a5472fb
-DIST intel-media-25.2.3.tar.gz 28366652 BLAKE2B 5e2b4652bfc2f5fb388907f9edd0a9ab976f6aa610ec38e55ae0a4564d08bb4189ec12a5c052bb9167dc759b8a417356ef5d81cd9c3d20dce404b7dbd04b2e05 SHA512 28c93a71195d9c813f55c6f5450afcaff9945bd717c63792437dd7dc88ac77e331dbfcc9c133f6ac6f7819c75259158b3fc0741761aa31db6ad9b5902bd1a29a
-DIST intel-media-25.2.4.tar.gz 28395002 BLAKE2B 06f6b4c14ad269042aed2050442c156d717ab39046b593274953bb793224d7086b26a4d5602f2412307699cb19f6c49892ddf28e9453c88cd2be2fa55dca5f4c SHA512 02f0cab51135febd98e04dda6e7ee8ef81859173b368423b7159615f76e759d45ca3ff6b9495abebe9e4d5d843a18a147cd25680463bd737d45eb2ee16eeea03
-DIST intel-media-25.2.5.tar.gz 28402337 BLAKE2B 7e6768e45028167a60648ff44bd4243f23a6d3eb87802c016551d9abdf9fcca7ce051e315cccd107ab76dd3afcc1715d81ac86f555c44028bbb2f29ecd822162 SHA512 abb8f37770cb64bcf75d140450d0e5a5600f8b417b6646187812c0d4ffc486bbbf107996c4c5c4e45e16acc2c6549486bf99eade2f637d05a55bd5f57ed2a209
DIST intel-media-25.2.6.tar.gz 28409738 BLAKE2B dfa455710118e5ae03f40d76d554b37bd04ef5530ae76b9f75530bca8418f5588fd49fcb661798e903ffbb8ce9930e0a54d33d5b7f46dcba3e2f1b9e535242b9 SHA512 4d4c9c3319f9c260f29c1e4283824438a71fa04ffeb1e7666ddb303554d581be60229b0c93b64f17c068ba5137d6ce41b46252f55ea4651b930ba920b4f4cffe
DIST intel-media-25.3.0.tar.gz 28413520 BLAKE2B f67bb8dd5fc0f9c5e7a270d19137e9ec12e2eaae57498cb30c4dea32fa2e6119c012734eb7c62e2ac35c9f2b2dc3cce7049993354bf53b9658a2d522b5148ca0 SHA512 48f1f4a66d6d5c976c3e60763580cbe84ce9e9a1a216ee695e1ea851e8dfb874025bcc97ddf00b0fd1c13170ada01bde2a733edb49a037aa20ee29d24cd9abb9
diff --git a/media-libs/libva-intel-media-driver/files/libva-intel-media-driver-24.4.4-c23-fix.patch b/media-libs/libva-intel-media-driver/files/libva-intel-media-driver-24.4.4-c23-fix.patch
deleted file mode 100644
index 7152c47ce0b0..000000000000
--- a/media-libs/libva-intel-media-driver/files/libva-intel-media-driver-24.4.4-c23-fix.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-From https://patch-diff.githubusercontent.com/raw/intel/media-driver/pull/1849.patch
-From: Blackteahamburger <blackteahamburger@outlook.com>
-Date: Thu, 29 Aug 2024 17:04:55 +0800
-Subject: [PATCH] Fix missing cstdint for GCC 15
-
---- a/media_common/linux/common/os/mos_defs_specific.h
-+++ b/media_common/linux/common/os/mos_defs_specific.h
-@@ -29,6 +29,7 @@
-
- #include <pthread.h>
- #include <semaphore.h>
-+#include <cstdint>
- #include <string>
-
- typedef pthread_mutex_t MOS_MUTEX, *PMOS_MUTEX; //!< mutex pointer
diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.4.4-r1.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.4.4-r1.ebuild
deleted file mode 100644
index 42b21fba8de1..000000000000
--- a/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.4.4-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2025 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.5.4:=[${MULTILIB_USEDEP}]
- >=media-libs/libva-2.22.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
- "${FILESDIR}"/${PN}-24.4.4-c23-fix.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
-}
diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.1.4.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.1.4.ebuild
deleted file mode 100644
index 1a18ad359780..000000000000
--- a/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.1.4.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2025 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.6.0:=[${MULTILIB_USEDEP}]
- >=media-libs/libva-2.22.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
-}
diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.2.1.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.2.1.ebuild
deleted file mode 100644
index a62e18d26acf..000000000000
--- a/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.2.1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2025 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.7.1:=[${MULTILIB_USEDEP}]
- >=media-libs/libva-2.22.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
-}
diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.2.2.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.2.2.ebuild
deleted file mode 100644
index a62e18d26acf..000000000000
--- a/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.2.2.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2025 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.7.1:=[${MULTILIB_USEDEP}]
- >=media-libs/libva-2.22.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
-}
diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.2.3.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.2.3.ebuild
deleted file mode 100644
index a62e18d26acf..000000000000
--- a/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.2.3.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2025 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.7.1:=[${MULTILIB_USEDEP}]
- >=media-libs/libva-2.22.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
-}
diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.2.4.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.2.4.ebuild
deleted file mode 100644
index a62e18d26acf..000000000000
--- a/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.2.4.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2025 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.7.1:=[${MULTILIB_USEDEP}]
- >=media-libs/libva-2.22.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
-}
diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.2.5.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.2.5.ebuild
deleted file mode 100644
index 3f750d2530da..000000000000
--- a/media-libs/libva-intel-media-driver/libva-intel-media-driver-25.2.5.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2025 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.7.1:=[${MULTILIB_USEDEP}]
- >=media-libs/libva-2.22.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
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-07-20 16:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-20 16:40 [gentoo-commits] repo/gentoo:master commit in: media-libs/libva-intel-media-driver/, media-libs/libva-intel-media-driver/files/ Matt Turner
-- strict thread matches above, loose matches on Subject: below --
2023-10-09 16:18 Matt Turner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox