void-packages/srcpkgs/ddcutil/template
cr6git 25140b1bfa ddcutil: update to 0.9.0.
Closes #14373.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-15 09:34:24 +02:00

26 lines
783 B
Bash

# Template file for 'ddcutil'
pkgname=ddcutil
version=0.9.0
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libdrm-devel libgudev-devel libusb-devel libXrandr-devel"
depends="i2c-tools"
short_desc="Query and change monitor settings using DDC/CI and USB"
maintainer="cr6git <quark6@protonmail.com>"
license="GPL-2.0-or-later"
homepage="http://www.ddcutil.com"
distfiles="https://github.com/rockowitz/ddcutil/archive/v${version}.tar.gz"
checksum=65c9870b2f58424994ad6639385b0dfc91671abb73cd35681279a04706067b75
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" libexecinfo-devel"
post_extract() {
sed -i -e "/AM_CFLAGS += -Wpedantic/d" src/app_sysenv/Makefile.am
}
;;
esac
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}