summaryrefslogtreecommitdiff
path: root/sys-apps/razergenie/razergenie-1.3.0.ebuild
blob: 7bc4de03250c80586de2bcd29857e3baa31503e5 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8

inherit meson xdg-utils

MY_P="RazerGenie-${PV}"
DESCRIPTION="Razer devices configurator"
HOMEPAGE="https://github.com/z3ntu/RazerGenie"
SRC_URI="https://github.com/z3ntu/RazerGenie/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}/${MY_P}"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64"

DEPEND="
	dev-libs/libopenrazer
	dev-qt/qtbase:6[dbus,gui,network,widgets]
"

RDEPEND="${DEPEND}
	sys-apps/openrazer
	x11-themes/hicolor-icon-theme
"
BDEPEND="
	virtual/pkgconfig
"

src_configure() {
	meson_src_configure
}

pkg_postinst() {
	xdg_icon_cache_update
}

pkg_postrm() {
	xdg_icon_cache_update
}