commit:     cad136cab7deacd32801e1cc3d95f60eb40807e7
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu May 15 12:32:06 2025 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu May 15 12:32:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cad136ca

media-libs/gmmlib: Version bump to 22.7.2

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

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

diff --git a/media-libs/gmmlib/Manifest b/media-libs/gmmlib/Manifest
index 7a0ed9f8cab4..455104aa5195 100644
--- a/media-libs/gmmlib/Manifest
+++ b/media-libs/gmmlib/Manifest
@@ -1 +1,2 @@
 DIST intel-gmmlib-22.7.1.tar.gz 870358 BLAKE2B 
0534b908bdafc75412531fc8a8ee12c7b1b02dce077037da60ce77ec5042ed8265f40df77c74df99f51f712ed5fd68ef36f365495b7eea82fed8cf14887aae27
 SHA512 
9d67da4d5d9d64678aa411108de0c8b5d259dd19b9a45f200cee81f82e83d4eac1dfdfce98178084f1c283901372cbbc57e071bbb7238b3f987e2618409cca48
+DIST intel-gmmlib-22.7.2.tar.gz 870768 BLAKE2B 
a022dd9893acc50da82e99e9e859af7f193d3b4901346dcae285a719fa7068dbb095e96da3a7a72505e2858da844e5baedb4caae7b153f8ae6126adf5941a59f
 SHA512 
e8f63490e37adade03ec71115097b387b6ce9b15cda5eddf76f72a5c88a6851d67bf65e7220930d2d21cfac81217eb025300e4459b9113365276709f3ec14156

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