mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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>
This commit is contained in:
parent
80098bf329
commit
f1f6834e5c
1 changed files with 5 additions and 9 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue