aboutsummaryrefslogtreecommitdiffstats
path: root/community/megapixels/APKBUILD
blob: 68ede399130670942d5816dab6afcd7867737e31 (plain) (blame)
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
# Contributor: Martijn Braam <martijn@brixit.nl>
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=megapixels
pkgver=0.12.0
pkgrel=0
pkgdesc="GTK+3 camera app for mobile devices"
url="https://git.sr.ht/~martijnbraam/megapixels"
arch="all"
license="GPL-3.0-only"
# Required by postprocess.sh
depends="cmd:dcraw_emu cmd:convert cmd:exiftool"
makedepends="glib-dev gtk+3.0-dev tiff-dev meson"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~martijnbraam/megapixels/archive/$pkgver.tar.gz
"
options="!check" # There's no testsuite

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

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

sha512sums="379cc243894be91b103ec9a98224c83628c3f3e3c642039f5ce5d44494e99da006dc0baf536e89fafff888574570025bc6fdaedfecc00e486f85f50101010974  megapixels-0.12.0.tar.gz"