summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-11-11 21:49:31 +0100
committerConrad Kostecki <conikost@gentoo.org>2022-11-11 22:40:33 +0100
commit9d029b71148bba52249afc72aa995d72e4cf9541 (patch)
tree123155e47f49c683dd8739e65d2bdb5072346d75 /media-libs
parentdev-java/ant-eclipse-ecj: Stabilize 4.25 x86, #880871 (diff)
downloadgentoo-9d029b71148bba52249afc72aa995d72e4cf9541.tar.gz
gentoo-9d029b71148bba52249afc72aa995d72e4cf9541.tar.bz2
gentoo-9d029b71148bba52249afc72aa995d72e4cf9541.zip
media-libs/gmmlib: add 22.3.0
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/gmmlib/Manifest1
-rw-r--r--media-libs/gmmlib/gmmlib-22.3.0.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/media-libs/gmmlib/Manifest b/media-libs/gmmlib/Manifest
index 554823fafb88..f5d7e9b33f33 100644
--- a/media-libs/gmmlib/Manifest
+++ b/media-libs/gmmlib/Manifest
@@ -1,2 +1,3 @@
DIST intel-gmmlib-22.1.8.tar.gz 818360 BLAKE2B 5a7dadaead925eddfe52770c73eea92b8f071b498a2ed8d23928c93ba3d0284d9046339b7eb641918b17bf13bbcffc071ba71ba47cc53760258b1bb39f175e17 SHA512 4520105c7ceaae30e592acce7bae65841ecdb5d74c888cf03a2308a94a63d998941665794933c8247dbae841d13386ee99b365de0c6a5676acc960386c19ca2c
DIST intel-gmmlib-22.2.1.tar.gz 820241 BLAKE2B 64eed8c1863d85355f47b3bfdd2740d2472f256a679189520d284c635a1ad722ed090d503b9e224ac262498091872e686cb1732be135627d7ec8170c946a6f80 SHA512 d3a68de83946319d582ff2d7785adaf007ea744fba6b1e9e2c53023f0b01b506f500aae3c4305c01bb97ce9176d39ae884fa306b1a075b1f2758faad3a1e0462
+DIST intel-gmmlib-22.3.0.tar.gz 843176 BLAKE2B 8874012deec80f5639a4fd1e0f7d94f9b683ad02fb140a4bc365ba1369bf2996ed19e4ccd45832e513017aedaaf34e76d88fd46838a02e15cb93921f70d414f6 SHA512 461057be96ecb6b5e84bfa55e486ee898133305ee65d31006aaf4509500da5a3ca7bbd8a7fbb77dee934e0eee97bd0edfc66d7d8dafcb55cc114f3b4d0ccc583
diff --git a/media-libs/gmmlib/gmmlib-22.3.0.ebuild b/media-libs/gmmlib/gmmlib-22.3.0.ebuild
new file mode 100644
index 000000000000..a09ea1013a10
--- /dev/null
+++ b/media-libs/gmmlib/gmmlib-22.3.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_BUILD_TYPE="Release"
+
+inherit cmake
+
+DESCRIPTION="Intel Graphics Memory Management Library"
+HOMEPAGE="https://github.com/intel/gmmlib"
+SRC_URI="https://github.com/intel/gmmlib/archive/intel-${P}.tar.gz"
+S="${WORKDIR}/${PN}-intel-${P}"
+
+KEYWORDS="~amd64"
+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
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING="$(usex test)"
+ -DBUILD_TYPE="Release"
+ -DOVERRIDE_COMPILER_FLAGS="$(usex !custom-cflags)"
+ )
+
+ cmake_src_configure
+}