summaryrefslogtreecommitdiff
path: root/sys-apps/lisgd/lisgd-0.4.0.ebuild
blob: 691a0f12a1948bc3f0f7f5b92ff61e29c0ac2010 (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
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
DESCRIPTION="Libinput synthetic gesture daemon"

HOMEPAGE="https://git.sr.ht/~mil/lisgd"

SRC_URI="https://git.sr.ht/~mil/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"

IUSE="X wayland"

SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64"

DEPEND="
	dev-libs/libinput
	X? ( x11-libs/libX11 )
	wayland? ( dev-libs/wayland )
"

RDEPEND="$DEPEND"

src_compile() {
	make $(usex X "" -DWITHOUT_X11) $(usex wayland "" -DWITHOUT_WAYLAND)
}