summaryrefslogtreecommitdiff
path: root/gui-apps/wev/wev-1.1.0.ebuild
diff options
context:
space:
mode:
authormac <ra@afu.re>2025-09-16 10:05:31 -0400
committermac <ra@afu.re>2025-09-16 10:05:31 -0400
commit7b0d27b31c330a2173e839ed988a8a49bcac7099 (patch)
treefdfdeb097e93494cc50437c6c5bdeb9126788bef /gui-apps/wev/wev-1.1.0.ebuild
parent54f2198b3c279e02aafb97725c25fcace5a7728b (diff)
rm wbg-9999.ebuild & add wev-1.1.0.ebuild
Diffstat (limited to 'gui-apps/wev/wev-1.1.0.ebuild')
-rw-r--r--gui-apps/wev/wev-1.1.0.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/gui-apps/wev/wev-1.1.0.ebuild b/gui-apps/wev/wev-1.1.0.ebuild
new file mode 100644
index 0000000..d38e994
--- /dev/null
+++ b/gui-apps/wev/wev-1.1.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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"
+
+RDEPEND="
+ dev-libs/wayland
+ x11-libs/libxkbcommon
+"
+DEPEND="${DEPEND}
+ dev-libs/wayland-protocols
+"
+BDEPEND="
+ app-text/scdoc
+ dev-util/wayland-scanner
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+
+ # Respect LDFLAGS
+ sed -e 's/$(LIBS)/$(LIBS) $(LDFLAGS)/g' \
+ -i Makefile || die
+}
+
+src_configure() {
+ tc-export CC
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+ einstalldocs
+}