ratchov 9f385cbca0 Use the new sioctl_open(3) API to display current audio level.
Now the programm displays the current sndiod master volume level,
which is present on any device and always corresponds to the device
programs are playing on.
2020-03-16 14:54:45 +00:00

39 lines
762 B
Makefile

# $OpenBSD: Makefile,v 1.59 2020/03/16 14:54:45 ratchov Exp $
ONLY_FOR_ARCHS= ${APM_ARCHS}
COMMENT= generate a statusbar for use with i3/xmobar/dzen2
DISTNAME= i3status-2.13
REVISION= 2
CATEGORIES= x11 sysutils
HOMEPAGE= https://i3wm.org/i3status/
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
# BSD
PERMIT_PACKAGE = Yes
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .tar.bz2
WANTLIB += c confuse m pthread yajl iconv intl
USE_GMAKE= Yes
BUILD_DEPENDS= textproc/asciidoc>=8.6.8 \
textproc/xmlto
LIB_DEPENDS= devel/libconfuse \
devel/libyajl
AUTOCONF_VERSION = 2.69
AUTOMAKE_VERSION = 1.16
CONFIGURE_STYLE = autoreconf
SEPARATE_BUILD = Yes
FAKE_FLAGS += sysconfdir=${PREFIX}/share/examples/i3status/
.include <bsd.port.mk>