summaryrefslogtreecommitdiff
path: root/source/l/gtksourceview3
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-11-27 20:40:32 +0000
committerEric Hameleers <alien@slackware.com>2020-11-28 08:59:50 +0100
commitf7c461c24b8544648a3ed3f6a9d92ef51e50af43 (patch)
tree0bf9d98cfeade9719877f6bf54c3229691bc5338 /source/l/gtksourceview3
parentdbf5c1c4390d04802e7b37be3d2012bb8eae6675 (diff)
downloadcurrent-f7c461c24b8544648a3ed3f6a9d92ef51e50af43.tar.gz
Fri Nov 27 20:40:32 UTC 202020201127204032
a/dialog-1.3_20201126-x86_64-1.txz: Upgraded. l/adwaita-icon-theme-3.38.0-noarch-1.txz: Upgraded. l/gsettings-desktop-schemas-3.38.0-x86_64-1.txz: Upgraded. l/gtk+3-3.24.23-x86_64-2.txz: Rebuilt. Applied upstream patch to fix middle click pasting between GTK+ and KDE apps on Wayland. Thanks to Heinz Wiesinger. l/gtksourceview3-3.24.11-x86_64-2.txz: Rebuilt. Get rid of stray .la file. l/libwmf-0.2.12-x86_64-1.txz: Upgraded. l/utf8proc-2.6.0-x86_64-1.txz: Upgraded. n/fetchmail-6.4.14-x86_64-1.txz: Upgraded. n/php-7.4.13-x86_64-1.txz: Upgraded. x/libinput-1.16.4-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/l/gtksourceview3')
-rwxr-xr-xsource/l/gtksourceview3/gtksourceview3.SlackBuild13
-rw-r--r--source/l/gtksourceview3/gtksourceview3.url1
2 files changed, 6 insertions, 8 deletions
diff --git a/source/l/gtksourceview3/gtksourceview3.SlackBuild b/source/l/gtksourceview3/gtksourceview3.SlackBuild
index 77ad0fff..0e631657 100755
--- a/source/l/gtksourceview3/gtksourceview3.SlackBuild
+++ b/source/l/gtksourceview3/gtksourceview3.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=gtksourceview3
SRCNAM=gtksourceview
VERSION=${VERSION:-$(echo $SRCNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -95,16 +95,15 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --docdir=/usr/doc/$PKGNAM-$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 $NUMJOBS || \
-PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$TMP/$PRGNAM-$VERSION make || exit 1
+make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
diff --git a/source/l/gtksourceview3/gtksourceview3.url b/source/l/gtksourceview3/gtksourceview3.url
deleted file mode 100644
index ba7dc6cb..00000000
--- a/source/l/gtksourceview3/gtksourceview3.url
+++ /dev/null
@@ -1 +0,0 @@
-https://ftp.gnome.org/pub/GNOME/sources/gtksourceview/3.24/gtksourceview-3.24.11.tar.xz