mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
app-misc/brightnessctl: fix cc direct call
Closes: https://bugs.gentoo.org/784821 Signed-off-by: Octiabrina Terrien-Puig <octiabrina@myrvogna.net>
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A program to read and control device brightness"
|
||||
HOMEPAGE="https://github.com/Hummer12007/brightnessctl"
|
||||
SRC_URI="https://github.com/Hummer12007/brightnessctl/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
@@ -22,6 +24,7 @@ BDEPEND="
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
use systemd && export ENABLE_SYSTEMD=1
|
||||
emake
|
||||
}
|
||||
@@ -39,6 +42,6 @@ src_install() {
|
||||
myconf="INSTALL_UDEV_RULES=0"
|
||||
fi
|
||||
|
||||
emake install ${myconf} DESTDIR="${D}"
|
||||
emake ${myconf} DESTDIR="${D}" install
|
||||
dodoc README.md
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user