diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-11-11 12:44:19 -0800 |
---|---|---|
committer | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-11-11 14:14:04 -0800 |
commit | 6652ec54b9a660735da73137a4ee6a4e5fa4fd58 (patch) | |
tree | f86d222f2bddb7ca580552a99ebd7b79b447fa2f | |
parent | a804a87bb8d8ab8bdf795e0e3a0e00922a32223d (diff) | |
download | packages-6652ec54b9a660735da73137a4ee6a4e5fa4fd58.tar.gz packages-6652ec54b9a660735da73137a4ee6a4e5fa4fd58.tar.bz2 packages-6652ec54b9a660735da73137a4ee6a4e5fa4fd58.tar.xz packages-6652ec54b9a660735da73137a4ee6a4e5fa4fd58.zip |
user/libdisplay-info: new package
-rw-r--r-- | user/libdisplay-info/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/user/libdisplay-info/APKBUILD b/user/libdisplay-info/APKBUILD new file mode 100644 index 000000000..187bf9dee --- /dev/null +++ b/user/libdisplay-info/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +pkgname=libdisplay-info +pkgver=0.1.1 +pkgrel=0 +pkgdesc="Library for obtaining display information" +url="https://gitlab.freedesktop.org/emersion/libdisplay-info/" +arch="all" +options="!check" # tests fail due to utility formatting issues +license="MIT" +depends="hwdata" +checkdepends="edid-decode" +makedepends="meson ninja" +subpackages="$pkgname-dev" +source="https://gitlab.freedesktop.org/emersion/libdisplay-info/-/releases/$pkgver/downloads/libdisplay-info-$pkgver.tar.xz" + +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="95c199211504af96816d92ec8e531bea993dd5d4a2935f1977f1e665b924b1628df25b81cd20da29543d008a8e6d757bdbceb09c74e031c0c213d60be9a10d7a libdisplay-info-0.1.1.tar.xz" |