aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2023-07-07 05:47:54 +0000
committerpsykose <alice@ayaya.dev>2023-07-07 07:47:54 +0200
commit5e05828ad8d20fc632f03c4804a0de759bca712e (patch)
tree2b4075b77375102a33fd05fc6f7a78da46e52a32
parenteaee8ff38f9ea42544fbff435e80f3fbb7c0e8ec (diff)
community/upower: upgrade to 1.90.2
-rw-r--r--community/upower/APKBUILD9
-rw-r--r--community/upower/reduce-gudev.patch17
2 files changed, 23 insertions, 3 deletions
diff --git a/community/upower/APKBUILD b/community/upower/APKBUILD
index 0a9b25ef7e5..523787a1f27 100644
--- a/community/upower/APKBUILD
+++ b/community/upower/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=upower
-pkgver=1.90.1
+pkgver=1.90.2
pkgrel=0
pkgdesc="Power Management Services"
url="https://upower.freedesktop.org"
@@ -25,7 +25,9 @@ checkdepends="
umockdev-dev
"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-source="https://gitlab.freedesktop.org/upower/upower/-/archive/v$pkgver/upower-v$pkgver.tar.bz2"
+source="https://gitlab.freedesktop.org/upower/upower/-/archive/v$pkgver/upower-v$pkgver.tar.bz2
+ reduce-gudev.patch
+ "
builddir="$srcdir/$pkgname-v$pkgver"
build() {
@@ -47,5 +49,6 @@ package() {
}
sha512sums="
-bc4698c032d894164e8fb9b38a5052116c14c9dd9104d27e493abb865b59343ccee2f335addabbc1e89ca698cc8126792137d3ed6e7cdd74d4787c0a53afb429 upower-v1.90.1.tar.bz2
+9cdaea76d604e79bb385c2d7d8df26ab74d8fbbd5ddd271d7dc3323ae4f98ce9504ce807638e008869fdec0e1fcaf8d4be53e486714913616b8df73d8e4ac396 upower-v1.90.2.tar.bz2
+cc638c154f7f3c5dd626dfd8f8c3578b4ba5f57b2cb3be58f2c4690a93c7b5bbdde2b92bccdcf6ad980c326e3822bb6c8541e3ab34e1e4d2d8ac889ec79ea0c1 reduce-gudev.patch
"
diff --git a/community/upower/reduce-gudev.patch b/community/upower/reduce-gudev.patch
new file mode 100644
index 00000000000..74721d51d83
--- /dev/null
+++ b/community/upower/reduce-gudev.patch
@@ -0,0 +1,17 @@
+don't have 238 yet, but this also came with no changes when bumping it.
+238 has newline stripping fixes but this probably doesn't matter since we don't
+have it anyway so it's already broken
+--
+diff --git a/meson.build b/meson.build
+index b16f36c..7d35b96 100644
+--- a/meson.build
++++ b/meson.build
+@@ -69,7 +69,7 @@ gobject_introspection = dependency('gobject-introspection-1.0', required: get_op
+
+
+ if os_backend == 'linux'
+- gudev_dep = dependency('gudev-1.0', version: '>= 238')
++ gudev_dep = dependency('gudev-1.0', version: '>= 237')
+ idevice_dep = dependency('libimobiledevice-1.0',
+ version : '>= 0.9.7',
+ required : get_option('idevice'))