diff options
author | Juan M. Lasca <juanmlasca@gmail.com> | 2023-10-26 21:52:40 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-10-28 13:11:52 +0700 |
commit | f931441ad11a50a8b8f2654dbe39fce12c6b7f7c (patch) | |
tree | 970bb3a5e2006e711b122ce2034fd72f1bad7e98 /development/gedit/gedit.SlackBuild | |
parent | 0fc0945c4bc0772e14a6a94055ade697eb2f9d73 (diff) |
development/gedit: Updated for version 46.1.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/gedit/gedit.SlackBuild')
-rw-r--r-- | development/gedit/gedit.SlackBuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/development/gedit/gedit.SlackBuild b/development/gedit/gedit.SlackBuild index 091603808f74d..4c5d183363b88 100644 --- a/development/gedit/gedit.SlackBuild +++ b/development/gedit/gedit.SlackBuild @@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gedit -VERSION=${VERSION:-44.2} +VERSION=${VERSION:-46.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,6 +81,14 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# circunvent meson version mismtach (fs.copyfile not available) +# avoid gtk_doc, which uses fs.copyfile +# replace unnecesary version bump of gio-2.0 +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' @@ -88,11 +96,9 @@ if [ -f /usr/lib${LIBDIRSUFFIX}/libgspell-1.so ] && [ "${WITH_GSPELL:-yes}" != " spell='enabled' fi; -# Allow the user to disable user documentation inclusion -[ "${WITH_USER_DOCS:-yes}" != "no" ] && WITH_USER_DOCS="true" || WITH_USER_DOCS="false" cd build - CFLAGS="$SLKCFLAGS" \ + CFLAGS="$SLKCFLAGS -DG_CONNECT_DEFAULT=0" \ CXXFLAGS="$SLKCFLAGS" \ meson .. \ --buildtype=release \ @@ -103,7 +109,7 @@ cd build --prefix=/usr \ --sysconfdir=/etc \ -Dspell=$spell \ - -Duser_documentation=${WITH_USER_DOCS} \ + -Dgtk_doc=false \ -Dstrip=true "${NINJA:=ninja}" DESTDIR=$PKG $NINJA install |