blob: 89a5d67744498aa89262a04c3fa4bbe2cfa536c1 (
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
42
43
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake linux-info
COMMIT="f9a66914622514c13997c2bf7ec20fa98e9dfc1d"
DESCRIPTION="Daemon that uses hid-nintendo evdev devices to implement joycon pairing"
HOMEPAGE="https://github.com/DanielOgorchock/joycond"
SRC_URI="https://github.com/DanielOgorchock/joycond/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-libs/libevdev
virtual/udev
"
RDEPEND="
${DEPEND}
"
CONFIG_CHECK="
~HID
~HID_NINTENDO
~HIDRAW
"
S="${WORKDIR}/${PN}-${COMMIT}"
PATCHES=(
"${FILESDIR}"/${PN}-systemd-paths.patch
"${FILESDIR}"/${PN}-systemd-paranoia.patch
)
src_install() {
cmake_src_install
newinitd "${FILESDIR}"/${PN}.initd ${PN}
doman doc/${PN}.1
}
|