aboutsummaryrefslogtreecommitdiff
path: root/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <orbea@riseup.net>2019-09-28 09:28:44 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-09-28 09:28:44 +0700
commita8698d4bf1e8c002a7ce6e674ef0b16a69f18cb7 (patch)
tree8c6069bc600ca242613f30837baacf2700d37882 /graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild
parent3036ef0396f7e731e1a32cf35bea623c96c0806e (diff)
graphics/wine-nine-standalone: Updated for version 0.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild')
-rw-r--r--graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild b/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild
index 4758daa1e3de5..fdd90c3d9bf52 100644
--- a/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild
+++ b/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=wine-nine-standalone
-VERSION=${VERSION:-0.4}
+VERSION=${VERSION:-0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -91,9 +91,11 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
if [ "${DEBUG:=0}" != 0 ]; then
+ NDEBUG=false
RELEASE=debug
SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0/')"
else
+ NDEBUG=true
RELEASE=plain
fi
@@ -125,7 +127,8 @@ for bin do
--libdir=lib$bin \
--bindir=bin$bin \
--cross-file=tools/cross-wine$bin \
- -Dstrip=false \
+ -Dstrip=$NDEBUG \
+ -Db_ndebug=$NDEBUG \
-Dbuildtype=$RELEASE \
build$bin
@@ -148,11 +151,6 @@ EOF
chmod 0755 $PKG/usr/bin/ninewinecfg$suffix
done
-if [ "$DEBUG" = 0 ]; 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 LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild