Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/intel-graphics-system-controller/
Date: Sun, 26 Sep 2021 11:40:59
Message-Id: 1632656412.35566d4f9c8c5cdc0e519ee7df983c0782a89ed3.conikost@gentoo
1 commit: 35566d4f9c8c5cdc0e519ee7df983c0782a89ed3
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 26 11:31:22 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 26 11:40:12 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35566d4f
7
8 dev-util/intel-graphics-system-controller: bump to version 0.2.4
9
10 Package-Manager: Portage-3.0.22, Repoman-3.0.3
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 dev-util/intel-graphics-system-controller/Manifest | 1 +
14 .../intel-graphics-system-controller-0.2.4.ebuild | 51 ++++++++++++++++++++++
15 2 files changed, 52 insertions(+)
16
17 diff --git a/dev-util/intel-graphics-system-controller/Manifest b/dev-util/intel-graphics-system-controller/Manifest
18 index 1547d8588a3..0e4edd84d5a 100644
19 --- a/dev-util/intel-graphics-system-controller/Manifest
20 +++ b/dev-util/intel-graphics-system-controller/Manifest
21 @@ -1 +1,2 @@
22 DIST intel-graphics-system-controller-0.2.3.tar.gz 124505 BLAKE2B 50bfaf5dee2fd55d92cd7e544faa8c26930f809b1f4d6dbdc332aec0ace0ced9e21817479c87c4ec12d1117209696b2146c2c6aeb1cfde4ad654d065547e8a6b SHA512 a3ecac36170b0f5c508e077c35336f5c2122d4cc2917e68237af3c92fb82b5f080deee4dded68cb36922cb9edd4d78f7b7a6ed2295649a538ab83ad30c280761
23 +DIST intel-graphics-system-controller-0.2.4.tar.gz 125476 BLAKE2B 82c803dc654240a364416dcca6c1104ec96eca6a0ffec058394ec2594d87bdd6854a3b0143ad6e114b5b4359b15f787679c995fa60fcbbcf5097467c15252217 SHA512 57b0aa1f5cfb6c103903be590d94f4a07c33c90180e688b62b2434baddf16637a6fb6c160c225fa08cf2d0efc80a42c6b86de48b71fb6aa08bd3f9fe2ff79fa6
24
25 diff --git a/dev-util/intel-graphics-system-controller/intel-graphics-system-controller-0.2.4.ebuild b/dev-util/intel-graphics-system-controller/intel-graphics-system-controller-0.2.4.ebuild
26 new file mode 100644
27 index 00000000000..bb2e878960c
28 --- /dev/null
29 +++ b/dev-util/intel-graphics-system-controller/intel-graphics-system-controller-0.2.4.ebuild
30 @@ -0,0 +1,51 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +MY_PN="igsc"
37 +MY_P="${MY_PN}-${PV}"
38 +PYTHON_COMPAT=( python3_{8..10} )
39 +
40 +inherit cmake python-any-r1
41 +
42 +DESCRIPTION="Intel graphics system controller firmware update library"
43 +HOMEPAGE="https://github.com/intel/igsc"
44 +SRC_URI="https://github.com/intel/${MY_PN}/archive/refs/tags/V${PV}.tar.gz -> ${P}.tar.gz"
45 +S="${WORKDIR}/${MY_P}"
46 +
47 +LICENSE="Apache-2.0"
48 +SLOT="0"
49 +KEYWORDS="~amd64"
50 +IUSE="+cli doc"
51 +
52 +RDEPEND="dev-libs/metee"
53 +DEPEND="${RDEPEND}"
54 +BDEPEND="
55 + doc? (
56 + ${PYTHON_DEPS}
57 + app-doc/doxygen
58 + $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]')
59 + )
60 +"
61 +
62 +pkg_setup() {
63 + use doc && python-any-r1_pkg_setup
64 +}
65 +
66 +src_configure() {
67 + local mycmakeargs=(
68 + -DENABLE_CLI="$(usex cli)"
69 + -DENABLE_DOCS="$(usex doc)"
70 + -DENABLE_ENUM="ON"
71 + -DENABLE_PERF="OFF"
72 + -DENABLE_WERROR="OFF"
73 +
74 + # If enabled, tests are automatically run during
75 + # the compile phase and we cannot run them because
76 + # they require permissions to access the hardware.
77 + -DENABLE_TESTS="OFF"
78 + )
79 +
80 + cmake_src_configure
81 +}