dmenu: update to 5.0.
This commit is contained in:
parent
f67e8846d7
commit
e5bdd2b120
2 changed files with 5 additions and 9 deletions
|
@ -1,8 +1,4 @@
|
|||
dmenu.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
|
||||
1 file changed, 85 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/dmenu.c b/dmenu.c
|
||||
index 6b8f51b..4221233 100644
|
||||
--- a/dmenu.c
|
||||
+++ b/dmenu.c
|
||||
@@ -32,6 +32,7 @@ struct item {
|
||||
|
@ -127,7 +123,7 @@ index 6b8f51b..4221233 100644
|
|||
break;
|
||||
}
|
||||
|
||||
@@ -648,7 +729,7 @@ setup(void)
|
||||
@@ -653,7 +734,7 @@ setup(void)
|
||||
}
|
||||
promptw = (prompt && *prompt) ? TEXTW(prompt) - lrpad / 4 : 0;
|
||||
inputw = MIN(inputw, mw/3);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'dmenu'
|
||||
pkgname=dmenu
|
||||
version=4.9
|
||||
version=5.0
|
||||
revision=1
|
||||
makedepends="libXinerama-devel libXft-devel freetype-devel"
|
||||
short_desc="Generic menu for X"
|
||||
|
@ -8,15 +8,15 @@ maintainer="Lugubris <lugubris@disroot.org>"
|
|||
license="MIT"
|
||||
homepage="https://tools.suckless.org/dmenu/"
|
||||
distfiles="https://dl.suckless.org/tools/${pkgname}-${version}.tar.gz"
|
||||
checksum=b3971f4f354476a37b2afb498693649009b201550b0c7c88e866af8132b64945
|
||||
checksum=fe18e142c4dbcf71ba5757dbbdea93b1c67d58fc206fc116664f4336deef6ed3
|
||||
|
||||
build_options="fuzzymatch"
|
||||
desc_option_fuzzymatch="Enable Fuzzymatch support"
|
||||
|
||||
post_extract() {
|
||||
post_patch() {
|
||||
if [ "$build_option_fuzzymatch" ]; then
|
||||
msg_normal "Applying fuzzymatch patches"
|
||||
patch -p1 < "${FILESDIR}/fuzzymatch.patch"
|
||||
patch -slNp1 < "${FILESDIR}/fuzzymatch.patch"
|
||||
fi
|
||||
sed -i -e '/CFLAGS/{s/-Os//;s/=/+=/}' \
|
||||
-e '/LDFLAGS/{s/-s//;s/=/+=/}' config.mk
|
||||
|
|
Loading…
Reference in a new issue