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: Tue, 31 Jan 2023 15:17:51
Message-Id: 1675178132.d5594f1d2eee3c037a60097ac7703095b288a824.conikost@gentoo
1 commit: d5594f1d2eee3c037a60097ac7703095b288a824
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 31 03:30:39 2023 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 31 15:15:32 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5594f1d
7
8 dev-util/intel-graphics-system-controller: add 0.8.7
9
10 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
11
12 dev-util/intel-graphics-system-controller/Manifest | 1 +
13 .../intel-graphics-system-controller-0.8.7.ebuild | 50 ++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/dev-util/intel-graphics-system-controller/Manifest b/dev-util/intel-graphics-system-controller/Manifest
17 index c0e95de0a64e..82a293bada7b 100644
18 --- a/dev-util/intel-graphics-system-controller/Manifest
19 +++ b/dev-util/intel-graphics-system-controller/Manifest
20 @@ -1 +1,2 @@
21 DIST intel-graphics-system-controller-0.8.6.tar.gz 179906 BLAKE2B cadbcb559418f5e6164002cdff1dea2b8a0cec946fd0128c4f374f9b58d5086e9aba3cc97a05641be0255d848e8acf3429df16ca7d70debfff3a282445a7ca3f SHA512 40b89f54754fba3a5cf43c4cc822ec5ea0506cd854b0a85bb29e03370cbb25638ab67b8a568fe6f4d7dd2e41e7f302c550e6d4955b6e6fbf4df0d512a3afe64b
22 +DIST intel-graphics-system-controller-0.8.7.tar.gz 181536 BLAKE2B 663ec335acdf96edd0c084d2c703687925233caa602e30ac1b189342d1e2a2d370975933fc34171703d3161b4c0f1637bb735fdc89bcd7ed6e5a41b49f946271 SHA512 cc0eabb67fed0c40ab1b0f9501bba87b56c1e97e66242df360036256a18d26912525e78e339c6d09c8d9cf557d00aac60cfb354961304ca41e746f4964705900
23
24 diff --git a/dev-util/intel-graphics-system-controller/intel-graphics-system-controller-0.8.7.ebuild b/dev-util/intel-graphics-system-controller/intel-graphics-system-controller-0.8.7.ebuild
25 new file mode 100644
26 index 000000000000..49ca2234ca1b
27 --- /dev/null
28 +++ b/dev-util/intel-graphics-system-controller/intel-graphics-system-controller-0.8.7.ebuild
29 @@ -0,0 +1,50 @@
30 +# Copyright 1999-2023 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +MY_PN="igsc"
36 +MY_P="${MY_PN}-${PV}"
37 +PYTHON_COMPAT=( python3_{9..11} )
38 +
39 +inherit cmake python-any-r1
40 +
41 +DESCRIPTION="Intel graphics system controller firmware update library"
42 +HOMEPAGE="https://github.com/intel/igsc"
43 +SRC_URI="https://github.com/intel/${MY_PN}/archive/refs/tags/V${PV}.tar.gz -> ${P}.tar.gz"
44 +S="${WORKDIR}/${MY_P}"
45 +
46 +LICENSE="Apache-2.0"
47 +SLOT="0/${PV}"
48 +KEYWORDS="~amd64"
49 +IUSE="+cli doc"
50 +
51 +RDEPEND="dev-libs/metee:="
52 +DEPEND="${RDEPEND}"
53 +BDEPEND="
54 + doc? (
55 + ${PYTHON_DEPS}
56 + app-doc/doxygen
57 + $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]')
58 + )
59 +"
60 +
61 +pkg_setup() {
62 + use doc && python-any-r1_pkg_setup
63 +}
64 +
65 +src_configure() {
66 + local mycmakeargs=(
67 + -DENABLE_CLI="$(usex cli)"
68 + -DENABLE_DOCS="$(usex doc)"
69 + -DENABLE_PERF="OFF"
70 + -DENABLE_WERROR="OFF"
71 +
72 + # If enabled, tests are automatically run during
73 + # the compile phase and we cannot run them because
74 + # they require permissions to access the hardware.
75 + -DENABLE_TESTS="OFF"
76 + )
77 +
78 + cmake_src_configure
79 +}