commit:     669b301bbe9d90b345ac2916bcda9534fb07d7ba
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 18 15:40:31 2025 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Dec 18 15:41:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=669b301b

media-libs/gmmlib: Version bump to 22.9.0

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 media-libs/gmmlib/Manifest             |  1 +
 media-libs/gmmlib/gmmlib-22.9.0.ebuild | 41 ++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/media-libs/gmmlib/Manifest b/media-libs/gmmlib/Manifest
index 6e07671c4d84..6548a1e5711b 100644
--- a/media-libs/gmmlib/Manifest
+++ b/media-libs/gmmlib/Manifest
@@ -1 +1,2 @@
 DIST intel-gmmlib-22.8.2.tar.gz 872485 BLAKE2B 
91fe504340d82685936efe434f57b72a3f6c89a9e0762a9bdc3ff25dbb0a7a10064d1e4987140a622f1055d5613beee0329f4ce079f29208e4774b745de0f947
 SHA512 
9ded1bff169e2e37f9d7418d6734b2b69de9470a6ecd7747d4bddbe75f16752aaf649e209cdd85a489b747cd7d03e1e6acc9a3021ca72e850c759947c50effda
+DIST intel-gmmlib-22.9.0.tar.gz 882607 BLAKE2B 
e26d7f029440a4d5c5b2384bf4c58e5a949ad01a0e307583b53e76791f3279b4d7344b9d6b7759a9fdc20838c10e3e2eb959919e20d8edfea94b6436cdc12105
 SHA512 
c54581e4927bfedd7cb4084111cce69c9ee14f0047f6d16d26358e9d41feb8d28d5158f7fbdfbe4980dae904e7c2065deed19fd2f91e32b49fd7b984d47c0f44

diff --git a/media-libs/gmmlib/gmmlib-22.9.0.ebuild 
b/media-libs/gmmlib/gmmlib-22.9.0.ebuild
new file mode 100644
index 000000000000..fa5d1a4e3495
--- /dev/null
+++ b/media-libs/gmmlib/gmmlib-22.9.0.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
+}

Reply via email to