upower: adopted port, fixed directories
This commit is contained in:
parent
6979bf1394
commit
a4e45f0ead
@ -3,14 +3,14 @@ drwxr-xr-x root/root etc/UPower/
|
||||
-rw-r--r-- root/root etc/UPower/UPower.conf
|
||||
drwxr-xr-x root/root lib/
|
||||
drwxr-xr-x root/root lib/udev/
|
||||
drwxr-xr-x root/root lib/udev/hwdb.d/
|
||||
-rw-r--r-- root/root lib/udev/hwdb.d/95-upower-hid.hwdb
|
||||
drwxr-xr-x root/root lib/udev/rules.d/
|
||||
-rw-r--r-- root/root lib/udev/rules.d/95-upower-hid.rules
|
||||
-rw-r--r-- root/root lib/udev/rules.d/95-upower-wup.rules
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/upower
|
||||
drwxr-xr-x root/root usr/hwdb.d/
|
||||
-rw-r--r-- root/root usr/hwdb.d/95-upower-hid.hwdb
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/libupower-glib/
|
||||
-rw-r--r-- root/root usr/include/libupower-glib/up-autocleanups.h
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/TYa04PR2i6weFRPsjl/CgozZIuvZQCeZMdutM0QqgUnWmOeWge99+MVRJU6bXXI9ol1axfHIwuuqOZw4HjSMQM=
|
||||
SHA256 (Pkgfile) = 01d35bef5c8d1665fe27af42526c9b95367e798351b53f01e40b7bd658bd8db4
|
||||
SHA256 (.footprint) = e2f1aaa1accc83b13eff01b862f9278fecbf5080faaa13077949cfd5d5b75f6e
|
||||
RWSE3ohX2g5d/RAzld/rRbSq3HynvujnZ/CkCHkbspuqR0rYlPClZgDwzSLmk2pR/huH8lGwQiqXc5DUL0UX/ezTzh+1tD4WJAU=
|
||||
SHA256 (Pkgfile) = 39d743dd98c5ce29a7a4e1700157eb1d79b0eb754357750b9c601ca18bc0f87c
|
||||
SHA256 (.footprint) = d93443ee0061d12ebac1848f9200b913d872985b5d2673bb2cd6e3e5a10530dd
|
||||
SHA256 (upower-v1.90.2.tar.bz2) = 6cc46c9c753f614b970738e02ba7e37d86ebbedd81e9742dd22caafbd743894d
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Description: Abstraction for enumerating power devices, listening to device events and querying history and statistics.
|
||||
# URL: https://upower.freedesktop.org/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: dbus-glib intltool libgudev libusb
|
||||
# Optional: gobject-introspection gtk-doc libxslt
|
||||
|
||||
@ -10,21 +10,23 @@ release=1
|
||||
source=(https://gitlab.freedesktop.org/upower/upower/-/archive/v$version/upower-v$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
prt-get isinst libxslt || PKGMK_UPOWER+=' -D man=false'
|
||||
prt-get isinst libxslt || PKGMK_UPOWER+=' -D man=false'
|
||||
|
||||
meson setup build $name-v$version $PKGMK_UPOWER \
|
||||
--prefix=/usr \
|
||||
--libexecdir=lib/upower \
|
||||
--buildtype=plain \
|
||||
--wrap-mode nodownload \
|
||||
-D b_lto=false \
|
||||
-D b_pie=true \
|
||||
-D os_backend=dummy \
|
||||
-D udevrulesdir=/lib/udev/rules.d \
|
||||
-D systemdsystemunitdir=no \
|
||||
-D gtk-doc=false
|
||||
meson compile -C build -j ${JOBS:-1}
|
||||
DESTDIR=$PKG meson install -C build
|
||||
meson setup build $name-v$version $PKGMK_UPOWER \
|
||||
--prefix=/usr \
|
||||
--libexecdir=lib/upower \
|
||||
--buildtype=plain \
|
||||
--wrap-mode nodownload \
|
||||
-D b_lto=false \
|
||||
-D b_pie=true \
|
||||
-D os_backend=dummy \
|
||||
-D udevrulesdir=/lib/udev/rules.d \
|
||||
-D udevhwdbdir=/lib/udev/hwdb.d/ \
|
||||
-D udevrulesdir=/lib/udev/rules.d \
|
||||
-D systemdsystemunitdir=no \
|
||||
-D gtk-doc=false
|
||||
meson compile -C build -j ${JOBS:-1}
|
||||
DESTDIR=$PKG meson install -C build
|
||||
|
||||
rm -rf $PKG/usr/share/locale
|
||||
rm -rf $PKG/usr/share/locale
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user