diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2023-11-04 12:12:47 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-11-04 16:41:31 +0700 |
commit | f0ed0c000cedb94a2ac1654206ca639b9b6f0daa (patch) | |
tree | a8776d1aa6450052f852196e01282fca04b19ef9 | |
parent | bbd5948b2f626f1eeb279d1eae3dce8a15b80511 (diff) |
system/fwupd: Updated for version 1.9.7.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | system/fwupd/fwupd.SlackBuild | 21 | ||||
-rw-r--r-- | system/fwupd/fwupd.info | 6 |
2 files changed, 17 insertions, 10 deletions
diff --git a/system/fwupd/fwupd.SlackBuild b/system/fwupd/fwupd.SlackBuild index 225c5b9d12a7..06dd8ed9f68b 100644 --- a/system/fwupd/fwupd.SlackBuild +++ b/system/fwupd/fwupd.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=fwupd -VERSION=${VERSION:-1.9.6} +VERSION=${VERSION:-1.9.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -111,6 +111,10 @@ meson --prefix=/usr \ "${NINJA:=ninja}" -C build DESTDIR=$PKG $NINJA -C build install +# fix permissions on rules.d +chown polkitd:root $PKG/usr/share/polkit-1/rules.d +chmod 0700 $PKG/usr/share/polkit-1/rules.d + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -118,7 +122,7 @@ 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/usr/bin/{,fwupd-}dbxtool -mv $PKG/usr/bin/{,fwupd-}gcab +mv $PKG/usr/man/man1/{,fwupd-}dbxtool.1.gz mv $PKG/etc/fwupd/fwupd.conf $PKG/etc/fwupd/fwupd.conf.new mv $PKG/etc/fwupd/remotes.d/fwupd-tests.conf $PKG/etc/fwupd/remotes.d/fwupd-tests.conf.new @@ -133,16 +137,19 @@ rm -rf $PKG/usr/share/installed-tests mkdir -p $PKG/usr/share/dbus-1/system-services sed 's|@libexecdir@|/usr/libexec|' data/org.freedesktop.fwupd.service.in > $PKG/usr/share/dbus-1/system-services/org.freedesktop.fwupd.service -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc + +# move meson installed docs +mv $PKG/usr/share/doc/fwupd $PKG/usr/doc/$PRGNAM-$VERSION +(cd $PKG/usr/doc/$PRGNAM-$VERSION && unlink libfwupd && unlink libfwupdplugin) +mv $PKG/usr/share/doc/* $PKG/usr/doc/$PRGNAM-$VERSION/ +rm -rf $PKG/usr/share/doc + cp -a \ CODE_OF_CONDUCT.md COMMITMENT CONTRIBUTING.md COPYING MAINTAINERS README.md RELEASE SECURITY.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -# move meson installed docs -mv $PKG/usr/share/doc/fwupd/* $PKG/usr/doc/$PRGNAM-$VERSION/ -rm -rf $PKG/usr/share/doc - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/system/fwupd/fwupd.info b/system/fwupd/fwupd.info index 597266477133..0aa8a90f7c73 100644 --- a/system/fwupd/fwupd.info +++ b/system/fwupd/fwupd.info @@ -1,8 +1,8 @@ PRGNAM="fwupd" -VERSION="1.9.6" +VERSION="1.9.7" HOMEPAGE="https://www.fwupd.org" -DOWNLOAD="https://github.com/fwupd/fwupd/archive/1.9.6/fwupd-1.9.6.tar.gz" -MD5SUM="24a906a744462927881572e3ed46b410" +DOWNLOAD="https://github.com/fwupd/fwupd/archive/1.9.7/fwupd-1.9.7.tar.gz" +MD5SUM="7a576b9d30147f96e89b1d0ab92b5301" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gcab libjcat libxmlb libgusb libsmbios pefile protobuf-c python-toml python3-meson-opt python3-typogrify" |