Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gmmlib/
Date: Sat, 25 Jun 2022 14:35:33
Message-Id: 1656167687.f2b13a90933bca753251f1afae729329ea1bcd22.conikost@gentoo
1 commit: f2b13a90933bca753251f1afae729329ea1bcd22
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 25 14:12:36 2022 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 25 14:34:47 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2b13a90
7
8 media-libs/gmmlib: add 22.1.4
9
10 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
11
12 media-libs/gmmlib/Manifest | 1 +
13 media-libs/gmmlib/gmmlib-22.1.4.ebuild | 35 ++++++++++++++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/media-libs/gmmlib/Manifest b/media-libs/gmmlib/Manifest
17 index 2b344efbe3da..5b47d236ccdb 100644
18 --- a/media-libs/gmmlib/Manifest
19 +++ b/media-libs/gmmlib/Manifest
20 @@ -1 +1,2 @@
21 DIST intel-gmmlib-22.1.3.tar.gz 813386 BLAKE2B 6946423e3a58bea36ac6ca7619f68a30997910e0041b60e3b6a34ad3d76308cf0af69c46abc4008d19a5cee88e8f423503560598d2006645771f2eb2b224201c SHA512 cbf0164e7604f6214f6e1d3d9a283d385fac0efbd83afad02a76e3090d680ec000b17a257d5e004c296764330888dbd0a3e5bd46a760ac5c5f3e67436a7c9437
22 +DIST intel-gmmlib-22.1.4.tar.gz 818133 BLAKE2B c1faae09ad38369b12c8dc9d9ac0d0d652f1eb0876e78cedceddaf94afe27114be905512fb3a71f7eb0ebb77544eb7601e96e19359500eb9149fd6e2e2295c1f SHA512 cd31611a53474c2d457f9ce1ce903a184b320d398dc2eba1600f5586108cfa156cde584501ce283d51a8cb13d1917789370d194b6ee3b6a2b5d823d1323b0ef2
23
24 diff --git a/media-libs/gmmlib/gmmlib-22.1.4.ebuild b/media-libs/gmmlib/gmmlib-22.1.4.ebuild
25 new file mode 100644
26 index 000000000000..598b7721fb10
27 --- /dev/null
28 +++ b/media-libs/gmmlib/gmmlib-22.1.4.ebuild
29 @@ -0,0 +1,35 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +CMAKE_BUILD_TYPE="Release"
36 +
37 +inherit cmake
38 +
39 +DESCRIPTION="Intel Graphics Memory Management Library"
40 +HOMEPAGE="https://github.com/intel/gmmlib"
41 +SRC_URI="https://github.com/intel/gmmlib/archive/intel-${P}.tar.gz"
42 +S="${WORKDIR}/${PN}-intel-${P}"
43 +
44 +KEYWORDS="~amd64"
45 +LICENSE="MIT"
46 +SLOT="0/12.1"
47 +IUSE="+custom-cflags test"
48 +RESTRICT="!test? ( test )"
49 +
50 +PATCHES=(
51 + "${FILESDIR}"/${PN}-20.2.2_conditional_testing.patch
52 + "${FILESDIR}"/${PN}-20.3.2_cmake_project.patch
53 + "${FILESDIR}"/${PN}-22.1.1_custom_cflags.patch
54 +)
55 +
56 +src_configure() {
57 + local mycmakeargs=(
58 + -DBUILD_TESTING="$(usex test)"
59 + -DBUILD_TYPE="Release"
60 + -DOVERRIDE_COMPILER_FLAGS="$(usex !custom-cflags)"
61 + )
62 +
63 + cmake_src_configure
64 +}