void-packages/srcpkgs/ddcutil/template

27 lines
783 B
Bash
Raw Normal View History

# Template file for 'ddcutil'
pkgname=ddcutil
version=0.9.1
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=bc7055604f2767b903845ccbdbe9fbd5fc79962d45eee817f164cfb472de777b
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
}