summaryrefslogtreecommitdiff
path: root/gui-apps/wev/wev-1.0.0.ebuild
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-01-23 13:37:50 +0100
committerKarel Kočí <cynerd@email.cz>2022-01-23 13:37:50 +0100
commit68e3f74b8af50bedd80fcd2c11fbee0901e7b34d (patch)
tree7c322f41b66d224ada80858bfe99bb35641478b0 /gui-apps/wev/wev-1.0.0.ebuild
parent6f34477f7b9914cab366b988346d672a1b38e2a5 (diff)
downloadgentoo-personal-overlay-68e3f74b8af50bedd80fcd2c11fbee0901e7b34d.tar.gz
gentoo-personal-overlay-68e3f74b8af50bedd80fcd2c11fbee0901e7b34d.tar.bz2
gentoo-personal-overlay-68e3f74b8af50bedd80fcd2c11fbee0901e7b34d.zip
gui-apps/wev: add new package
Diffstat (limited to 'gui-apps/wev/wev-1.0.0.ebuild')
-rw-r--r--gui-apps/wev/wev-1.0.0.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/gui-apps/wev/wev-1.0.0.ebuild b/gui-apps/wev/wev-1.0.0.ebuild
new file mode 100644
index 0000000..9849d6a
--- /dev/null
+++ b/gui-apps/wev/wev-1.0.0.ebuild
@@ -0,0 +1,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
+}