sys-power/rog-daemon: new package, add 2.1.0

Signed-off-by: Andrei Sabalenka <mechakotik@gmail.com>
This commit is contained in:
Andrei Sabalenka
2025-09-22 20:10:24 +03:00
parent da335fd99b
commit a8ae642d4f
3 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST rog-daemon-2.1.0.tar.gz 38347 BLAKE2B ee5af3add536fded74af3282df72e1472fa65a090d1334bc850618fb8f7386d688f82efb7b33d41ed62338106a272d72b031f25cffd569eb3132c5fb65c325c1 SHA512 609a91cfed44f5b4f552ed639c8d6851b2dca6925ab0e1e8501a2ca59db0f10ba5a2f9e04b4314049223f5bff590a1999ef46c854d5ff5b8f452fae803a9dbb5

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>mechakotik@gmail.com</email>
<name>Andrei Sabalenka</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/mechakotik/rog-daemon/issues</bugs-to>
<remote-id type="github">mechakotik/rog-daemon</remote-id>
</upstream>
<use>
<flag name="profile">Enable support for controlling profile</flag>
<flag name="fan-curve">Enable support for custom fan curves</flag>
<flag name="mux">Enable support for MUX switch</flag>
<flag name="panel-od">Enable support for Panel Overdrive</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,28 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="Lightweight and modular ASUS ROG control daemon"
HOMEPAGE="https://github.com/mechakotik/rog-daemon"
SRC_URI="https://github.com/mechakotik/rog-daemon/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="systemd +profile +fan-curve +mux +panel-od"
BDEPEND="dev-build/meson"
src_configure() {
local emesonargs=(
$(usex "systemd" "-Dinit=systemd" "-Dinit=openrc")
$(meson_use profile)
$(meson_use fan-curve fan_curve)
$(meson_use mux)
$(meson_use panel-od panel_od)
)
meson_src_configure
}