summaryrefslogtreecommitdiff
blob: 0c2e5e9693d72f5648105ce94a34b6d05450ed40 (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
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

inherit cmake-utils git-r3

DESCRIPTION="SteelSeries Sensei Raw configuration tool"
HOMEPAGE="https://github.com/pjanouch/sensei-raw-ctl"
EGIT_REPO_URI="https://github.com/pjanouch/sensei-raw-ctl.git"

LICENSE="ISC"
SLOT="0"
KEYWORDS=""
IUSE="gtk"

RDEPEND="
	virtual/libusb:1
	gtk? ( x11-libs/gtk+:3 )
"
DEPEND="${RDEPEND}
	sys-apps/help2man
"

src_configure() {
	local mycmakeargs=(
		$(cmake-utils_use_build gtk GUI)
	)

	cmake-utils_src_configure
}