summaryrefslogtreecommitdiffstats
path: root/system/fwupd/fwupd.SlackBuild
diff options
context:
space:
mode:
author Andrew Clemons2017-10-14 10:42:44 +0200
committer David Spencer2017-10-14 15:47:00 +0200
commitc1a1f3d6f705a10f9ccba9ba422f6afc51fa3afa (patch)
tree6b4444b72ac879b404e7ffd745864e47aca165bb /system/fwupd/fwupd.SlackBuild
parent6835bd8913b57b9bf48d0013aacdffd188443ae0 (diff)
downloadslackbuilds-c1a1f3d6f705a10f9ccba9ba422f6afc51fa3afa.tar.gz
system/fwupd: Updated for version 1.0.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/fwupd/fwupd.SlackBuild')
-rw-r--r--system/fwupd/fwupd.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/system/fwupd/fwupd.SlackBuild b/system/fwupd/fwupd.SlackBuild
index c9b8ab66ec..7513c03205 100644
--- a/system/fwupd/fwupd.SlackBuild
+++ b/system/fwupd/fwupd.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fwupd
-VERSION=${VERSION:-0.9.7}
+VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,7 +75,7 @@ ENABLE_DELL=${ENABLE_DELL:-false}
ENABLE_UEFI=${ENABLE_UEFI:-false}
ENABLE_UEFI_LABELS=${ENABLE_UEFI_LABELS:-false}
-# libelf is disable because meson seems unable to find it on slack
+# altos is disable because meson seems unable to find libelf on slack.
# tbtfwu is not packaged on slackbuilds.org
CFLAGS="$SLKCFLAGS" \
@@ -87,7 +87,7 @@ meson --prefix=/usr \
--buildtype=release \
--mandir=/usr/man \
-Denable-systemd=false \
- -Denable-libelf=false \
+ -Denable-altos=false \
-Denable-tbtfwu=false \
-Denable-colorhug=$ENABLE_COLORHUG \
-Denable-uefi=$ENABLE_UEFI \
@@ -105,21 +105,23 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-mv $PKG/etc/fwupd.conf $PKG/etc/fwupd.conf.new
+mv $PKG/etc/fwupd/daemon.conf $PKG/etc/fwupd/daemon.conf.new
mv $PKG/etc/fwupd/remotes.d/fwupd.conf $PKG/etc/fwupd/remotes.d/fwupd.conf.new
mv $PKG/etc/fwupd/remotes.d/lvfs-testing.conf $PKG/etc/fwupd/remotes.d/lvfs-testing.conf.new
mv $PKG/etc/fwupd/remotes.d/lvfs.conf $PKG/etc/fwupd/remotes.d/lvfs.conf.new
mv $PKG/etc/fwupd/remotes.d/vendor.conf $PKG/etc/fwupd/remotes.d/vendor.conf.new
mv $PKG/etc/pki/fwupd-metadata/GPG-KEY-Linux-Vendor-Firmware-Service $PKG/etc/pki/fwupd-metadata/GPG-KEY-Linux-Vendor-Firmware-Service.new
+mv $PKG/etc/pki/fwupd-metadata/LVFS-CA.pem $PKG/etc/pki/fwupd-metadata/LVFS-CA.pem.new
mv $PKG/etc/pki/fwupd/GPG-KEY-Hughski-Limited $PKG/etc/pki/fwupd/GPG-KEY-Hughski-Limited.new
mv $PKG/etc/pki/fwupd/GPG-KEY-Linux-Vendor-Firmware-Service $PKG/etc/pki/fwupd/GPG-KEY-Linux-Vendor-Firmware-Service.new
+mv $PKG/etc/pki/fwupd/LVFS-CA.pem $PKG/etc/pki/fwupd/LVFS-CA.pem.new
rm -rf $PKG/usr/share/installed-tests
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING MAINTAINERS NEWS README.md RELEASE \
+ AUTHORS CODE_OF_CONDUCT.md CONTRIBUTING.md COPYING MAINTAINERS NEWS README.md RELEASE \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild