28 lines
822 B
Bash
28 lines
822 B
Bash
# Template file for 'ddcutil'
|
|
pkgname=ddcutil
|
|
version=0.9.9
|
|
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="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=fcb4125be4f6f95c69160bcd8bf6b39b5ae0e2f18f0f7742398cd43e082b82cd
|
|
|
|
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
|
|
}
|