diff options
Diffstat (limited to 'libraries/libadwaita')
-rw-r--r-- | libraries/libadwaita/libadwaita.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libraries/libadwaita/libadwaita.SlackBuild b/libraries/libadwaita/libadwaita.SlackBuild index 3356b40f38..3fe2d20c7b 100644 --- a/libraries/libadwaita/libadwaita.SlackBuild +++ b/libraries/libadwaita/libadwaita.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libadwaita VERSION=${VERSION:-1.0.5} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -91,7 +91,6 @@ meson \ --mandir=/usr/man \ --prefix=/usr \ --sysconfdir=/etc \ - -Dstrip=true \ -Dgtk_doc=${GTK_DOC:-false} \ build/ @@ -100,8 +99,11 @@ DESTDIR=$PKG $NINJA -C build/ install rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la -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 +# strip, unless debug build requested +if [[ "$BUILDTYPE" != *"debug"* ]]; then + 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 +fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ |