summaryrefslogtreecommitdiff
path: root/sys-power/rog-daemon/rog-daemon-2.1.0.ebuild
blob: 392cf4d69d3939d624f95e8ce6921ba597f2a133 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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"

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
}