2021-11-09 i3status 2.14 • switch to meson build system • battery: OpenBSD: If acpibat watts value is not available, try current • make pulseaudio an optional dependency • print_cpu_usage: use buffered file API • fix memory leak in slurp() • NetBSD: native audio support • wireless: Linux: update %signal and %quality based on station info • memory: introduce unit and decimals options • battery: introduce format_percentage option • memory: fix overflow on 32-bit systems • use format_placeholder • wireless: introduce format_bitrate, format_noise and format_signal • cpu: fix out of bounds read after invalid %cpu conversion • file system: use f_frsize for correct block size • wireless: FreeBSD: support connection bitrate • volume: fix memory leak • print_file_contents: resolve tilde • add build option to disable manual pages • pulseaudio: use port name instead of sink name • battery: add support for POWER_SUPPLY_TIME_TO_EMPTY (e.g. pinebook pro) • tztime: allow selective pango markup • wireless: fix memory corruption
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.22 2022/04/12 14:43:01 nia Exp $
|
|
|
|
DISTNAME= i3status-2.14
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= https://i3wm.org/i3status/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://i3wm.org/i3status/
|
|
COMMENT= Small program for generating a status bar
|
|
LICENSE= modified-bsd
|
|
|
|
TOOL_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
|
|
TOOL_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
|
|
|
|
USE_TOOLS+= pkg-config bash perl
|
|
|
|
INSTALLATION_DIRS= share/examples/${PKGBASE}
|
|
|
|
CONF_FILES= ${PREFIX}/share/examples/${PKGBASE}/i3status.conf \
|
|
${PKG_SYSCONFDIR}/i3status.conf
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
SUBST_CLASSES+= fix-paths
|
|
SUBST_STAGE.fix-paths= pre-configure
|
|
SUBST_MESSAGE.fix-paths= Fixing absolute paths.
|
|
SUBST_FILES.fix-paths= man/i3status.*
|
|
SUBST_SED.fix-paths+= -e 's,/var,${VARBASE},g'
|
|
|
|
.include "options.mk"
|
|
.include "../../devel/meson/build.mk"
|
|
.include "../../devel/confuse/buildlink3.mk"
|
|
.include "../../devel/yajl/buildlink3.mk"
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if ${OPSYS} == "Linux"
|
|
. include "../../audio/alsa-lib/buildlink3.mk"
|
|
.endif
|
|
.include "../../mk/bsd.pkg.mk"
|