summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2024-09-05 10:08:01 +0200
committercos <cos>2024-09-07 13:52:58 +0200
commit51fd0cb9c1c5a3823fe7a1100fe221c731199a5c (patch)
tree6186757d0cc6f9aaa290fe9c1ea8282e4208fcde
parent69c2353bfd556cadc5d6b260691bfc18d1ccf376 (diff)
downloadaports-51fd0cb9c1c5a3823fe7a1100fe221c731199a5c.zip
community/xbindkeys: use default features
Patch dependency version to allow building with upstream's default feature set.
-rw-r--r--community/xbindkeys/10-guile3_0.patch11
-rw-r--r--community/xbindkeys/APKBUILD10
2 files changed, 17 insertions, 4 deletions
diff --git a/community/xbindkeys/10-guile3_0.patch b/community/xbindkeys/10-guile3_0.patch
new file mode 100644
index 00000000000..56b015538da
--- /dev/null
+++ b/community/xbindkeys/10-guile3_0.patch
@@ -0,0 +1,11 @@
+--- original/configure
++++ new/configure
+@@ -5395,7 +5395,7 @@
+ PKG_CONFIG=""
+ fi
+ fi
+- _guile_versions_to_search="2.2 2.0 1.8"
++ _guile_versions_to_search="3.0 2.2 2.0 1.8"
+ if test -n "$GUILE_EFFECTIVE_VERSION"; then
+ _guile_tmp=""
+ for v in $_guile_versions_to_search; do
diff --git a/community/xbindkeys/APKBUILD b/community/xbindkeys/APKBUILD
index c85e28a21c4..555656b770e 100644
--- a/community/xbindkeys/APKBUILD
+++ b/community/xbindkeys/APKBUILD
@@ -3,18 +3,19 @@
# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
pkgname=xbindkeys
pkgver=1.8.7
-pkgrel=2
+pkgrel=3
pkgdesc="Program for launching shell commands via keyboard shortcuts in X"
url="https://nongnu.org/xbindkeys/"
arch="all"
license="GPL-2.0"
-makedepends="libx11-dev"
+depends="guile"
+makedepends="guile-dev libx11-dev"
subpackages="$pkgname-doc"
-source="https://nongnu.org/$pkgname/$pkgname-$pkgver.tar.gz"
+source="https://nongnu.org/$pkgname/$pkgname-$pkgver.tar.gz
+ 10-guile3_0.patch"
build() {
./configure --prefix=/usr \
- --disable-guile \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make
@@ -26,4 +27,5 @@ package() {
sha512sums="
a6b1478e8ef4bedc686fdd15abc11a8a592ac17c69e1a5a13f60e735e9be9646faed62e980cdac4aa7bc7e3253237465de38dee98935dd3f9911d4e48209b2e9 xbindkeys-1.8.7.tar.gz
+f44453a6cbbc53df9bd743697ffd2452a983c422cebcb5a077de4ac08b60252cee291a5d931619692082a3eb7b7e98d302cd71a62757c9f2cb713c0b2e2f09c3 10-guile3_0.patch
"