summaryrefslogtreecommitdiffstats
path: root/source/l/gtkmm3/gtkmm3.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-12-14 22:41:16 +0000
committer Eric Hameleers <alien@slackware.com>2020-12-15 08:59:50 +0100
commit0dc2fd5cf511a8234b81a1df1444fb2a0a131eaa (patch)
tree9578451e29b487ec00cdd9679e0e6d8aaf2b5d39 /source/l/gtkmm3/gtkmm3.SlackBuild
parent8e832fbd4b7a5247cf7a23368e2ea308ea4dc739 (diff)
downloadcurrent-0dc2fd5cf511a8234b81a1df1444fb2a0a131eaa.tar.gz
current-0dc2fd5cf511a8234b81a1df1444fb2a0a131eaa.tar.xz
Mon Dec 14 22:41:16 UTC 202020201214224116
ap/pamixer-1.4-x86_64-7.txz: Rebuilt. Recompiled against boost-1.75.0. ap/rpm-4.16.1-x86_64-1.txz: Upgraded. d/strace-5.10-x86_64-1.txz: Upgraded. kde/kig-20.12.0-x86_64-2.txz: Rebuilt. Recompiled against boost-1.75.0. kde/krita-4.4.1-x86_64-2.txz: Rebuilt. Recompiled against boost-1.75.0. l/atkmm-2.28.1-x86_64-1.txz: Upgraded. l/boost-1.75.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. l/cryfs-0.10.2-x86_64-2.txz: Rebuilt. Recompiled against boost-1.75.0. l/fftw-3.3.9-x86_64-1.txz: Upgraded. l/glade3-3.8.6-x86_64-2.txz: Removed. l/gtkmm3-3.24.3-x86_64-1.txz: Upgraded. l/libcap-2.46-x86_64-1.txz: Upgraded. l/mozjs78-78.6.0esr-x86_64-1.txz: Upgraded. l/openexr-2.5.3-x86_64-2.txz: Rebuilt. Recompiled against boost-1.75.0. l/pangomm-2.42.2-x86_64-1.txz: Upgraded. l/rttr-0.9.6-x86_64-2.txz: Rebuilt. Get rid of /usr/doc/index.html (and excessive docs). n/s-nail-14.9.20-x86_64-1.txz: Upgraded. xap/mozilla-firefox-78.6.0esr-x86_64-1.txz: Upgraded. This is a bugfix release. For more information, see: https://www.mozilla.org/en-US/firefox/78.6.0/releasenotes/ xap/xpaint-3.0.3-x86_64-1.txz: Upgraded. xfce/libxfce4ui-4.14.1-x86_64-2.txz: Rebuilt. Recompiled against glade-3.38.2.
Diffstat (limited to 'source/l/gtkmm3/gtkmm3.SlackBuild')
-rwxr-xr-xsource/l/gtkmm3/gtkmm3.SlackBuild36
1 files changed, 20 insertions, 16 deletions
diff --git a/source/l/gtkmm3/gtkmm3.SlackBuild b/source/l/gtkmm3/gtkmm3.SlackBuild
index d6d67b306..cb5d066ab 100755
--- a/source/l/gtkmm3/gtkmm3.SlackBuild
+++ b/source/l/gtkmm3/gtkmm3.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2015, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2015, 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -77,31 +77,35 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
- ./configure \
+# Configure, build, and install:
+export CFLAGS="$SLKCFLAGS"
+export CXXFLAGS="$SLKCFLAGS"
+mkdir meson-build
+cd meson-build
+meson setup \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --libdir=lib${LIBDIRSUFFIX} \
+ --libexecdir=/usr/libexec \
+ --bindir=/usr/bin \
+ --sbindir=/usr/sbin \
+ --includedir=/usr/include \
+ --datadir=/usr/share \
+ --mandir=/usr/man \
--sysconfdir=/etc \
--localstatedir=/var \
- --docdir=/usr/doc/$SRCNAM-$VERSION \
- --enable-static=no \
- --build=$ARCH-slackware-linux || exit 1
-
-make $NUMJOBS libdocdir=/usr/doc/$SRCNAM-$VERSION || make libdocdir=/usr/doc/$SRCNAM-$VERSION || exit 1
-make install libdocdir=/usr/doc/$SRCNAM-$VERSION DESTDIR=$PKG || exit 1
-
-# Don't ship .la files:
-rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+ --buildtype=release \
+ .. || exit 1
+ "${NINJA:=ninja}" $NUMJOBS || exit 1
+ DESTDIR=$PKG $NINJA install || exit 1
+cd ..
find $PKG | xargs 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/$SRCNAM-$VERSION
cp -a \
AUTHORS COPYING* NEWS PORTING README* \
$PKG/usr/doc/$SRCNAM-$VERSION
-# Remove images, API docs, and useless html file
-rm -rf $PKG/usr/doc/$SRCNAM-$VERSION/{images,reference,index.html}
# If there's a ChangeLog, installing at least part of the recent history
# is useful, but don't let it get totally out of control: