6b21363d4e
Changelog: Version 0.99.4 ~~~~~~~~~~~~~~ Released: 2016-02-16 New Features: - Add support for Logitech G700s/G700 Gaming Mouse (muzena) - Port to GDBus (Cosimo Cecchi) - Support g_autoptr() for all libupower-glib object types (Kalev Lember) Bugfixes: - Add critical action support for *BSD (Eric Koegel) - Change the default low battery policy to percentage (Bastien Nocera) - Fix deprecation warning in integration-test (Bastien Nocera) - Fix memory leak in up_client_get_devices() (Bastien Nocera) - Fix possible double-free (Bastien Nocera) - Update HID rules and fix build regression (Arnaud Quette)
43 lines
1.4 KiB
Makefile
43 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2016/03/12 11:50:08 ryoon Exp $
|
|
|
|
DISTNAME= upower-0.99.4
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://upower.freedesktop.org/releases/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://upower.freedesktop.org
|
|
COMMENT= Power management system message bus service
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= gmake pkg-config intltool xgettext msgmerge msgfmt
|
|
|
|
BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
|
|
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
|
|
PKG_SYSCONFSUBDIR= UPower
|
|
INSTALL_MAKE_FLAGS+= configdir=${EGDIR} dbusconfdir=${EGDIR}
|
|
EGDIR= ${PREFIX}/share/examples/upower
|
|
CONF_FILES+= ${EGDIR}/UPower.conf ${PKG_SYSCONFDIR}/UPower.conf
|
|
CONF_FILES+= ${EGDIR}/org.freedesktop.UPower.conf \
|
|
${PKG_SYSCONFBASE}/dbus-1/system.d/org.freedesktop.UPower.conf
|
|
|
|
PKGCONFIG_OVERRIDE+= upower-glib.pc.in
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
BUILDLINK_TRANSFORM.SunOS+= opt:-Wl,--no-as-needed:-Wl,-zrecord
|
|
BUILDLINK_TRANSFORM.SunOS+= opt:-Wl,--as-needed:-Wl,-zignore
|
|
|
|
TEST_TARGET= check
|
|
|
|
# with --nonet, xsltproc needs a helping hand finding some dtds
|
|
XSLTPROC_PATH+= ${LOCALBASE}/share/doc/dbus
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../sysutils/dbus/buildlink3.mk"
|
|
.include "../../sysutils/dbus-glib/buildlink3.mk"
|
|
.include "../../textproc/libxslt/xsltproc-nonet.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|