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, 03 Sep 2022 12:46:14
Message-Id: 1662209138.bd74f943caafaffd064dd2757276bfc5e232eb15.conikost@gentoo
1 commit: bd74f943caafaffd064dd2757276bfc5e232eb15
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 3 12:45:38 2022 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 3 12:45:38 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd74f943
7
8 media-libs/gmmlib: add 22.1.8
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.8.ebuild | 35 ++++++++++++++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/media-libs/gmmlib/Manifest b/media-libs/gmmlib/Manifest
17 index f13806182fdc..fc04dc498418 100644
18 --- a/media-libs/gmmlib/Manifest
19 +++ b/media-libs/gmmlib/Manifest
20 @@ -1 +1,2 @@
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
24 diff --git a/media-libs/gmmlib/gmmlib-22.1.8.ebuild b/media-libs/gmmlib/gmmlib-22.1.8.ebuild
25 new file mode 100644
26 index 000000000000..598b7721fb10
27 --- /dev/null
28 +++ b/media-libs/gmmlib/gmmlib-22.1.8.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 +}