summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-07-09 22:58:42 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-07-09 23:29:28 +0200
commit3552553bf630d86b3fd9915e29a8b2d6685dc7b6 (patch)
tree6f5d648e610110a209890be0115baffeca89d362 /media-libs/gmmlib
parentsys-apps/onerng: drop 3.6-r4 (diff)
downloadgentoo-3552553bf630d86b3fd9915e29a8b2d6685dc7b6.tar.gz
gentoo-3552553bf630d86b3fd9915e29a8b2d6685dc7b6.tar.bz2
gentoo-3552553bf630d86b3fd9915e29a8b2d6685dc7b6.zip
media-libs/gmmlib: add 22.1.5
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'media-libs/gmmlib')
-rw-r--r--media-libs/gmmlib/Manifest1
-rw-r--r--media-libs/gmmlib/gmmlib-22.1.5.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/media-libs/gmmlib/Manifest b/media-libs/gmmlib/Manifest
index 5b47d236ccdb..06e5299da1b6 100644
--- a/media-libs/gmmlib/Manifest
+++ b/media-libs/gmmlib/Manifest
@@ -1,2 +1,3 @@
DIST intel-gmmlib-22.1.3.tar.gz 813386 BLAKE2B 6946423e3a58bea36ac6ca7619f68a30997910e0041b60e3b6a34ad3d76308cf0af69c46abc4008d19a5cee88e8f423503560598d2006645771f2eb2b224201c SHA512 cbf0164e7604f6214f6e1d3d9a283d385fac0efbd83afad02a76e3090d680ec000b17a257d5e004c296764330888dbd0a3e5bd46a760ac5c5f3e67436a7c9437
DIST intel-gmmlib-22.1.4.tar.gz 818133 BLAKE2B c1faae09ad38369b12c8dc9d9ac0d0d652f1eb0876e78cedceddaf94afe27114be905512fb3a71f7eb0ebb77544eb7601e96e19359500eb9149fd6e2e2295c1f SHA512 cd31611a53474c2d457f9ce1ce903a184b320d398dc2eba1600f5586108cfa156cde584501ce283d51a8cb13d1917789370d194b6ee3b6a2b5d823d1323b0ef2
+DIST intel-gmmlib-22.1.5.tar.gz 818259 BLAKE2B 54f8065784f9ee5ca79f4ad7c0a83a83a476a5d2db5b37194eee5234d7b30a0df4b42b2a3279e7ef4884f28d3ed8d27fe1133bc9ab8600050938c67808467432 SHA512 1786d397d3a3d5303faec68a6eecb3426391c906ec16b47bd16462732e911928b3a9e7df2a84b384cf4c1b9dcb293953dcd11ee32a2fb631570db260b15f9c3b
diff --git a/media-libs/gmmlib/gmmlib-22.1.5.ebuild b/media-libs/gmmlib/gmmlib-22.1.5.ebuild
new file mode 100644
index 000000000000..598b7721fb10
--- /dev/null
+++ b/media-libs/gmmlib/gmmlib-22.1.5.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.1"
+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
+}