diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-11-11 12:44:19 -0800 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-11-29 04:54:50 -0600 |
commit | 951b8932322f9e22a5cb191935ebc69503a83dce (patch) | |
tree | 29eb7995126869d588b302788c8c5d5b31da9f1d /user | |
parent | 7f578c393c4e2cde3db5e10145fb9160c8a43012 (diff) | |
download | packages-951b8932322f9e22a5cb191935ebc69503a83dce.tar.gz packages-951b8932322f9e22a5cb191935ebc69503a83dce.tar.bz2 packages-951b8932322f9e22a5cb191935ebc69503a83dce.tar.xz packages-951b8932322f9e22a5cb191935ebc69503a83dce.zip |
user/libdisplay-info: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/libdisplay-info/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/user/libdisplay-info/APKBUILD b/user/libdisplay-info/APKBUILD new file mode 100644 index 000000000..c2599774e --- /dev/null +++ b/user/libdisplay-info/APKBUILD @@ -0,0 +1,41 @@ +# 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" |