void-packages/srcpkgs/ddcutil/template
UsernameRandomlyGenerated ea78b1ace8 ddcutil: update to 1.2.1.
Closes: #34825 [via git-merge-pr]
2022-01-03 10:30:16 +01:00

26 lines
832 B
Bash

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