upg libgudev upower

This commit is contained in:
joborun linux 2023-10-05 20:10:11 +03:00
parent e2b7a85d56
commit cd2459af3e
6 changed files with 11 additions and 70 deletions

View File

@ -1 +0,0 @@
238 version requires libudev.so ver>= 251 and our libeudev provides 243 so it is built with libudev from jobcomm based on systemd udev and not the eudev project

View File

@ -40,6 +40,7 @@ build() {
meson compile -C build
}
# One test fails
#check() {
# meson test -C build --print-errorlogs
#}
@ -59,5 +60,5 @@ license=(LGPL2.1)
sha256sums=(SKIP)
## 8d997877062130d4ca41029f3fcb24e4cf8819bb7651c9ebdd251679e54474d8 libgudev-238-01-x86_64.pkg.tar.lz
## 5ea24f45d14485b9cbe4aa6bc683059fe2e8b69a9355b47b38eb8a99da7c4e18 libgudev-238-01-x86_64.pkg.tar.lz

View File

@ -7,3 +7,6 @@ libgit2
git
cmake
libjpeg-turbo
graphite

View File

@ -60,4 +60,4 @@ license=(GPL)
sha256sums=(SKIP)
##
## f9ce530ba65dfbe6c8df7fc00636a1b0e7783c1f51dd6487e6c4882f896f178f upower-1.90.2-01-x86_64.pkg.tar.lz

View File

@ -2,7 +2,7 @@
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=upower
pkgver=1.90.1
pkgver=1.90.2
pkgrel=1
pkgdesc="Abstraction for enumerating power devices, listening to device events and querying history and statistics"
url="https://upower.freedesktop.org"
@ -30,7 +30,7 @@ checkdepends=(
umockdev
)
backup=(etc/UPower/UPower.conf)
_commit=96c34a3bb9167a204afc7b9d00086325169a7586 # tags/v1.90.1^0
_commit=8dcf54440d7eb58b75d7982bc1c29ee35dccf0c2 # tags/v1.90.2^0
source=("git+https://gitlab.freedesktop.org/upower/upower.git#commit=$_commit")
b2sums=('SKIP')
@ -57,6 +57,9 @@ package() {
provides+=(libupower-glib.so)
meson install -C build --destdir "$pkgdir"
# Remove installed-tests
rm -rv "$pkgdir"/usr/{lib/upower,share/installed-tests}
}
# vim:set sw=2 sts=-1 et:

View File

@ -1,65 +0,0 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=upower
pkgver=1.90.2
pkgrel=1
pkgdesc="Abstraction for enumerating power devices, listening to device events and querying history and statistics"
url="https://upower.freedesktop.org"
arch=(x86_64)
license=(GPL)
depends=(
libgudev
libimobiledevice
systemd
usbmuxd
)
makedepends=(
docbook-xsl
git
gobject-introspection
gtk-doc
meson
python
)
checkdepends=(
python-dbus
python-dbusmock
python-gobject
python-packaging
umockdev
)
backup=(etc/UPower/UPower.conf)
_commit=8dcf54440d7eb58b75d7982bc1c29ee35dccf0c2 # tags/v1.90.2^0
source=("git+https://gitlab.freedesktop.org/upower/upower.git#commit=$_commit")
b2sums=('SKIP')
pkgver() {
cd upower
git describe --tags | sed -e 's/^v\|^UPOWER_//;s/_/\./g;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd upower
}
build() {
arch-meson upower build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
depends+=(libg{lib,object,io}-2.0.so)
provides+=(libupower-glib.so)
meson install -C build --destdir "$pkgdir"
# Remove installed-tests
rm -rv "$pkgdir"/usr/{lib/upower,share/installed-tests}
}
# vim:set sw=2 sts=-1 et: