summaryrefslogtreecommitdiff
path: root/community/millipixels/APKBUILD
blob: f407d0db97237e97f08156d4e5c996949011b7ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Contributor: Clayton Craft <clayton@craftyguy.net>
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=millipixels
pkgver=0.22.0
pkgrel=0
pkgdesc="Camera application for the Librem 5"
url="https://source.puri.sm/Librem5/millipixels"
arch="all"
license="GPL-3.0-only"
depends="
	exiftool
	graphicsmagick
	libraw-tools
	v4l-utils
	"
makedepends="
	glib-dev
	gtk+3.0-dev
	libbsd-dev
	libcamera-dev
	libexif-dev
	libraw-dev
	meson
	pulseaudio-dev
	rust
	tiff-dev
	zbar-dev
	"
source="https://source.puri.sm/Librem5/millipixels/-/archive/v$pkgver/millipixels-v$pkgver.tar.gz"
options="!check" # There's no testsuite
builddir="$srcdir/millipixels-v$pkgver"

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
2e65125510c6e1618f680032251fc25d327e829dc2d744cdcf08b2a2d3146318847c02d5084fd95c53d49d8f3544cafe4dba303cd164f76ed45e7cb183d8945d  millipixels-v0.22.0.tar.gz
"