summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-12-16 22:06:50 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-12-16 23:25:06 +0100
commite1cb78073fd02a77c950a052f9deaf4c59a05ca6 (patch)
tree0ff547a424d890dea18e6b556a6acceecbebffdd /media-libs
parentmedia-video/pipewire: add 0.3.42 (diff)
downloadgentoo-e1cb78073fd02a77c950a052f9deaf4c59a05ca6.tar.gz
gentoo-e1cb78073fd02a77c950a052f9deaf4c59a05ca6.tar.bz2
gentoo-e1cb78073fd02a77c950a052f9deaf4c59a05ca6.zip
media-libs/gmmlib: add 21.3.4
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-21.3.4.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/media-libs/gmmlib/Manifest b/media-libs/gmmlib/Manifest
index 8549f8b718fd..2886169423b7 100644
--- a/media-libs/gmmlib/Manifest
+++ b/media-libs/gmmlib/Manifest
@@ -3,3 +3,4 @@ DIST intel-gmmlib-21.2.2.tar.gz 746635 BLAKE2B abc73cfa209b8212bfe185e1f27a84cef
DIST intel-gmmlib-21.3.1.tar.gz 746732 BLAKE2B 537d446839136d6d048d15eb79e18214d797c68dd4288670448e4104e8d6d0701cb93366f77093f264f5392c0c37470b4fbdd0b0da43c9e319c2b334c3315bdf SHA512 54ae92bedadfe8cf7e39786f96bd29b5ace8bbafe8f32620034de8775c5e31fbbd99dd61b10e5fdf12c9f967196c11840e6a202cfb549e5f950f1743cb9b098b
DIST intel-gmmlib-21.3.2.tar.gz 746990 BLAKE2B b9cc1937d551ff48e317b6a6b70a07f96e6ed1a4a1d27a4cf5be61e97a7ece71cf75a7f2d773f9a42e2c4ad8badf97c06a5cc0dd4a4fa38159a43839f1ac11ac SHA512 155f7077f3135ff812b9fe759e56fecd595f1c5dde9a377df31a9acedcfeea9d93751badba68077c00929a21cb87e1bd69b8fe3961ac61765fabbc5d6d89e6be
DIST intel-gmmlib-21.3.3.tar.gz 747305 BLAKE2B ef055bfdb6efccec5e2e7618677a97b38e314f44486c0d99e704281f2cb78acdf64a1737a8ae2c33b9dde6f60a284b83d9b5ca1949c5a5c7a34894cdbfbb9347 SHA512 9680b2c38f71467a7c4f2c1a6136d1de9c906355ca675ebbafc697daea15fe615aa45f3af3140330f1610946f9c55471038eeb815b1d677b64efb4896515d8fb
+DIST intel-gmmlib-21.3.4.tar.gz 755751 BLAKE2B 1774b0a4dfc0d08b3d3cd196a12bca900f6e6869f012f17897f60cf12779e740ef53b563521766acdef7461b899163d36060f323561ddacc14c0b951f1fbf24d SHA512 e20e90b38b2e6af2b9013e6d77819c9ce7575bb9cf46f6755b6b84455baac20c9493a0cd38ff50181a24936b7d35b1dfb224ad0f5b88be81daf92727c9668b69
diff --git a/media-libs/gmmlib/gmmlib-21.3.4.ebuild b/media-libs/gmmlib/gmmlib-21.3.4.ebuild
new file mode 100644
index 000000000000..75f21bc6ea03
--- /dev/null
+++ b/media-libs/gmmlib/gmmlib-21.3.4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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"
+IUSE="+custom-cflags test"
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-20.2.2_conditional_testing.patch
+ "${FILESDIR}"/${PN}-20.4.1_custom_cflags.patch
+ "${FILESDIR}"/${PN}-20.3.2_cmake_project.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING="$(usex test)"
+ -DBUILD_TYPE="Release"
+ -DOVERRIDE_COMPILER_FLAGS="$(usex !custom-cflags)"
+ )
+
+ cmake_src_configure
+}