aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Roy <julien@jroy.ca>2024-02-22 19:46:50 -0500
committerJulien Roy <julien@jroy.ca>2024-03-25 12:28:56 -0400
commita6b3f15b1a76a2b066f9ff763fab5588bab902c6 (patch)
tree86f32d7074d66c79409440a9426b97d7efaf5df8 /app-admin
parentprofiles: Unmask treecleaned packages (diff)
downloadguru-a6b3f15b1a76a2b066f9ff763fab5588bab902c6.tar.gz
guru-a6b3f15b1a76a2b066f9ff763fab5588bab902c6.tar.bz2
guru-a6b3f15b1a76a2b066f9ff763fab5588bab902c6.zip
*/*: treeclean stale/unmaintained packages
Closes: https://bugs.gentoo.org/885347 Closes: https://bugs.gentoo.org/885345 Closes: https://bugs.gentoo.org/885343 Closes: https://bugs.gentoo.org/885341 Closes: https://bugs.gentoo.org/885339 Closes: https://bugs.gentoo.org/885337 Closes: https://bugs.gentoo.org/885335 Closes: https://bugs.gentoo.org/885331 Closes: https://bugs.gentoo.org/885329 Closes: https://bugs.gentoo.org/869230 Closes: https://bugs.gentoo.org/860975 Closes: https://bugs.gentoo.org/859664 Closes: https://bugs.gentoo.org/900362 Closes: https://bugs.gentoo.org/887439 Closes: https://bugs.gentoo.org/887433 Closes: https://bugs.gentoo.org/855116 Closes: https://bugs.gentoo.org/855107 Closes: https://bugs.gentoo.org/897656 Closes: https://bugs.gentoo.org/887955 Closes: https://bugs.gentoo.org/885293 Closes: https://bugs.gentoo.org/847322 Closes: https://bugs.gentoo.org/843524 Closes: https://bugs.gentoo.org/860012 Closes: https://bugs.gentoo.org/852032 Closes: https://bugs.gentoo.org/887193 Closes: https://bugs.gentoo.org/859646 Closes: https://bugs.gentoo.org/901025 Closes: https://bugs.gentoo.org/921735 Closes: https://bugs.gentoo.org/901027 Closes: https://bugs.gentoo.org/887209 Closes: https://bugs.gentoo.org/859649 Closes: https://bugs.gentoo.org/855125 Closes: https://bugs.gentoo.org/921751 Closes: https://bugs.gentoo.org/859673 Closes: https://bugs.gentoo.org/799449 Closes: https://bugs.gentoo.org/901127 Closes: https://bugs.gentoo.org/921740 Closes: https://bugs.gentoo.org/901163 Closes: https://bugs.gentoo.org/887313 Closes: https://bugs.gentoo.org/847325 Closes: https://bugs.gentoo.org/884553 Closes: https://bugs.gentoo.org/859700 Closes: https://bugs.gentoo.org/857633 Closes: https://bugs.gentoo.org/857630 Closes: https://bugs.gentoo.org/857627 Closes: https://bugs.gentoo.org/857624 Closes: https://bugs.gentoo.org/884565 Closes: https://bugs.gentoo.org/855080 Closes: https://bugs.gentoo.org/855119 Closes: https://bugs.gentoo.org/901167 Closes: https://bugs.gentoo.org/887413 Closes: https://bugs.gentoo.org/861707 Closes: https://bugs.gentoo.org/859715 Closes: https://bugs.gentoo.org/901179 Closes: https://bugs.gentoo.org/901181 Closes: https://bugs.gentoo.org/901141 Closes: https://bugs.gentoo.org/887435 Closes: https://bugs.gentoo.org/859718 Closes: https://bugs.gentoo.org/901177 Closes: https://bugs.gentoo.org/890893 Closes: https://bugs.gentoo.org/901185 Closes: https://bugs.gentoo.org/887445 Closes: https://bugs.gentoo.org/884579 Closes: https://bugs.gentoo.org/901193 Closes: https://bugs.gentoo.org/859724 Closes: https://bugs.gentoo.org/886629 Closes: https://bugs.gentoo.org/859730 Closes: https://bugs.gentoo.org/861974 Closes: https://bugs.gentoo.org/887511 Closes: https://bugs.gentoo.org/861977 Closes: https://bugs.gentoo.org/861980 Closes: https://bugs.gentoo.org/887513 Closes: https://bugs.gentoo.org/897392 Closes: https://bugs.gentoo.org/861983 Closes: https://bugs.gentoo.org/861986 Closes: https://bugs.gentoo.org/861989 Closes: https://bugs.gentoo.org/861992 Closes: https://bugs.gentoo.org/861995 Closes: https://bugs.gentoo.org/887515 Closes: https://bugs.gentoo.org/861998 Closes: https://bugs.gentoo.org/862001 Closes: https://bugs.gentoo.org/887517 Closes: https://bugs.gentoo.org/862004 Closes: https://bugs.gentoo.org/862007 Closes: https://bugs.gentoo.org/862010 Closes: https://bugs.gentoo.org/862013 Closes: https://bugs.gentoo.org/862016 Closes: https://bugs.gentoo.org/862079 Closes: https://bugs.gentoo.org/915488 Closes: https://bugs.gentoo.org/884693 Closes: https://bugs.gentoo.org/901149 Closes: https://bugs.gentoo.org/855278 Closes: https://bugs.gentoo.org/921779 Closes: https://bugs.gentoo.org/921885 Closes: https://bugs.gentoo.org/835485 Closes: https://bugs.gentoo.org/887659 Closes: https://bugs.gentoo.org/834741 Closes: https://bugs.gentoo.org/884695 Closes: https://bugs.gentoo.org/901297 Closes: https://bugs.gentoo.org/807703 Closes: https://bugs.gentoo.org/862957 Closes: https://bugs.gentoo.org/922022 Closes: https://bugs.gentoo.org/923917 Closes: https://bugs.gentoo.org/923916 Closes: https://bugs.gentoo.org/923918 Closes: https://bugs.gentoo.org/901287 Closes: https://bugs.gentoo.org/852047 Closes: https://bugs.gentoo.org/852035 Closes: https://bugs.gentoo.org/860333 Closes: https://bugs.gentoo.org/848039 Closes: https://bugs.gentoo.org/897650 Closes: https://bugs.gentoo.org/849071 Closes: https://bugs.gentoo.org/842342 Closes: https://bugs.gentoo.org/860471 Closes: https://bugs.gentoo.org/887953 Closes: https://bugs.gentoo.org/863371 Closes: https://bugs.gentoo.org/887951 Closes: https://bugs.gentoo.org/860459 Closes: https://bugs.gentoo.org/901407 Closes: https://bugs.gentoo.org/847352 Closes: https://bugs.gentoo.org/922042 Closes: https://bugs.gentoo.org/860462 Closes: https://bugs.gentoo.org/901409 Closes: https://bugs.gentoo.org/897652 Closes: https://bugs.gentoo.org/848021 Closes: https://bugs.gentoo.org/901405 Closes: https://bugs.gentoo.org/887959 Closes: https://bugs.gentoo.org/901411 Closes: https://bugs.gentoo.org/887961 Closes: https://bugs.gentoo.org/860465 Closes: https://bugs.gentoo.org/885291 Closes: https://bugs.gentoo.org/901413 Closes: https://bugs.gentoo.org/887967 Closes: https://bugs.gentoo.org/860468 Closes: https://bugs.gentoo.org/863377 Closes: https://bugs.gentoo.org/922043 Closes: https://bugs.gentoo.org/901425 Closes: https://bugs.gentoo.org/863380 Closes: https://bugs.gentoo.org/847319 Closes: https://bugs.gentoo.org/863383 Closes: https://bugs.gentoo.org/860474 Closes: https://bugs.gentoo.org/887989 Closes: https://bugs.gentoo.org/860477 Closes: https://bugs.gentoo.org/887991 Closes: https://bugs.gentoo.org/901427 Closes: https://bugs.gentoo.org/887993 Closes: https://bugs.gentoo.org/901429 Closes: https://bugs.gentoo.org/887997 Closes: https://bugs.gentoo.org/860480 Closes: https://bugs.gentoo.org/897654 Closes: https://bugs.gentoo.org/922047 Closes: https://bugs.gentoo.org/887999 Closes: https://bugs.gentoo.org/897664 Closes: https://bugs.gentoo.org/860531 Closes: https://bugs.gentoo.org/784665 Closes: https://bugs.gentoo.org/860525 Closes: https://bugs.gentoo.org/888003 Closes: https://bugs.gentoo.org/860537 Closes: https://bugs.gentoo.org/922052 Closes: https://bugs.gentoo.org/897662 Closes: https://bugs.gentoo.org/901421 Closes: https://bugs.gentoo.org/785535 Closes: https://bugs.gentoo.org/784644 Closes: https://bugs.gentoo.org/804831 Closes: https://bugs.gentoo.org/885365 Closes: https://bugs.gentoo.org/922053 Closes: https://bugs.gentoo.org/840707 Closes: https://bugs.gentoo.org/836142 Closes: https://bugs.gentoo.org/836153 Closes: https://bugs.gentoo.org/783675 Closes: https://bugs.gentoo.org/888005 Closes: https://bugs.gentoo.org/887879 Closes: https://bugs.gentoo.org/860528 Closes: https://bugs.gentoo.org/901417 Closes: https://bugs.gentoo.org/922055 Closes: https://bugs.gentoo.org/842807 Closes: https://bugs.gentoo.org/810287 Closes: https://bugs.gentoo.org/888007 Closes: https://bugs.gentoo.org/860540 Closes: https://bugs.gentoo.org/885373 Closes: https://bugs.gentoo.org/888011 Closes: https://bugs.gentoo.org/800995 Closes: https://bugs.gentoo.org/885375 Closes: https://bugs.gentoo.org/863758 Closes: https://bugs.gentoo.org/809320 Closes: https://bugs.gentoo.org/809440 Closes: https://bugs.gentoo.org/863779 Closes: https://bugs.gentoo.org/901431 Closes: https://bugs.gentoo.org/860774 Closes: https://bugs.gentoo.org/860768 Closes: https://bugs.gentoo.org/901433 Closes: https://bugs.gentoo.org/852989 Closes: https://bugs.gentoo.org/885367 Closes: https://bugs.gentoo.org/860771 Closes: https://bugs.gentoo.org/901435 Closes: https://bugs.gentoo.org/887881 Closes: https://bugs.gentoo.org/901437 Closes: https://bugs.gentoo.org/784668 Closes: https://bugs.gentoo.org/901439 Closes: https://bugs.gentoo.org/901419 Closes: https://bugs.gentoo.org/888017 Closes: https://bugs.gentoo.org/888019 Closes: https://bugs.gentoo.org/901441 Closes: https://bugs.gentoo.org/885377 Closes: https://bugs.gentoo.org/901443 Closes: https://bugs.gentoo.org/807115 Closes: https://bugs.gentoo.org/885363 Closes: https://bugs.gentoo.org/888021 Closes: https://bugs.gentoo.org/888023 Closes: https://bugs.gentoo.org/901445 Closes: https://bugs.gentoo.org/888015 Closes: https://bugs.gentoo.org/887921 Closes: https://bugs.gentoo.org/863821 Closes: https://bugs.gentoo.org/907907 Closes: https://bugs.gentoo.org/887883 Closes: https://bugs.gentoo.org/908948 Closes: https://bugs.gentoo.org/908947 Closes: https://bugs.gentoo.org/908951 Closes: https://bugs.gentoo.org/892694 Closes: https://bugs.gentoo.org/801016 Closes: https://bugs.gentoo.org/922082 Closes: https://bugs.gentoo.org/852260 Closes: https://bugs.gentoo.org/901451 Closes: https://bugs.gentoo.org/922083 Closes: https://bugs.gentoo.org/860777 Closes: https://bugs.gentoo.org/901449 Closes: https://bugs.gentoo.org/901453 Closes: https://bugs.gentoo.org/921785 Closes: https://bugs.gentoo.org/860969 Closes: https://bugs.gentoo.org/817227 Closes: https://bugs.gentoo.org/921788 Closes: https://bugs.gentoo.org/921789 Closes: https://bugs.gentoo.org/835527 Closes: https://bugs.gentoo.org/897414 Closes: https://bugs.gentoo.org/921781 Closes: https://bugs.gentoo.org/897430 Closes: https://bugs.gentoo.org/848720 Closes: https://bugs.gentoo.org/883173 Closes: https://bugs.gentoo.org/921800 Closes: https://bugs.gentoo.org/921803 Closes: https://bugs.gentoo.org/921804 Closes: https://bugs.gentoo.org/921807 Closes: https://bugs.gentoo.org/901479 Closes: https://bugs.gentoo.org/901483 Closes: https://bugs.gentoo.org/901151 Closes: https://bugs.gentoo.org/896028 Closes: https://bugs.gentoo.org/921783 Closes: https://bugs.gentoo.org/897432 Closes: https://bugs.gentoo.org/905472 Closes: https://bugs.gentoo.org/921810 Closes: https://bugs.gentoo.org/843485 Closes: https://bugs.gentoo.org/921816 Closes: https://bugs.gentoo.org/921818 Closes: https://bugs.gentoo.org/921825 Closes: https://bugs.gentoo.org/921822 Closes: https://bugs.gentoo.org/816654 Closes: https://bugs.gentoo.org/921775 Closes: https://bugs.gentoo.org/921777 Closes: https://bugs.gentoo.org/848723 Closes: https://bugs.gentoo.org/921853 Closes: https://bugs.gentoo.org/921895 Closes: https://bugs.gentoo.org/921855 Closes: https://bugs.gentoo.org/897506 Closes: https://bugs.gentoo.org/921857 Closes: https://bugs.gentoo.org/880013 Closes: https://bugs.gentoo.org/897542 Closes: https://bugs.gentoo.org/921864 Closes: https://bugs.gentoo.org/922915 Closes: https://bugs.gentoo.org/921897 Closes: https://bugs.gentoo.org/921900 Closes: https://bugs.gentoo.org/921865 Closes: https://bugs.gentoo.org/887637 Closes: https://bugs.gentoo.org/839306 Closes: https://bugs.gentoo.org/921868 Closes: https://bugs.gentoo.org/921869 Closes: https://bugs.gentoo.org/862082 Closes: https://bugs.gentoo.org/921873 Closes: https://bugs.gentoo.org/897588 Closes: https://bugs.gentoo.org/901221 Closes: https://bugs.gentoo.org/921808 Closes: https://bugs.gentoo.org/897590 Closes: https://bugs.gentoo.org/848549 Closes: https://bugs.gentoo.org/921876 Closes: https://bugs.gentoo.org/921878 Closes: https://bugs.gentoo.org/921879 Closes: https://bugs.gentoo.org/921880 Closes: https://bugs.gentoo.org/921797 Closes: https://bugs.gentoo.org/862765 Closes: https://bugs.gentoo.org/921780 Closes: https://bugs.gentoo.org/921881 Closes: https://bugs.gentoo.org/921813 Closes: https://bugs.gentoo.org/921784 Closes: https://bugs.gentoo.org/800076 Closes: https://bugs.gentoo.org/921884 Closes: https://bugs.gentoo.org/822456 Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r2.ebuild50
-rw-r--r--app-admin/ananicy-cpp/ananicy-cpp-1.1.1.ebuild49
-rw-r--r--app-admin/zenmonitor3/Manifest1
-rw-r--r--app-admin/zenmonitor3/files/zenmonitor3-makefile.patch24
-rw-r--r--app-admin/zenmonitor3/metadata.xml14
-rw-r--r--app-admin/zenmonitor3/zenmonitor3-2.0.0.ebuild50
6 files changed, 99 insertions, 89 deletions
diff --git a/app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r2.ebuild b/app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r2.ebuild
new file mode 100644
index 000000000..e97720ff9
--- /dev/null
+++ b/app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Ananicy rewritten in C++ for much lower CPU and memory usage"
+HOMEPAGE="https://gitlab.com/ananicy-cpp/ananicy-cpp"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="systemd"
+
+SRC_URI="https://gitlab.com/ananicy-cpp/ananicy-cpp/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
+S="${WORKDIR}/${PN}-v${PV}"
+
+DEPEND="
+ !app-admin/ananicy
+ >=dev-cpp/nlohmann_json-3.9
+ >=dev-libs/libfmt-8
+ >=dev-libs/spdlog-1.9
+ systemd? ( sys-apps/systemd )
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-remove-debug-flags.patch"
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_SYSTEMD=$(usex systemd)
+ -DUSE_EXTERNAL_FMTLIB=ON
+ -DUSE_EXTERNAL_JSON=ON
+ -DUSE_EXTERNAL_SPDLOG=ON
+ -DVERSION=${PV}
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ if ! use systemd ; then
+ doinitd "${FILESDIR}/${PN}.initd"
+ fi
+
+ keepdir /etc/ananicy.d
+}
diff --git a/app-admin/ananicy-cpp/ananicy-cpp-1.1.1.ebuild b/app-admin/ananicy-cpp/ananicy-cpp-1.1.1.ebuild
new file mode 100644
index 000000000..9ccfb2cf2
--- /dev/null
+++ b/app-admin/ananicy-cpp/ananicy-cpp-1.1.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Ananicy rewritten in C++ for much lower CPU and memory usage"
+HOMEPAGE="https://gitlab.com/ananicy-cpp/ananicy-cpp"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+regex systemd +threads"
+
+SRC_URI="https://gitlab.com/ananicy-cpp/ananicy-cpp/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
+S="${WORKDIR}/${PN}-v${PV}"
+
+DEPEND="
+ !app-admin/ananicy
+ >=dev-cpp/nlohmann_json-3.9
+ >=dev-libs/libfmt-8
+ >=dev-libs/spdlog-1.9
+ regex? ( >=dev-libs/libpcre2-8 )
+ systemd? ( sys-apps/systemd )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_REGEX_SUPPORT=$(usex regex)
+ -DENABLE_SYSTEMD=$(usex systemd)
+ -DENABLE_THREADS=$(usex threads)
+ -DUSE_EXTERNAL_FMTLIB=ON
+ -DUSE_EXTERNAL_JSON=ON
+ -DUSE_EXTERNAL_SPDLOG=ON
+ -DVERSION=${PV}
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ if ! use systemd ; then
+ doinitd "${FILESDIR}/${PN}.initd"
+ fi
+
+ keepdir /etc/ananicy.d
+}
diff --git a/app-admin/zenmonitor3/Manifest b/app-admin/zenmonitor3/Manifest
deleted file mode 100644
index 5aaf78c72..000000000
--- a/app-admin/zenmonitor3/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST zenmonitor3-2.0.0.tar.gz 83502 BLAKE2B 3d7105879304f7cfad70e160b04941b210b9c63da2f6bfabec1e1e26cc0110da812b86417c9fa09434d1c2b90aced7d9f2c000e4321dae3a7288d1424b4af85f SHA512 75bf343456cb7392f1bf99264db721a2cae972a2c6a6ef44284aae2d429cc0d6b87493de50bd4189b6ff7c555512434b898517b383e313ab5ad28d25687c9a9e
diff --git a/app-admin/zenmonitor3/files/zenmonitor3-makefile.patch b/app-admin/zenmonitor3/files/zenmonitor3-makefile.patch
deleted file mode 100644
index df2611cd5..000000000
--- a/app-admin/zenmonitor3/files/zenmonitor3-makefile.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- a/makefile 2022-02-09 17:44:15.642864568 +0100
-+++ b/makefile 2022-02-09 17:46:30.128907145 +0100
-@@ -1,7 +1,6 @@
--CC := cc
-
- ifeq ($(PREFIX),)
-- PREFIX := /usr/local
-+ PREFIX := /usr
- endif
-
- BUILD_FILES_COMMON := \
-@@ -19,10 +18,10 @@
- src/zenmonitor-cli.c
-
- build:
-- $(CC) -Isrc/include `pkg-config --cflags gtk+-3.0` $(BUILD_FILES_GUI) -o zenmonitor `pkg-config --libs gtk+-3.0` -lm -no-pie -Wall $(CFLAGS)
-+ $(CC) -Isrc/include `pkg-config --cflags gtk+-3.0` $(BUILD_FILES_GUI) -o zenmonitor `pkg-config --libs gtk+-3.0` -lm -Wall $(CFLAGS) ${LDFLAGS}
-
- build-cli:
-- $(CC) -Isrc/include `pkg-config --cflags glib-2.0` $(BUILD_FILES_CLI) -o zenmonitor-cli `pkg-config --libs glib-2.0` -lm -lncurses -no-pie -Wall $(CFLAGS)
-+ $(CC) -Isrc/include `pkg-config --cflags glib-2.0` $(BUILD_FILES_CLI) -o zenmonitor-cli `pkg-config --libs glib-2.0` -lm -ltinfo -lncurses -Wall $(CFLAGS) ${LDFLAGS}
-
- install:
- mkdir -p $(DESTDIR)$(PREFIX)/bin
diff --git a/app-admin/zenmonitor3/metadata.xml b/app-admin/zenmonitor3/metadata.xml
deleted file mode 100644
index 416950102..000000000
--- a/app-admin/zenmonitor3/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>lssndrbarbieri@gmail.com</email>
- <name>Alessandro Barbieri</name>
- </maintainer>
- <upstream>
- <remote-id type="github">Ta180m/zenmonitor3</remote-id>
- </upstream>
- <use>
- <flag name="cli">Build zenmonitor-cli</flag>
- </use>
-</pkgmetadata>
diff --git a/app-admin/zenmonitor3/zenmonitor3-2.0.0.ebuild b/app-admin/zenmonitor3/zenmonitor3-2.0.0.ebuild
deleted file mode 100644
index cb7578872..000000000
--- a/app-admin/zenmonitor3/zenmonitor3-2.0.0.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit fcaps toolchain-funcs
-
-DESCRIPTION="Zen monitor is monitoring software for AMD Zen-based CPUs"
-HOMEPAGE="https://github.com/Ta180m/zenmonitor3"
-KEYWORDS="~amd64"
-SRC_URI="https://github.com/Ta180m/${PN}/archive/v${PV}.tar.gz -> ${PN}-${PV}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="cli +filecaps policykit"
-
-DEPEND="
- cli? ( sys-libs/ncurses )
- filecaps? ( sys-libs/libcap )
- x11-libs/gtk+:3
-"
-RDEPEND="
- ${DEPEND}
- policykit? ( sys-auth/polkit )
- sys-kernel/zenpower3
-"
-
-PATCHES=( "${FILESDIR}/${PN}-makefile.patch" )
-
-src_compile() {
- tc-export CC
- emake build
- use cli && emake build-cli
-}
-
-src_install() {
- dodoc README.md
-
- DESTDIR="${D}" emake install
- use cli && DESTDIR="${D}" emake install-cli
- if use policykit; then
- mkdir -p "${ED}/usr/share/polkit-1/actions" || die
- DESTDIR="${D}" emake install-polkit
- fi
-}
-
-pkg_postinst() {
- fcaps cap_sys_rawio,cap_dac_read_search usr/bin/zenmonitor
- use cli && fcaps cap_sys_rawio,cap_dac_read_search usr/bin/zenmonitor-cli
-}