summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-07-19 19:57:36 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-07-19 21:38:01 +0200
commit5f4fef9fa61c08106ee397fe45ce00870f56dcf0 (patch)
tree648a5128ff5338bcc8e7d8b297209764c6b5c245 /media-libs/gmmlib
parentdev-dotnet/dotnet-sdk-bin: update metadata - add remote-id (diff)
downloadgentoo-5f4fef9fa61c08106ee397fe45ce00870f56dcf0.tar.gz
gentoo-5f4fef9fa61c08106ee397fe45ce00870f56dcf0.tar.bz2
gentoo-5f4fef9fa61c08106ee397fe45ce00870f56dcf0.zip
media-libs/gmmlib: add 22.1.7
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.7.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/media-libs/gmmlib/Manifest b/media-libs/gmmlib/Manifest
index ffa415e8e3a4..8d9198214c5e 100644
--- a/media-libs/gmmlib/Manifest
+++ b/media-libs/gmmlib/Manifest
@@ -2,3 +2,4 @@ DIST intel-gmmlib-22.1.3.tar.gz 813386 BLAKE2B 6946423e3a58bea36ac6ca7619f68a309
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
DIST intel-gmmlib-22.1.6.tar.gz 818312 BLAKE2B acf5fd05e4220df6b828e08e6ee1a6ee9da3d5067c2b99d7a12d01441359761ed4bfa12e2b4bb417a91bfc2fdd0e7d4fd0abf2cafd92549d6ce9910fc37e5bf4 SHA512 4423d9eaf6449aa50e7ecb4e74dbf2510ba67c14aa33efa132d612a05faf5542cdda60c011af36f7875658876ababc3eeeb799637601430c16030d6fae6bc926
+DIST intel-gmmlib-22.1.7.tar.gz 818408 BLAKE2B b7123b571bfdb2f363bb7824264b9c2ad85c5e58f2978c0fa20010c8a890157bf10da7c772b9ad987078784bf37192ec0e8e14b73980af15329609649e817fd6 SHA512 0dbf972ecd61f84b9932eb6735c73e424861f7841bee8a5e76cd4d8d28ebf7641e475f9cdb1015b4f20aca08591f8f52631ebc209efa339753b47b3a121a38fb
diff --git a/media-libs/gmmlib/gmmlib-22.1.7.ebuild b/media-libs/gmmlib/gmmlib-22.1.7.ebuild
new file mode 100644
index 000000000000..598b7721fb10
--- /dev/null
+++ b/media-libs/gmmlib/gmmlib-22.1.7.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
+}