diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2021-08-22 15:03:57 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2021-08-22 15:07:00 +0200 |
commit | c19dea55902200a73851139369673c0360b249f4 (patch) | |
tree | c06f61c84556e461522a641a0a1812f464ff4a6d /dev-util/intel-graphics-system-controller | |
parent | dev-libs/metee: new package (diff) | |
download | gentoo-c19dea55902200a73851139369673c0360b249f4.tar.gz gentoo-c19dea55902200a73851139369673c0360b249f4.tar.bz2 gentoo-c19dea55902200a73851139369673c0360b249f4.zip |
dev-util/intel-graphics-system-controller: new package
This package adds firmware upgrade support
for the dev-libs/intel-neo package.
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-util/intel-graphics-system-controller')
3 files changed, 66 insertions, 0 deletions
diff --git a/dev-util/intel-graphics-system-controller/Manifest b/dev-util/intel-graphics-system-controller/Manifest new file mode 100644 index 000000000000..1547d8588a36 --- /dev/null +++ b/dev-util/intel-graphics-system-controller/Manifest @@ -0,0 +1 @@ +DIST intel-graphics-system-controller-0.2.3.tar.gz 124505 BLAKE2B 50bfaf5dee2fd55d92cd7e544faa8c26930f809b1f4d6dbdc332aec0ace0ced9e21817479c87c4ec12d1117209696b2146c2c6aeb1cfde4ad654d065547e8a6b SHA512 a3ecac36170b0f5c508e077c35336f5c2122d4cc2917e68237af3c92fb82b5f080deee4dded68cb36922cb9edd4d78f7b7a6ed2295649a538ab83ad30c280761 diff --git a/dev-util/intel-graphics-system-controller/intel-graphics-system-controller-0.2.3.ebuild b/dev-util/intel-graphics-system-controller/intel-graphics-system-controller-0.2.3.ebuild new file mode 100644 index 000000000000..632531f54bc9 --- /dev/null +++ b/dev-util/intel-graphics-system-controller/intel-graphics-system-controller-0.2.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="igsc" +MY_P="${MY_PN}-${PV}" +PYTHON_COMPAT=( python3_{8..10} ) + +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" +KEYWORDS="~amd64" +IUSE="+cli doc" + +RDEPEND="dev-libs/metee" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( + ${PYTHON_DEPS} + app-doc/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_ENUM="ON" + -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 +} diff --git a/dev-util/intel-graphics-system-controller/metadata.xml b/dev-util/intel-graphics-system-controller/metadata.xml new file mode 100644 index 000000000000..7e06acd58a1b --- /dev/null +++ b/dev-util/intel-graphics-system-controller/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>conikost@gentoo.org</email> + <name>Conrad Kostecki</name> + </maintainer> + <use> + <flag name="cli">Build CLI tools for flashing manually a firmware upgrade.</flag> + </use> + <upstream> + <remote-id type="github">intel/igsc</remote-id> + </upstream> +</pkgmetadata> |