# Template file for 'ddcutil' pkgname=ddcutil version=1.3.0 revision=2 build_style=gnu-configure hostmakedepends="automake libtool pkg-config" makedepends="i2c-tools-devel libdrm-devel libgudev-devel libkmod-devel libusb-devel libXrandr-devel" depends="i2c-tools" short_desc="Query and change monitor settings using DDC/CI and USB" maintainer="lemmi " license="GPL-2.0-or-later" homepage="https://www.ddcutil.com" changelog="https://www.ddcutil.com/release_notes/" distfiles="https://github.com/rockowitz/ddcutil/archive/v${version}.tar.gz" checksum=fa439f031c9372360e8d266f4294937dd3ee0a1c812d41e596b5e75a6d73d6d3 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 }