summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-09-19 09:13:40 +0200
committerJeroen Roovers <jer@gentoo.org>2020-09-19 09:17:03 +0200
commit8e84d7fef627e6f66c08bc45c56b6539305c14e3 (patch)
treea38a9e07d7d7c02940497651d9f10a2935647436 /x11-misc/svkbd
parentvirtual/mailx: mail-client/nail is no longer in the tree (diff)
downloadgentoo-8e84d7fef627e6f66c08bc45c56b6539305c14e3.tar.gz
gentoo-8e84d7fef627e6f66c08bc45c56b6539305c14e3.tar.bz2
gentoo-8e84d7fef627e6f66c08bc45c56b6539305c14e3.zip
x11-misc/svkbd: Version 0.2.1
Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'x11-misc/svkbd')
-rw-r--r--x11-misc/svkbd/Manifest1
-rw-r--r--x11-misc/svkbd/svkbd-0.2.1.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/x11-misc/svkbd/Manifest b/x11-misc/svkbd/Manifest
index 5a4afcb60d43..814ffbe5dc21 100644
--- a/x11-misc/svkbd/Manifest
+++ b/x11-misc/svkbd/Manifest
@@ -1 +1,2 @@
+DIST svkbd-0.2.1.tar.gz 19476 BLAKE2B 8bb33195f82e0ce6c348d0526d8c07d75bbb44f96c133b44020037e312b04197b449cb2dbe586d0e7cd0dca022da1847cc472122a16b764787b46f4d14419b0d SHA512 c6b6f8e4cff4c8aa4ab5cc9369bacbfa226bee3cf7008351d9873a33a59751106b8cd21242c9d13ce463e68968a920459162bbd73173928acf68c067ac81e736
DIST svkbd-0.2.tar.gz 19470 BLAKE2B 3b97cfe37439474a31f382f86706b47effab82a1ef5ba0a278e0e7241b304b2cd096c01d88a60fc8ed2c25fb4c019b3fbe18645378b4508f339e69739381f22f SHA512 320f212c21163bd143e468bc541f79bc290e695704db1f7912112b07e673b6cde9766768c1e153a88962a8385ff9ac6cb78c2da5ca8ffb1b57be5eac26d46553
diff --git a/x11-misc/svkbd/svkbd-0.2.1.ebuild b/x11-misc/svkbd/svkbd-0.2.1.ebuild
new file mode 100644
index 000000000000..bf864ebe3875
--- /dev/null
+++ b/x11-misc/svkbd/svkbd-0.2.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit savedconfig toolchain-funcs
+
+DESCRIPTION="Simple Virtual Keyboard"
+HOMEPAGE="https://tools.suckless.org/x/svkbd/"
+SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
+
+LICENSE="MIT-with-advertising"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXft
+ x11-libs/libXinerama
+ x11-libs/libXtst
+"
+DEPEND="
+ ${DEPEND}
+ x11-base/xorg-proto
+"
+
+src_prepare() {
+ default
+
+ restore_config config.def.h
+
+ sed -i -e 's|pkg-config|$(PKG_CONFIG)|g' Makefile || die
+}
+
+src_compile() {
+ for i in layout*.h; do
+ i=${i/layout.}; i=${i/.h}
+ emake \
+ CC="$(tc-getCC)" \
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" \
+ LAYOUT=${i}
+ done
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+
+ dobin ${PN}-*
+
+ doman ${PN}.1
+
+ save_config config.def.h
+}