2017-11-17 15:17:24 +01:00
|
|
|
# Template file for 'ddcutil'
|
|
|
|
pkgname=ddcutil
|
2018-06-12 09:24:33 +02:00
|
|
|
version=0.9.1
|
2017-11-17 15:17:24 +01:00
|
|
|
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>"
|
2018-05-14 06:50:45 +02:00
|
|
|
license="GPL-2.0-or-later"
|
2017-11-17 15:17:24 +01:00
|
|
|
homepage="http://www.ddcutil.com"
|
|
|
|
distfiles="https://github.com/rockowitz/ddcutil/archive/v${version}.tar.gz"
|
2018-06-12 09:24:33 +02:00
|
|
|
checksum=bc7055604f2767b903845ccbdbe9fbd5fc79962d45eee817f164cfb472de777b
|
2018-01-25 10:01:37 +01:00
|
|
|
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
*-musl) makedepends+=" libexecinfo-devel"
|
|
|
|
post_extract() {
|
|
|
|
sed -i -e "/AM_CFLAGS += -Wpedantic/d" src/app_sysenv/Makefile.am
|
|
|
|
}
|
|
|
|
;;
|
|
|
|
esac
|
2017-11-17 15:17:24 +01:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
}
|