extra/gnome-software to 41.3-1

This commit is contained in:
Kevin Mihelich 2022-01-07 19:14:10 +00:00
parent 5f04b567fe
commit ec27d0c5ec

View file

@ -8,7 +8,7 @@
pkgbase=gnome-software
pkgname=(gnome-software gnome-software-packagekit-plugin)
pkgver=41.2
pkgver=41.3
pkgrel=1
pkgdesc="GNOME Software Tools"
url="https://wiki.gnome.org/Apps/Software/"
@ -16,14 +16,14 @@ arch=(x86_64)
license=(GPL2)
makedepends=(appstream gsettings-desktop-schemas libpackagekit-glib flatpak
docbook-xsl git gobject-introspection gspell gtk-doc meson
gnome-online-accounts libxmlb malcontent libhandy)
_commit=a0bcbe2dfabb93ae0695822ff08affd59bcc4e82 # tags/41.2^0
gnome-online-accounts libxmlb malcontent libhandy libsysprof-capture)
_commit=29e9e9eefde7197bcc7e5bff67291591eeb212ba # tags/41.3^0
source=("git+https://gitlab.gnome.org/GNOME/gnome-software.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgbase
git describe --tags | sed 's/^GNOME_SOFTWARE_//;s/_/./g;s/-/+/g'
git describe --tags | sed 's/^GNOME_SOFTWARE_//;s/_/./g;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
@ -34,7 +34,7 @@ build() {
# Ensure static library is non-LTO compatible
CFLAGS+=" -ffat-lto-objects"
arch-meson $pkgbase build -D sysprof=disabled -D fwupd=false -D valgrind=false
arch-meson $pkgbase build -D fwupd=false -D valgrind=false
meson compile -C build
}
@ -63,7 +63,6 @@ package_gnome-software() {
meson install -C build --destdir "$pkgdir"
### Split gnome-software-packagekit-plugin
local pkglibdir="$pkgdir/usr/lib/gnome-software"
_pick packagekit-plugin "$pkglibdir"/plugins-*/libgs_plugin_packagekit*.so
_pick packagekit-plugin "$pkglibdir"/plugins-*/libgs_plugin_systemd-updates.so