summaryrefslogtreecommitdiffstats
path: root/desktop/weston/weston.SlackBuild
diff options
context:
space:
mode:
author Logan Rathbone <poprocks@gmail.com>2022-07-03 14:57:21 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-07-09 10:06:15 +0700
commitb3f10415d76c69f2c5711b86ac3f082764172727 (patch)
tree9dde3bb8a6a393dc639bfc4530b9694ce40c207f /desktop/weston/weston.SlackBuild
parent43e6c70e0bd60dfb4f8df7df7b718de44ffe9e7b (diff)
downloadslackbuilds-b3f10415d76c69f2c5711b86ac3f082764172727.tar.gz
slackbuilds-b3f10415d76c69f2c5711b86ac3f082764172727.tar.xz
desktop/weston: Updated for version 10.0.1.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/weston/weston.SlackBuild')
-rw-r--r--desktop/weston/weston.SlackBuild32
1 files changed, 13 insertions, 19 deletions
diff --git a/desktop/weston/weston.SlackBuild b/desktop/weston/weston.SlackBuild
index 1df0cf009e..3f5580f60b 100644
--- a/desktop/weston/weston.SlackBuild
+++ b/desktop/weston/weston.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=weston
-VERSION=${VERSION:-10.0.0}
+VERSION=${VERSION:-10.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -84,21 +81,18 @@ 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 {} \;
-# nb: pipewire is disabled for now as >= 0.3 not yet supported
-
-mkdir build
-cd build
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
- meson .. \
- --prefix=/usr \
- --mandir=man \
- --libdir=lib${LIBDIRSUFFIX} \
- -Dsystemd=false \
- -Dcolor-management-colord=${USE_COLORD:-false}
- ninja
- DESTDIR=$PKG ninja install
-cd ..
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+meson \
+ --buildtype=release \
+ --prefix=/usr \
+ --mandir=man \
+ --libdir=lib${LIBDIRSUFFIX} \
+ -Dsystemd=false \
+ -Dcolor-management-colord=${USE_COLORD:-false} \
+ build/
+"${NINJA:=ninja}" -v -C build/
+DESTDIR=$PKG $NINJA -C build/ install
# strip
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \