summaryrefslogtreecommitdiffstats
path: root/system/fwupd/fwupd.SlackBuild
diff options
context:
space:
mode:
author Andrew Clemons2021-07-05 11:25:15 +0200
committer Willy Sudiarto Raharjo2021-07-06 02:37:30 +0200
commitbbaa9a9c6dce1887d5afa54421f69390d4317839 (patch)
tree598d4bb2659a793c22511b7d64b3c2da981926f5 /system/fwupd/fwupd.SlackBuild
parente4600689a59b18cf65c9040075cb978142ffd954 (diff)
downloadslackbuilds-bbaa9a9c6dce1887d5afa54421f69390d4317839.tar.gz
system/fwupd: Updated for version 1.3.12.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/fwupd/fwupd.SlackBuild')
-rw-r--r--system/fwupd/fwupd.SlackBuild25
1 files changed, 8 insertions, 17 deletions
diff --git a/system/fwupd/fwupd.SlackBuild b/system/fwupd/fwupd.SlackBuild
index 323f9ff0c4..cc3383c16c 100644
--- a/system/fwupd/fwupd.SlackBuild
+++ b/system/fwupd/fwupd.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for fwupd
-# Copyright 2017-2020 Andrew Clemons, Wellington New Zealand
+# Copyright 2017-2021 Andrew Clemons, Wellington New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=fwupd
-VERSION=${VERSION:-1.2.13}
+VERSION=${VERSION:-1.3.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,10 +70,8 @@ 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 {} \;
-ENABLE_UEFI=${ENABLE_UEFI:-false}
-
-# altos is disabled because meson seems unable to find libelf on slack.
-# dell is disabled because libsmbios is too old
+# uefi requires tss2-esys which is not on slackbuilds.org
+# dell is disabled because it requires uefi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -84,9 +82,9 @@ meson --prefix=/usr \
--buildtype=release \
--mandir=/usr/man \
-Dsystemd=false \
- -Dplugin_altos=false \
-Dplugin_dell=false \
- -Dplugin_uefi="$ENABLE_UEFI" \
+ -Dplugin_tpm=false \
+ -Dplugin_uefi=false \
build
ninja -C build
@@ -112,10 +110,8 @@ mv $PKG/etc/fwupd/remotes.d/vendor-directory.conf $PKG/etc/fwupd/remotes.d/vendo
mv $PKG/etc/fwupd/remotes.d/fwupd-tests.conf $PKG/etc/fwupd/remotes.d/fwupd-tests.conf.new
mv $PKG/etc/fwupd/daemon.conf $PKG/etc/fwupd/daemon.conf.new
mv $PKG/etc/fwupd/redfish.conf $PKG/etc/fwupd/redfish.conf.new
-
-if [ -e $PKG/etc/fwupd/uefi.conf ] ; then
- mv $PKG/etc/fwupd/uefi.conf $PKG/etc/fwupd/uefi.conf.new
-fi
+mv $PKG/etc/fwupd/thunderbolt.conf $PKG/etc/fwupd/thunderbolt.conf.new
+mv $PKG/etc/fwupd/upower.conf $PKG/etc/fwupd/upower.conf.new
rm -rf $PKG/usr/share/installed-tests
@@ -132,10 +128,5 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
-if [ -e $PKG/etc/fwupd/uefi.conf.new ] ; then
- echo "" >> $PKG/install/doinst.sh
- echo "config etc/fwupd/uefi.conf.new" >> $PKG/install/doinst.sh
-fi
-
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}