aboutsummaryrefslogtreecommitdiff
path: root/system/usbredir
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2022-02-13 23:24:35 -0600
committerRobby Workman <rworkman@slackbuilds.org>2022-02-14 02:59:27 -0600
commit1d41cd397db5d87029705729de59137033ddb483 (patch)
tree966658ed250accabf67beb8f780296f184024176 /system/usbredir
parent6b0e4faecf548fc3c5a61d3f74f4d641f97a6277 (diff)
system/usbredir: Updated for version 0.12.0.
Diffstat (limited to 'system/usbredir')
-rw-r--r--system/usbredir/usbredir.SlackBuild34
-rw-r--r--system/usbredir/usbredir.info6
2 files changed, 19 insertions, 21 deletions
diff --git a/system/usbredir/usbredir.SlackBuild b/system/usbredir/usbredir.SlackBuild
index 70cbb33dbc14..34ea44f1e758 100644
--- a/system/usbredir/usbredir.SlackBuild
+++ b/system/usbredir/usbredir.SlackBuild
@@ -24,7 +24,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=usbredir
-VERSION=${VERSION:-0.9.0}
+VERSION=${VERSION:-0.12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,23 +80,21 @@ 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 {} \;
-autoreconf -fi
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib$LIBDIRSUFFIX \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-silent-rules \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc
+ ninja
+ DESTDIR=$PKG ninja install
+cd ..
rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
diff --git a/system/usbredir/usbredir.info b/system/usbredir/usbredir.info
index ffe3f92e556e..2bc05b7f7380 100644
--- a/system/usbredir/usbredir.info
+++ b/system/usbredir/usbredir.info
@@ -1,8 +1,8 @@
PRGNAM="usbredir"
-VERSION="0.9.0"
+VERSION="0.12.0"
HOMEPAGE="https://www.spice-space.org"
-DOWNLOAD="https://www.spice-space.org/download/usbredir/usbredir-0.9.0.tar.xz"
-MD5SUM="d9ed1f2ba08c483baaed035599ce4186"
+DOWNLOAD="https://www.spice-space.org/download/usbredir/usbredir-0.12.0.tar.xz"
+MD5SUM="dc7e2867a123c151573cb5f2dae4874e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""