diff options
author | 2024-09-15 16:38:20 +0200 | |
---|---|---|
committer | 2024-09-15 16:38:51 +0200 | |
commit | 601b2a9491e03f3982c757c3a03a8cabc6ee212b (patch) | |
tree | 543bd73267099b0f3a2031fd26152606442152a1 /dev-util/intel-graphics-system-controller/intel-graphics-system-controller-0.9.3.ebuild | |
parent | dev-libs/intel-metrics-library: add 1.0.173 (diff) | |
download | gentoo-601b2a9491e03f3982c757c3a03a8cabc6ee212b.tar.gz gentoo-601b2a9491e03f3982c757c3a03a8cabc6ee212b.tar.bz2 gentoo-601b2a9491e03f3982c757c3a03a8cabc6ee212b.zip |
dev-util/intel-graphics-system-controller: add 0.9.3
Reported-by: Alfred Persson Forsberg <cat@catcream.org>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/38463
Diffstat (limited to 'dev-util/intel-graphics-system-controller/intel-graphics-system-controller-0.9.3.ebuild')
-rw-r--r-- | dev-util/intel-graphics-system-controller/intel-graphics-system-controller-0.9.3.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-util/intel-graphics-system-controller/intel-graphics-system-controller-0.9.3.ebuild b/dev-util/intel-graphics-system-controller/intel-graphics-system-controller-0.9.3.ebuild new file mode 100644 index 000000000000..358f6dec3c36 --- /dev/null +++ b/dev-util/intel-graphics-system-controller/intel-graphics-system-controller-0.9.3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="igsc" +MY_P="${MY_PN}-${PV}" +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake python-any-r1 + +DESCRIPTION="Intel graphics system controller firmware update library" +HOMEPAGE="https://github.com/intel/igsc" +SRC_URI="https://github.com/intel/${MY_PN}/archive/refs/tags/V${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="+cli doc" + +RDEPEND=">=dev-libs/metee-3.2.4:=" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( + ${PYTHON_DEPS} + app-text/doxygen + $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') + ) +" + +pkg_setup() { + use doc && python-any-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DENABLE_CLI="$(usex cli)" + -DENABLE_DOCS="$(usex doc)" + -DENABLE_PERF="OFF" + -DENABLE_WERROR="OFF" + + # If enabled, tests are automatically run during + # the compile phase and we cannot run them because + # they require permissions to access the hardware. + -DENABLE_TESTS="OFF" + ) + + cmake_src_configure +} |