summaryrefslogtreecommitdiff
path: root/x11-misc/svkbd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-16 09:32:48 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-16 09:32:48 +0100
commit9ee6d97c2883d42f204a533a8bc1f4562df778fb (patch)
treeb690ddc0ca30f1472887edbb0b8313629bfcbbb2 /x11-misc/svkbd
parentb17a3ef12038de50228bade1f05502c74e135321 (diff)
gentoo resync : 16.09.2020
Diffstat (limited to 'x11-misc/svkbd')
-rw-r--r--x11-misc/svkbd/Manifest3
-rw-r--r--x11-misc/svkbd/metadata.xml7
-rw-r--r--x11-misc/svkbd/svkbd-0.2.ebuild50
3 files changed, 60 insertions, 0 deletions
diff --git a/x11-misc/svkbd/Manifest b/x11-misc/svkbd/Manifest
new file mode 100644
index 000000000000..b694f1dacf19
--- /dev/null
+++ b/x11-misc/svkbd/Manifest
@@ -0,0 +1,3 @@
+DIST svkbd-0.2.tar.gz 19470 BLAKE2B 3b97cfe37439474a31f382f86706b47effab82a1ef5ba0a278e0e7241b304b2cd096c01d88a60fc8ed2c25fb4c019b3fbe18645378b4508f339e69739381f22f SHA512 320f212c21163bd143e468bc541f79bc290e695704db1f7912112b07e673b6cde9766768c1e153a88962a8385ff9ac6cb78c2da5ca8ffb1b57be5eac26d46553
+EBUILD svkbd-0.2.ebuild 870 BLAKE2B 87e2cbf849bd5a8b2ed5a3c77e7303486747e475f87541cbb5990685b6f1be4250de473cc50210ab97d15496d90baf7f685455b28ef06ba36f45b6f0fbb31fb2 SHA512 5659c665a88fe7ea5aa72cc81470516e3ba3b3322cd36597a1a520ead73d5e7f794500643fb7491b3fb603a237af0af9787dd0f58795ec858faf0ed250169de3
+MISC metadata.xml 220 BLAKE2B 11299b6e9582bb55f5decff226d1917da6e8d665c1ff3f95a035963a51f1ab529c28963908fda5a64b9ba0e0b608b354a36d605ef5826cf1698937316c8b4932 SHA512 8e96ee3f78ee96ef4b61c89b6c82a43f03d0a96dcd3af136fbabd1cd2635a27d98d9ffdbe9a87d9fda9b0feca21c7d223cdbd89d35b1a096e7fe3655a9621607
diff --git a/x11-misc/svkbd/metadata.xml b/x11-misc/svkbd/metadata.xml
new file mode 100644
index 000000000000..cfab5bb7c8da
--- /dev/null
+++ b/x11-misc/svkbd/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+<email>desktop-misc@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/svkbd/svkbd-0.2.ebuild b/x11-misc/svkbd/svkbd-0.2.ebuild
new file mode 100644
index 000000000000..a6f135c3de90
--- /dev/null
+++ b/x11-misc/svkbd/svkbd-0.2.ebuild
@@ -0,0 +1,50 @@
+# 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
+
+ doman ${PN}.1
+
+ save_config config.def.h
+}