summaryrefslogtreecommitdiffstats
path: root/desktop/weston/weston.SlackBuild
diff options
context:
space:
mode:
author Logan Rathbone <poprocks@gmail.com>2022-03-29 00:14:22 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-02 18:18:54 +0700
commit4425b2b05329ef294f85925215ae321134c2b280 (patch)
tree07b106ca744b10bd842bc3091244ad70045b7056 /desktop/weston/weston.SlackBuild
parentf862997883f18b2129989c675eecb655b0983345 (diff)
downloadslackbuilds-4425b2b05329ef294f85925215ae321134c2b280.tar.gz
slackbuilds-4425b2b05329ef294f85925215ae321134c2b280.tar.xz
desktop/weston: Updated for version 10.0.0.
- Merge README.SBo with README, as there is less manual intervention required with 15.0 than with earlier renditions of current. - Add patch for elogind support (will submit upstream). Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/weston/weston.SlackBuild')
-rw-r--r--desktop/weston/weston.SlackBuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/desktop/weston/weston.SlackBuild b/desktop/weston/weston.SlackBuild
index d1382dd8e5..1df0cf009e 100644
--- a/desktop/weston/weston.SlackBuild
+++ b/desktop/weston/weston.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Weston
-# Copyright 2019-2021 Logan Rathbone <poprocks@gmail.com>
+# Copyright 2019-2022 Logan Rathbone <poprocks@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=weston
-VERSION=${VERSION:-9.0.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-10.0.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -73,6 +73,9 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+# Patches
+patch -p1 < $CWD/weston-10.0.0-elogind.patch
+
# Make sure ownerships and permissions are sane:
chown -R root:root .
find -L . \
@@ -91,13 +94,8 @@ cd build
--prefix=/usr \
--mandir=man \
--libdir=lib${LIBDIRSUFFIX} \
- -Dlauncher-logind=false \
- -Dbackend-rdp=false \
-Dsystemd=false \
- -Dpipewire=false \
- -Dsimple-dmabuf-drm=auto \
-Dcolor-management-colord=${USE_COLORD:-false}
-
ninja
DESTDIR=$PKG ninja install
cd ..
@@ -180,7 +178,6 @@ EOF
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CONTRIBUTING.md COPYING DCO-1.1.txt README.md notes.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/README.SBo > $PKG/usr/doc/$PRGNAM-$VERSION/README.SBo
cat $CWD/slack-desc > $PKG/install/slack-desc