community/xbindkeys: use default features

Patch dependency version to allow building with upstream's default feature set.
This commit is contained in:
cos 2024-09-05 10:08:01 +02:00 committed by Kevin Daudt
parent ad972b5f59
commit 78c4a9945e
2 changed files with 23 additions and 4 deletions

View File

@ -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

View File

@ -3,18 +3,25 @@
# 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"
prepare() {
default_prepare
update_config_guess
}
build() {
./configure --prefix=/usr \
--disable-guile \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make
@ -26,4 +33,5 @@ package() {
sha512sums="
a6b1478e8ef4bedc686fdd15abc11a8a592ac17c69e1a5a13f60e735e9be9646faed62e980cdac4aa7bc7e3253237465de38dee98935dd3f9911d4e48209b2e9 xbindkeys-1.8.7.tar.gz
f44453a6cbbc53df9bd743697ffd2452a983c422cebcb5a077de4ac08b60252cee291a5d931619692082a3eb7b7e98d302cd71a62757c9f2cb713c0b2e2f09c3 10-guile3_0.patch
"