aboutsummaryrefslogtreecommitdiff
path: root/development/gedit/gedit.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-12-07 03:47:56 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-12-09 07:49:12 +0700
commitf1f6834e5c62ea87835e92147103defcb0861da1 (patch)
tree3a1256c780415d9e0532920bb5d4922b7c4d1eb5 /development/gedit/gedit.SlackBuild
parent80098bf329b78c2d3040cadd66cb619a6581c76e (diff)
development/gedit: Fix -current build (no harm on 15.0).
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/gedit/gedit.SlackBuild')
-rw-r--r--development/gedit/gedit.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/development/gedit/gedit.SlackBuild b/development/gedit/gedit.SlackBuild
index 4c5d183363b8..44f2c358eb95 100644
--- a/development/gedit/gedit.SlackBuild
+++ b/development/gedit/gedit.SlackBuild
@@ -27,6 +27,11 @@
# Special thanks to Brandon Pribula, who kindly handed over maintenance to me.
+# 20231207 bkw: modified by SlackBuilds.org: remove gspell
+# autodetection (redundant; gspell is a required dep, plus it was
+# breaking the build on -current). Thanks to UrbanMusic on Libera IRC
+# for pointing this out.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gedit
@@ -89,14 +94,6 @@ sed -i "s/meson_version: '>= 0.64'/meson_version: '>= 0.59'/;
s/'gio-2.0', version: '>= 2.74'/'gio-2.0', version: '>= 2.70'/" meson.build
-# gspell is an optional (autodetected) dependency. Give the user the possibility of
-# disabling it if preinstalled.
-spell='disabled'
-if [ -f /usr/lib${LIBDIRSUFFIX}/libgspell-1.so ] && [ "${WITH_GSPELL:-yes}" != "no" ]; then
- spell='enabled'
-fi;
-
-
cd build
CFLAGS="$SLKCFLAGS -DG_CONNECT_DEFAULT=0" \
CXXFLAGS="$SLKCFLAGS" \
@@ -108,7 +105,6 @@ cd build
--mandir=/usr/man \
--prefix=/usr \
--sysconfdir=/etc \
- -Dspell=$spell \
-Dgtk_doc=false \
-Dstrip=true
"${NINJA:=ninja}"