mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
app-misc/corectrl: add optfeatures and check for kernel config options
Signed-off-by: Kostadin Shishmanov <kostadinshishmanov@protonmail.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit ecm
|
||||
inherit ecm linux-info optfeature
|
||||
|
||||
DESCRIPTION="Core control application"
|
||||
HOMEPAGE="https://gitlab.com/corectrl/corectrl"
|
||||
@@ -52,6 +52,11 @@ RDEPEND="${COMMON_DEPEND}
|
||||
dev-libs/libfmt:=
|
||||
dev-qt/qtquickcontrols2
|
||||
"
|
||||
CONFIG_CHECK="~CONNECTOR ~PROC_EVENTS ~NETLINK_DIAG"
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
@@ -59,3 +64,8 @@ src_configure() {
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "vulkaninfo" dev-util/vulkan-tools
|
||||
optfeature "glxinfo" x11-apps/mesa-progs
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit ecm
|
||||
inherit ecm linux-info optfeature
|
||||
|
||||
DESCRIPTION="Core control application"
|
||||
HOMEPAGE="https://gitlab.com/corectrl/corectrl"
|
||||
@@ -52,6 +52,11 @@ RDEPEND="${COMMON_DEPEND}
|
||||
dev-libs/libfmt:=
|
||||
dev-qt/qtquickcontrols2
|
||||
"
|
||||
CONFIG_CHECK="~CONNECTOR ~PROC_EVENTS ~NETLINK_DIAG"
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
@@ -59,3 +64,8 @@ src_configure() {
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "vulkaninfo" dev-util/vulkan-tools
|
||||
optfeature "glxinfo" x11-apps/mesa-progs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user