summaryrefslogtreecommitdiff
path: root/gui-apps/wev/wev-1.0.0.ebuild
blob: 9849d6ae07a60da2b367dbbb3aa5d309afd4cba0 (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
EAPI=7

inherit toolchain-funcs

DESCRIPTION="Wayland event viewer"
HOMEPAGE="https://git.sr.ht/~sircmpwn/wev"
SRC_URI="https://git.sr.ht/~sircmpwn/wev/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="
	dev-libs/wayland
	x11-libs/libxkbcommon
"
RDEPEND="${DEPEND}"
BDEPEND="
	app-text/scdoc
	dev-libs/wayland-protocols
	dev-util/wayland-scanner
	virtual/pkgconfig
"

src_prepare() {
	default
	# Respect LDFLAGS
	# Install to /usr/ not /usr/local/
	sed -e 's/$(LIBS)/$(LIBS) $(LDFLAGS)/' \
		-e 's/local//' \
		-i Makefile || die
}

src_compile() {
	tc-export CC

	default
}