summaryrefslogtreecommitdiff
path: root/system/fwupd
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-07-05 21:25:15 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-06 07:37:30 +0700
commitbbaa9a9c6dce1887d5afa54421f69390d4317839 (patch)
tree598d4bb2659a793c22511b7d64b3c2da981926f5 /system/fwupd
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')
-rw-r--r--system/fwupd/README5
-rw-r--r--system/fwupd/doinst.sh2
-rw-r--r--system/fwupd/fwupd.SlackBuild25
-rw-r--r--system/fwupd/fwupd.info6
4 files changed, 13 insertions, 25 deletions
diff --git a/system/fwupd/README b/system/fwupd/README
index cdb7aaf997..b3fdb92c32 100644
--- a/system/fwupd/README
+++ b/system/fwupd/README
@@ -2,8 +2,3 @@ fwupd - A simple daemon to allow session software to update firmware
This project aims to make updating firmware on Linux automatic, safe and
reliable.
-
-Options (all default to false):
- ENABLE_UEFI: true|false
-
- https://github.com/fwupd/fwupd/blob/1.2.13/meson_options.txt
diff --git a/system/fwupd/doinst.sh b/system/fwupd/doinst.sh
index 835a554895..b76f0ec18b 100644
--- a/system/fwupd/doinst.sh
+++ b/system/fwupd/doinst.sh
@@ -22,6 +22,8 @@ config etc/fwupd/remotes.d/vendor-directory.conf.new
config etc/fwupd/remotes.d/fwupd-tests.conf.new
config etc/fwupd/daemon.conf.new
config etc/fwupd/redfish.conf.new
+config etc/fwupd/thunderbolt.conf.new
+config etc/fwupd/upower.conf.new
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
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}
diff --git a/system/fwupd/fwupd.info b/system/fwupd/fwupd.info
index fda6469670..c94b9851ba 100644
--- a/system/fwupd/fwupd.info
+++ b/system/fwupd/fwupd.info
@@ -1,8 +1,8 @@
PRGNAM="fwupd"
-VERSION="1.2.13"
+VERSION="1.3.12"
HOMEPAGE="https://www.fwupd.org"
-DOWNLOAD="https://github.com/fwupd/fwupd/archive/1.2.13/fwupd-1.2.13.tar.gz"
-MD5SUM="e205c79b43f343c56b340593f4d00c9f"
+DOWNLOAD="https://github.com/fwupd/fwupd/archive/1.3.12/fwupd-1.3.12.tar.gz"
+MD5SUM="f29c98ae0500aa47976c3fcb882d3ea8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libxmlb libgusb gcab"