libgudev: adopted port

This commit is contained in:
Tim Biermann 2023-08-27 17:38:37 +02:00
parent 4dd3c9fd75
commit 60a61936ff
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 11 additions and 8 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/fkZF1//gkOF4P5RhvbfgGG51Mjx2cqvhRZ9+wlSsM/1k5E/WbN3DtrqZ4X8oNUF0AUYkgaTeTL5j4pfebSa4Q8=
SHA256 (Pkgfile) = 9f1f9a98fda3378f2b82f21a478236739e4ac016e56244cde2d91a89c756e833
RWSE3ohX2g5d/aqzTodm3usO6qaap83tAdyuqrRQkeS4luJwFH5kIJoW9apdUxI/wXCzrwvVVYTW5ahKn9qIGNEKSzm1HUxeygQ=
SHA256 (Pkgfile) = a04d4f61dd5d85966425c704ad6c103e9a3f1799913ea653173111bde370ff52
SHA256 (.footprint) = 28e3c2a81a37853bbfcb5ca25248f1a947b7760efdda18b395b7bbcbb034784c
SHA256 (libgudev-237.tar.xz) = 0d06b21170d20c93e4f0534dbb9b0a8b4f1119ffb00b4031aaeb5b9148b686aa

View File

@ -1,6 +1,6 @@
# Description: GObject bindings for libudev
# URL: https://wiki.gnome.org/Projects/libgudev
# Maintainer: Danny Rawlins, crux at romster dot me
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: gobject-introspection
name=libgudev
@ -9,10 +9,13 @@ release=1
source=(https://download.gnome.org/sources/$name/$version/$name-$version.tar.xz)
build() {
meson build $name-$version \
--prefix=/usr \
--buildtype=plain
meson setup $name-$version build \
--prefix=/usr \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true
ninja -C build -j ${JOBS:-1}
DESTDIR=$PKG ninja -C build install
meson compile -C build
DESTDIR=$PKG meson install -C build
}