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: Sun, 25 Sep 2022 23:12:21
Message-Id: 1664147511.b99c81e345b29e7537d355e71d8639d5d4578674.conikost@gentoo
1 commit: b99c81e345b29e7537d355e71d8639d5d4578674
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 25 22:44:44 2022 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 25 23:11:51 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b99c81e3
7
8 media-libs/gmmlib: add 22.2.0
9
10 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
11
12 media-libs/gmmlib/Manifest | 1 +
13 media-libs/gmmlib/gmmlib-22.2.0.ebuild | 35 ++++++++++++++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/media-libs/gmmlib/Manifest b/media-libs/gmmlib/Manifest
17 index fc04dc498418..9fbb8dfb2b0e 100644
18 --- a/media-libs/gmmlib/Manifest
19 +++ b/media-libs/gmmlib/Manifest
20 @@ -1,2 +1,3 @@
21 DIST intel-gmmlib-22.1.7.tar.gz 818408 BLAKE2B b7123b571bfdb2f363bb7824264b9c2ad85c5e58f2978c0fa20010c8a890157bf10da7c772b9ad987078784bf37192ec0e8e14b73980af15329609649e817fd6 SHA512 0dbf972ecd61f84b9932eb6735c73e424861f7841bee8a5e76cd4d8d28ebf7641e475f9cdb1015b4f20aca08591f8f52631ebc209efa339753b47b3a121a38fb
22 DIST intel-gmmlib-22.1.8.tar.gz 818360 BLAKE2B 5a7dadaead925eddfe52770c73eea92b8f071b498a2ed8d23928c93ba3d0284d9046339b7eb641918b17bf13bbcffc071ba71ba47cc53760258b1bb39f175e17 SHA512 4520105c7ceaae30e592acce7bae65841ecdb5d74c888cf03a2308a94a63d998941665794933c8247dbae841d13386ee99b365de0c6a5676acc960386c19ca2c
23 +DIST intel-gmmlib-22.2.0.tar.gz 820145 BLAKE2B 6b7966c71a24344f4525cb676aae12c7947d1101bbe46938336deeb769f5728aec4a11ce2b346fc55bc3d752c67e2f375e7008f8bb11a7fc49e91231ed09a1a9 SHA512 57ed8bb08755befeb27e096249cc31afbae7ff0ccfb0eb2ae4de38b38e6c3454a1e145f11a509b6dcae45d1a8ee7b75021353f7b1857b3e32366e84310337e44
24
25 diff --git a/media-libs/gmmlib/gmmlib-22.2.0.ebuild b/media-libs/gmmlib/gmmlib-22.2.0.ebuild
26 new file mode 100644
27 index 000000000000..d811e64621f4
28 --- /dev/null
29 +++ b/media-libs/gmmlib/gmmlib-22.2.0.ebuild
30 @@ -0,0 +1,35 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +CMAKE_BUILD_TYPE="Release"
37 +
38 +inherit cmake
39 +
40 +DESCRIPTION="Intel Graphics Memory Management Library"
41 +HOMEPAGE="https://github.com/intel/gmmlib"
42 +SRC_URI="https://github.com/intel/gmmlib/archive/intel-${P}.tar.gz"
43 +S="${WORKDIR}/${PN}-intel-${P}"
44 +
45 +KEYWORDS="~amd64"
46 +LICENSE="MIT"
47 +SLOT="0/12.2"
48 +IUSE="+custom-cflags test"
49 +RESTRICT="!test? ( test )"
50 +
51 +PATCHES=(
52 + "${FILESDIR}"/${PN}-20.2.2_conditional_testing.patch
53 + "${FILESDIR}"/${PN}-20.3.2_cmake_project.patch
54 + "${FILESDIR}"/${PN}-22.1.1_custom_cflags.patch
55 +)
56 +
57 +src_configure() {
58 + local mycmakeargs=(
59 + -DBUILD_TESTING="$(usex test)"
60 + -DBUILD_TYPE="Release"
61 + -DOVERRIDE_COMPILER_FLAGS="$(usex !custom-cflags)"
62 + )
63 +
64 + cmake_src_configure
65 +}