mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-05 08:42:11 +01:00
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
# Contributor: Mike Banon <mikebdp2@gmail.com>
|
|
# Maintainer: Mike Banon <mikebdp2@gmail.com>
|
|
pkgname=pinephone-compass
|
|
pkgver=0.4.0
|
|
pkgrel=0
|
|
pkgdesc="GTK3 compass app for the Pine64 Pinephone, supports LIS3MDL and AF8133J magnetometers"
|
|
url="https://gitlab.com/lgtrombetta/pinephone-compass"
|
|
license="GPL-3.0-or-later"
|
|
arch="aarch64"
|
|
depends="python3 py3-matplotlib py3-numpy py3-pandas py3-xdg"
|
|
makedepends="meson gettext glib-dev"
|
|
source="https://gitlab.com/lgtrombetta/pinephone-compass/-/archive/v$pkgver/compass-v$pkgver.tar.gz
|
|
correct_udev_rules_path.patch
|
|
"
|
|
options="!check" # no test suite
|
|
builddir="$srcdir/compass-v$pkgver"
|
|
|
|
build() {
|
|
abuild-meson . output
|
|
meson compile -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
34cdc6abea979e363a088c53af14679c600e270002f28166d3348544ad28ca28c06328b6299ea2a074def0d1291a600ff6c2e7244487077187d029c687726aa1 compass-v0.4.0.tar.gz
|
|
807355165b7d732bba183cfd19d89caf5fdb0041f4e30a965d19d6e39542da5cbf2bcb458519499ad052048522180585dd7317d78cdfae972da121bb3a45b11b correct_udev_rules_path.patch
|
|
"
|