sysutils/upower: update to 0.99.13

upstream doesnt provide release tarballs anymore, so fetch a tarball
from a git tag on gitlab, and use autohell. Next release will use meson :)

see https://cgit.freedesktop.org/upower/tree/NEWS#n1 for changes

ok/requested by ajacoutot@
This commit is contained in:
landry 2021-10-29 18:26:41 +00:00
parent fcda8a4616
commit 9c5fd95def
3 changed files with 16 additions and 10 deletions

View File

@ -1,17 +1,18 @@
# $OpenBSD: Makefile,v 1.65 2021/09/05 12:12:43 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.66 2021/10/29 18:26:41 landry Exp $
ONLY_FOR_ARCHS =${APM_ARCHS}
COMMENT = userland power management interface
DISTNAME = upower-0.99.11
EXTRACT_SUFX = .tar.xz
V = 0.99.13
DISTNAME = upower-UPOWER_${V:S/./_/g}
PKGNAME = upower-${V}
CATEGORIES = sysutils
SHARED_LIBS += upower-glib 2.1 # 3.1
REVISION = 2
HOMEPAGE = https://upower.freedesktop.org/
MASTER_SITES = https://upower.freedesktop.org/releases/
MASTER_SITES = https://gitlab.freedesktop.org/upower/upower/-/archive/UPOWER_${V:S/./_/g}/
MAINTAINER = Landry Breuil <landry@openbsd.org>
@ -20,7 +21,9 @@ PERMIT_PACKAGE= Yes
WANTLIB += c gio-2.0 glib-2.0 gobject-2.0 m
CONFIGURE_STYLE = gnu
AUTOCONF_VERSION = 2.69
AUTOMAKE_VERSION = 1.16
CONFIGURE_STYLE = autoreconf
CONFIGURE_ARGS += --enable-introspection \
--enable-man-pages \
--with-historydir=/var/db/upower \
@ -42,4 +45,7 @@ BUILD_DEPENDS = devel/gettext,-tools \
# /usr/local/share/dbus-1/system-services/
RUN_DEPENDS += x11/dbus,-suid
post-extract:
touch ${WRKSRC}/gtk-doc.make
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (upower-0.99.11.tar.xz) = ZLX/v8zVvbFdkld3l5pNvuGpV/nq6xWNx2F1Jn7dve8=
SIZE (upower-0.99.11.tar.xz) = 430128
SHA256 (upower-UPOWER_0_99_13.tar.gz) = M5jZWs+7R6YEd253NR6VA2GrO3kaJoJPafeBLkmwuvw=
SIZE (upower-UPOWER_0_99_13.tar.gz) = 184658

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.14 2021/09/05 12:12:43 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.15 2021/10/29 18:26:41 landry Exp $
@extraunexec rm -f /var/db/upower/history-*
@bin bin/upower
include/libupower-glib/
@ -14,7 +14,7 @@ include/libupower-glib/up-wakeups.h
include/libupower-glib/upower.h
lib/girepository-1.0/
lib/girepository-1.0/UPowerGlib-1.0.typelib
lib/libupower-glib.a
@static-lib lib/libupower-glib.a
lib/libupower-glib.la
@lib lib/libupower-glib.so.${LIBupower-glib_VERSION}
lib/pkgconfig/upower-glib.pc