From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1726465-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 124AF1582EF
	for <garchives@archives.gentoo.org>; Mon, 10 Mar 2025 16:18:41 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id F10B23430E6
	for <garchives@archives.gentoo.org>; Mon, 10 Mar 2025 16:18:40 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id C6B251103CF;
	Mon, 10 Mar 2025 16:18:27 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id AB7EF1103CF
	for <gentoo-commits@lists.gentoo.org>; Mon, 10 Mar 2025 16:18:27 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 6352534306A
	for <gentoo-commits@lists.gentoo.org>; Mon, 10 Mar 2025 16:18:27 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id A325E28BE
	for <gentoo-commits@lists.gentoo.org>; Mon, 10 Mar 2025 16:18:24 +0000 (UTC)
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" <mattst88@gentoo.org>
Message-ID: <1741623489.447d11976e3acb6a1ccda4663da5f00a740bdd26.mattst88@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gmmlib/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-libs/gmmlib/Manifest media-libs/gmmlib/gmmlib-22.7.0.ebuild
X-VCS-Directories: media-libs/gmmlib/
X-VCS-Committer: mattst88
X-VCS-Committer-Name: Matt Turner
X-VCS-Revision: 447d11976e3acb6a1ccda4663da5f00a740bdd26
X-VCS-Branch: master
Date: Mon, 10 Mar 2025 16:18:24 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 060e12ac-9e92-4743-aac9-5eccc0d947ac
X-Archives-Hash: d90c21149bb4c52b89899e2dda3efe8b

commit:     447d11976e3acb6a1ccda4663da5f00a740bdd26
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 10 16:09:42 2025 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Mar 10 16:18:09 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=447d1197

media-libs/gmmlib: Version bump to 22.7.0

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

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

diff --git a/media-libs/gmmlib/Manifest b/media-libs/gmmlib/Manifest
index 39378a393cde..a0eb7c7981b9 100644
--- a/media-libs/gmmlib/Manifest
+++ b/media-libs/gmmlib/Manifest
@@ -1,2 +1,3 @@
 DIST intel-gmmlib-22.5.5.tar.gz 868894 BLAKE2B be17a0b1c16bf0ffcb37da3f63db20643803757ea42911f5666218e34bb3f59919bfa369749bef81598e8fb1855a8cad7347b6811791bc2c483b20a3e644e6dd SHA512 8603847f7d2daf0e7839973fea96fa552dbd8c25f29eb961a4f3c5918c70e61ed975a1f6f886547b605dd9f65a059e9decad6372a4269e2b61195259b049630e
 DIST intel-gmmlib-22.6.0.tar.gz 869017 BLAKE2B 8c17ecffb77150c4a2d97ccc13f86a75e2846eb8f3d61310452ad091d7d5f6375abc3e703b37a97ea8b6c18cd2f5adc52747cfa72b3fb9d3ad0785ef45b47dba SHA512 b4d7fb6bcc5827f5883f76fb7371ac17192c5278aa0f68650667f2257536bd0d01e1939927be0f7df4186aeb500eeb648d0336ac821a4f92bcfec75190c89fe1
+DIST intel-gmmlib-22.7.0.tar.gz 870302 BLAKE2B e9406e7370505382bf503d62222860beb1f718f811cb954a94b4ee7662ec67bdf953ab2271414d14fe19596fdd595c63837d5bad24a9d7fca07f4c3d11ed10f7 SHA512 1d8a1d75ae839ea52f96a7a6ff2cbd41f13b60ec05756df4e95cbaf40465d2a5ddd1314dc8b18b6f056ad8d03de7e4c2bd3b04004897895fbbcdf2aafd63b76d

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