commit: 221cd15be52814b1f216284a63f0babf5bb03dd8
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 16 17:56:17 2025 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Sep 16 18:32:14 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=221cd15b
media-libs/gmmlib: Version bump to 22.8.2
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
media-libs/gmmlib/Manifest | 1 +
media-libs/gmmlib/gmmlib-22.8.2.ebuild | 41 ++++++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+)
diff --git a/media-libs/gmmlib/Manifest b/media-libs/gmmlib/Manifest
index 024c9a6971ee..56cb3a9837e0 100644
--- a/media-libs/gmmlib/Manifest
+++ b/media-libs/gmmlib/Manifest
@@ -1 +1,2 @@
DIST intel-gmmlib-22.8.1.tar.gz 872429 BLAKE2B
2528a47bd489f01a3ea813bb8945ab565212050148d9bb790d3ef3ade3a949ce2c9d0c8e97669cb8a1dc765cf5e772bf51f74edb8ae34667d9e785937d99b764
SHA512
418189d687fcc8971fdafce1cf91e0bdc414c22b8249fcc2a482503aa58a977cc263786a37ef7bcc640d472a643180507e1c5ec66d20bda5334671d424cdfacd
+DIST intel-gmmlib-22.8.2.tar.gz 872485 BLAKE2B
91fe504340d82685936efe434f57b72a3f6c89a9e0762a9bdc3ff25dbb0a7a10064d1e4987140a622f1055d5613beee0329f4ce079f29208e4774b745de0f947
SHA512
9ded1bff169e2e37f9d7418d6734b2b69de9470a6ecd7747d4bddbe75f16752aaf649e209cdd85a489b747cd7d03e1e6acc9a3021ca72e850c759947c50effda
diff --git a/media-libs/gmmlib/gmmlib-22.8.2.ebuild
b/media-libs/gmmlib/gmmlib-22.8.2.ebuild
new file mode 100644
index 000000000000..fa5d1a4e3495
--- /dev/null
+++ b/media-libs/gmmlib/gmmlib-22.8.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+if [[ ${PV} == *9999 ]] ; then
+ : ${EGIT_REPO_URI:="https://github.com/intel/gmmlib"}
+ if [[ ${PV%9999} != "" ]] ; then
+ : ${EGIT_BRANCH:="release/${PV%.9999}"}
+ fi
+ inherit git-r3
+else
+ KEYWORDS="~amd64"
+ SRC_URI="https://github.com/intel/gmmlib/archive/intel-${P}.tar.gz"
+ S="${WORKDIR}/${PN}-intel-${P}"
+fi
+
+DESCRIPTION="Intel Graphics Memory Management Library"
+HOMEPAGE="https://github.com/intel/gmmlib"
+
+LICENSE="MIT"
+SLOT="0/12.3"
+IUSE="+custom-cflags test"
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-20.2.2_conditional_testing.patch
+ "${FILESDIR}"/${PN}-22.7.3_cmake_project.patch
+ "${FILESDIR}"/${PN}-22.1.1_custom_cflags.patch
+)
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING="$(usex test)"
+ -DOVERRIDE_COMPILER_FLAGS="$(usex !custom-cflags)"
+ )
+
+ cmake_src_configure
+}