diff --git a/dev-util/intel-graphics-system-controller/Manifest b/dev-util/intel-graphics-system-controller/Manifest index e465eaae2c6bc..19ef98fc22aeb 100644 --- a/dev-util/intel-graphics-system-controller/Manifest +++ b/dev-util/intel-graphics-system-controller/Manifest @@ -1 +1,2 @@ DIST intel-graphics-system-controller-0.9.6.tar.gz 199596 BLAKE2B 013dbe76997b6bae7cd0ce825d66e6dc0154957f1d0b3edc8bc6331e808e63e076ab033a893819b8d75617b6b1dc52566c6fd86bd7af9a71d452291a5b5b38f9 SHA512 74264b2a112c9d5da12c58cc5037797c1ce540f9881ff047be411468b7a34b0db517b8f233e4a9ea6667f17d0c9df4faf1380cb55fa2a1fff5b9d0fdd848eedf +DIST intel-graphics-system-controller-1.0.0.tar.gz 200361 BLAKE2B 9c0bf750f1feeeb7e29413b24fc0cae8ecb15b29428601d1fe5848d096491d6005e5aec18410da72e482609e5afd8f38cb171653df9e0ccb03fda8750aa9e702 SHA512 e861473db4a09082ae114b23d1aa938329b84ccf81768ef1eb30fc93faa045a15ec4ad368208bc6eeeb7045a19012af7e803b9de2894a815a93a5fef8ec626c0 diff --git a/dev-util/intel-graphics-system-controller/intel-graphics-system-controller-1.0.0.ebuild b/dev-util/intel-graphics-system-controller/intel-graphics-system-controller-1.0.0.ebuild new file mode 100644 index 0000000000000..705ee57fe6e3f --- /dev/null +++ b/dev-util/intel-graphics-system-controller/intel-graphics-system-controller-1.0.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2025 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..14} ) + +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-6.0.2:=" +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 +}