summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2021-03-30 06:59:49 -0500
committerBen Kohler <bkohler@gentoo.org>2021-03-30 07:28:34 -0500
commita640fae1f9f95856758be2918fdbfe2c3d839f25 (patch)
treee28375786a6362aebf8fbdbbcc96aa9a5fb75523 /x11-misc/bbkeys
parentx11-misc/bbcd: fix build, take package (diff)
downloadgentoo-a640fae1f9f95856758be2918fdbfe2c3d839f25.tar.gz
gentoo-a640fae1f9f95856758be2918fdbfe2c3d839f25.tar.bz2
gentoo-a640fae1f9f95856758be2918fdbfe2c3d839f25.zip
x11-misc/bbkeys: bump to 0.9.2, take pkg, fix deps, fix amd64 build
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'x11-misc/bbkeys')
-rw-r--r--x11-misc/bbkeys/Manifest1
-rw-r--r--x11-misc/bbkeys/bbkeys-0.9.2.ebuild42
-rw-r--r--x11-misc/bbkeys/metadata.xml11
3 files changed, 50 insertions, 4 deletions
diff --git a/x11-misc/bbkeys/Manifest b/x11-misc/bbkeys/Manifest
index 2a71798ace53..fd73128e3ffb 100644
--- a/x11-misc/bbkeys/Manifest
+++ b/x11-misc/bbkeys/Manifest
@@ -1 +1,2 @@
DIST bbkeys-0.9.1.tar.gz 226941 BLAKE2B 43a946210f25679dfe7d5a383fbd3f938ae71b19a635a288590b958fc47f3588c690a1e901b44fdb1b31eb1a8ee7252ceeee85b5d012585b261de61cc0f012ab SHA512 c8643d51dbb8f080cf70149d545f33160d15f00a0c3cefdd6d3856dfdee224ff3f63fce0988669036249c75f70878be63711a697dfaa45d4357d2141a28b13bd
+DIST bbkeys-0.9.2.tar.gz 116313 BLAKE2B 03b9cb10b7a10380ef805f28605b0ed1969d2197ffc1a19704a3ae230d3555f265d721c800ec45e37af4fb28fa01587999c078d0122826589f688b146fbebef7 SHA512 3205bd37052589b6cba9447032e6906c09afc80b36d7f7869204d290faa7f5726b7b9de74ee06c73c25b794f88eb4e13663f8b096f78bd246d1764bc4ab8984d
diff --git a/x11-misc/bbkeys/bbkeys-0.9.2.ebuild b/x11-misc/bbkeys/bbkeys-0.9.2.ebuild
new file mode 100644
index 000000000000..703e7c8eff6e
--- /dev/null
+++ b/x11-misc/bbkeys/bbkeys-0.9.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+MY_PV="rel-$(ver_cut 1)$(ver_cut 2)$(ver_cut 3)"
+
+DESCRIPTION="Use keyboard shortcuts in the blackbox wm"
+HOMEPAGE="http://bbkeys.sourceforge.net"
+SRC_URI="https://github.com/bbidulock/bbkeys/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="
+ >=x11-wm/blackbox-0.70.0
+ x11-libs/libXext
+ x11-libs/libXft
+ x11-libs/libX11
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+ sed -i -e '/^bbkeys_LDADD/ s#/usr/lib/libbt.a#-lbt#' src/Makefile.am || die
+ default
+ eautoreconf
+}
+
+src_install() {
+ default
+ rm -rf "${ED%/}"/usr/share/doc || die
+
+ echo PRELINK_PATH_MASK=\""${EPREFIX}"/usr/bin/bbkeys\" > "${T}"/99bbkeys || die
+ doenvd "${T}"/99bbkeys
+}
diff --git a/x11-misc/bbkeys/metadata.xml b/x11-misc/bbkeys/metadata.xml
index 8c1cd95c03af..4236bc6e3ff7 100644
--- a/x11-misc/bbkeys/metadata.xml
+++ b/x11-misc/bbkeys/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="sourceforge">bbkeys</remote-id>
- </upstream>
+ <maintainer type="person">
+ <email>bkohler@gentoo.org</email>
+ <name>Ben Kohler</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">bbidulock/bbkeys</remote-id>
+ </upstream>
</pkgmetadata>