From 7dcd54d9df53ed900793c4166057ddb0be5eb047 Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Sun, 5 Nov 2023 16:03:49 -0800 Subject: user/upower: upgrade to 1.90.2 --- user/upower/APKBUILD | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/user/upower/APKBUILD b/user/upower/APKBUILD index d74044821..0448c9516 100644 --- a/user/upower/APKBUILD +++ b/user/upower/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: A. Wilcox pkgname=upower -pkgver=0.99.11 +pkgver=1.90.2 pkgrel=0 pkgdesc="Power Management Services" url="https://upower.freedesktop.org" @@ -9,29 +9,30 @@ options="!check" # Requires running dbus. license="GPL-2.0+" depends="" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" -makedepends="dbus-glib-dev docbook-xsl gobject-introspection-dev gtk+2.0-dev - libgudev-dev libusb-dev libxslt linux-headers polkit-dev" -source="https://gitlab.freedesktop.org/upower/upower/uploads/93cfe7c8d66ed486001c4f3f55399b7a/upower-0.99.11.tar.xz" +makedepends="dbus-glib-dev docbook-xsl elogind-dev gobject-introspection-dev gtk+2.0-dev + gtk-doc libgudev-dev libusb-dev libxslt linux-headers meson ninja polkit-dev" +source="https://gitlab.freedesktop.org/upower/upower/-/archive/v$pkgver/upower-v$pkgver.tar.bz2" +builddir="$srcdir"/$pkgname-v$pkgver build() { - DATADIRNAME=share ./configure \ - --build=$CBUILD \ - --host=$CHOST \ + meson setup \ --prefix=/usr \ --sysconfdir=/etc \ + --mandir=/usr/share/man \ --localstatedir=/var \ --libexecdir=/usr/lib/upower \ - --disable-static \ - --with-udevrulesdir=/lib/udev/rules.d - make + --buildtype=release \ + -Dsystemdsystemunitdir=no \ + . output + meson compile -C output } check() { - make check + meson test -C output } package() { - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" meson install -C output } -sha512sums="67219a0beb98c97ac4512e4fe8ba83fc80a1035d1edb5367dda6911da50c672b047051f2f528e8703be29ab47547d92b6c71a7ef695226a1bdb5bc33e6d18803 upower-0.99.11.tar.xz" +sha512sums="9cdaea76d604e79bb385c2d7d8df26ab74d8fbbd5ddd271d7dc3323ae4f98ce9504ce807638e008869fdec0e1fcaf8d4be53e486714913616b8df73d8e4ac396 upower-v1.90.2.tar.bz2" -- cgit v1.2.3-70-g09d2