diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-19 10:07:59 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-19 10:07:59 +0700 |
commit | 6f453de13cc965f5e9f1002de258f723282d294e (patch) | |
tree | b48fb3856f4aaa931333284aec1fdddc4d9a3b82 /libraries/gtksourceview4 | |
parent | e4e5cfabb114659784e93e998de0fc3940f52386 (diff) |
libraries/gtksourceview4: Updated for version 4.8.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/gtksourceview4')
-rw-r--r-- | libraries/gtksourceview4/gtksourceview4.SlackBuild | 41 | ||||
-rw-r--r-- | libraries/gtksourceview4/gtksourceview4.info | 6 |
2 files changed, 23 insertions, 24 deletions
diff --git a/libraries/gtksourceview4/gtksourceview4.SlackBuild b/libraries/gtksourceview4/gtksourceview4.SlackBuild index e7ce6ca1fb9e..2d709702ffb6 100644 --- a/libraries/gtksourceview4/gtksourceview4.SlackBuild +++ b/libraries/gtksourceview4/gtksourceview4.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -# Slackware build script for gtksourceview +# Slackware build script for gtksourceview4 -# Copyright 2012-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2012-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -26,7 +26,7 @@ PRGNAM=gtksourceview4 SRCNAM=gtksourceview -VERSION=${VERSION:-4.0.3} +VERSION=${VERSION:-4.8.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -72,29 +72,28 @@ 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 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --enable-glade-catalog \ - --build=$ARCH-slackware-linux - -# At the end of build process, the uninstalled gtksourceview.pc is -# used. Let's make sure pkg-config can find it. -PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$TMP/$PRGNAM-$VERSION make -make install-strip DESTDIR=$PKG +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc \ + -Dglade_catalog=true + ninja + DESTDIR=$PKG ninja install +cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING* HACKING NEWS README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING* HACKING NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/gtksourceview4/gtksourceview4.info b/libraries/gtksourceview4/gtksourceview4.info index 9aa87366cd86..aa14782cdb5a 100644 --- a/libraries/gtksourceview4/gtksourceview4.info +++ b/libraries/gtksourceview4/gtksourceview4.info @@ -1,8 +1,8 @@ PRGNAM="gtksourceview4" -VERSION="4.0.3" +VERSION="4.8.1" HOMEPAGE="http://projects.gnome.org/gtksourceview/" -DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/4.0/gtksourceview-4.0.3.tar.xz" -MD5SUM="91e01df36e1476083f7b8a474f7d0c34" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/4.8/gtksourceview-4.8.1.tar.xz" +MD5SUM="d10c624feb48412542f9e3447e75d6bc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |