blob: c2599774e0e381d2a51d6a0a340d1c4e0098f6be (
plain) (
tree)
|
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=libdisplay-info
pkgver=0.2.0
pkgrel=0
pkgdesc="Library for obtaining display information"
url="https://gitlab.freedesktop.org/emersion/libdisplay-info/"
arch="all"
license="MIT"
depends="hwdata"
checkdepends="edid-decode"
makedepends="meson"
subpackages="$pkgname-dev"
source="https://gitlab.freedesktop.org/emersion/libdisplay-info/-/releases/$pkgver/downloads/libdisplay-info-$pkgver.tar.xz"
prepare() {
default_prepare
rm -r subprojects # attempts to checkout/build edid-decode itself
}
build() {
meson setup \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=release \
--wrap-mode=nofallback \
. output
meson compile -C output
}
check() {
meson test -C output
}
package() {
DESTDIR="$pkgdir" meson install -C output
}
sha512sums="6e910b832860d920a4be298a2b6925f701654bd7cdd8b3457e64663c25caa20a74b81b91f71878b9e7f5f70c5c067235f0c99293650231920c67d1241a61e1fb libdisplay-info-0.2.0.tar.xz"
|