diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-26 00:09:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-26 00:09:36 +0100 |
commit | b1c81de4fadbd00897700a7321f03b390d952b2e (patch) | |
tree | e6cc812351d4f105c110cfc363ebb497e996f47a /dev-util/intel-graphics-system-controller/intel-graphics-system-controller-0.2.3.ebuild | |
parent | 7c59acba5699c9c58090a7a738669669a7307023 (diff) |
gentoo resync : 26.08.2021
Diffstat (limited to 'dev-util/intel-graphics-system-controller/intel-graphics-system-controller-0.2.3.ebuild')
-rw-r--r-- | dev-util/intel-graphics-system-controller/intel-graphics-system-controller-0.2.3.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
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 +} |