summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-05-14 13:42:11 +0200
committerJeroen Roovers <jer@gentoo.org>2019-05-14 13:42:22 +0200
commit85de0924da8186aa823330b9bf49a2c1fa3f320a (patch)
tree2dd93dbbdeae27cd31f0e8996362df72814b42c4 /x11-misc/xkbset
parentdev-libs/libintl: Removed old. (diff)
downloadgentoo-85de0924da8186aa823330b9bf49a2c1fa3f320a.tar.gz
gentoo-85de0924da8186aa823330b9bf49a2c1fa3f320a.tar.bz2
gentoo-85de0924da8186aa823330b9bf49a2c1fa3f320a.zip
x11-misc/xkbset: Version 0.5_p7_p1
Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'x11-misc/xkbset')
-rw-r--r--x11-misc/xkbset/Manifest1
-rw-r--r--x11-misc/xkbset/xkbset-0.5_p7_p1.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/x11-misc/xkbset/Manifest b/x11-misc/xkbset/Manifest
index acf55f3a993d..a8d43eb7a8e6 100644
--- a/x11-misc/xkbset/Manifest
+++ b/x11-misc/xkbset/Manifest
@@ -1,3 +1,4 @@
DIST xkbset-0.5.tar.gz 13933 BLAKE2B f889bbf527e6ee808d970796815445cfa4803f315916c412d540eaac778f8cfdfa6e3d00e171cb21de589a61e5320de2af4f8b8c19c4c2a45c3cf837da38a0e7 SHA512 64de1a18076c0e0fd3e3189444b6033880028f53777566286caf935bfafcf062ccbd408d20926e2a4febb77d15b026349e0288f2aa93c815ddd9437b96589d8c
DIST xkbset_0.5-5.1.diff.gz 3744 BLAKE2B 3294afd74ddfa81d18827ef388935113eeaa6b2b8abfff799b13cec04f76dda2b78be685991933f133f5eb2b8ebcea5dbba6f5e4429d8363c984aa5c6d22de77 SHA512 92c362653088d5249dc26959cc898d4f8882f77b410ae09bbb2f03972940ed64ee2864b6da3425692c5cfa2bfe3b34d8316f5d7aa619f25c6311ac7a91a8db4b
DIST xkbset_0.5-6.debian.tar.xz 4028 BLAKE2B 5892ffc95e1926515cb98eaa40829f1f1d91009260e53d62834ce3fbc1bf99559ad5df9ff5b8a57cf7989579cbd351a7bb5481f7e284c9adaf954b2f20cb5d05 SHA512 c7d806406756785c77c12152a092c3f1245941682d063d503f3279d033a1adffa29c7b62723c720cdc03ebde882c134c494b30eda240211f899ceffbc874c366
+DIST xkbset_0.5-7.1.debian.tar.xz 4336 BLAKE2B 48de493553add438ccce22567d1e8b706418a6db8a70aaeb83835c33662c8ebc22f8e3250a8b87d521a02c41e44f7252dce774525a1fa5c4bfbf57f876dd728f SHA512 f927cc1fde5b3d0658d28a8fc1cdaa0c366826f7a8eab19404dda6a66a0e91ce3c262da1e783169a7521eb10a3470e9c75c01e60728daea737ad1319bc0b946f
diff --git a/x11-misc/xkbset/xkbset-0.5_p7_p1.ebuild b/x11-misc/xkbset/xkbset-0.5_p7_p1.ebuild
new file mode 100644
index 000000000000..54d3d0f4fc8a
--- /dev/null
+++ b/x11-misc/xkbset/xkbset-0.5_p7_p1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DEBIAN_P=${PV#*_p}
+DEBIAN_P=${DEBIAN_P/_p/.}
+
+DESCRIPTION="User preference utility for XKB extensions for X"
+HOMEPAGE="https://faculty.missouri.edu/~stephen/software/#xkbset"
+SRC_URI="
+ https://faculty.missouri.edu/~stephen/software/${PN}/${P/_p*/}.tar.gz
+ mirror://debian/pool/main/x/${PN}/${PN}_${PV/_p*/}-${DEBIAN_P}.debian.tar.xz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="tk"
+
+CDEPEND="
+ x11-libs/libX11
+"
+DEPEND="
+ ${CDEPEND}
+"
+RDEPEND="
+ ${CDEPEND}
+ tk? ( dev-perl/Tk )
+"
+
+S=${WORKDIR}/${P/_p*/}
+
+PATCHES=(
+ "${FILESDIR}"/${P/_p*/}-ldflags.patch
+ "${WORKDIR}"/debian/patches/02-clarify-errors.patch
+)
+
+pkg_setup() {
+ ewarn "MAJOR ${DEBIAN_P_MAJOR}"
+ ewarn "MINOR ${DEBIAN_P_MINOR}"
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) INC_PATH= LIB_PATH=
+}
+
+src_install() {
+ dobin xkbset
+ use tk && dobin xkbset-gui
+ doman xkbset.1
+ dodoc README TODO
+}