diff options
author | 2022-06-25 16:12:36 +0200 | |
---|---|---|
committer | 2022-06-25 16:34:47 +0200 | |
commit | f2b13a90933bca753251f1afae729329ea1bcd22 (patch) | |
tree | 6412fefa6377e9bab3d8ba4335ca08ffda428ce9 /media-libs/gmmlib | |
parent | games-server/bedrock-server: add 1.19.2.02 (diff) | |
download | gentoo-f2b13a90933bca753251f1afae729329ea1bcd22.tar.gz gentoo-f2b13a90933bca753251f1afae729329ea1bcd22.tar.bz2 gentoo-f2b13a90933bca753251f1afae729329ea1bcd22.zip |
media-libs/gmmlib: add 22.1.4
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'media-libs/gmmlib')
-rw-r--r-- | media-libs/gmmlib/Manifest | 1 | ||||
-rw-r--r-- | media-libs/gmmlib/gmmlib-22.1.4.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/media-libs/gmmlib/Manifest b/media-libs/gmmlib/Manifest index 2b344efbe3da..5b47d236ccdb 100644 --- a/media-libs/gmmlib/Manifest +++ b/media-libs/gmmlib/Manifest @@ -1 +1,2 @@ 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 diff --git a/media-libs/gmmlib/gmmlib-22.1.4.ebuild b/media-libs/gmmlib/gmmlib-22.1.4.ebuild new file mode 100644 index 000000000000..598b7721fb10 --- /dev/null +++ b/media-libs/gmmlib/gmmlib-22.1.4.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 +} |