aboutsummaryrefslogtreecommitdiffstats
path: root/community/megapixels/APKBUILD
blob: 40cc08dbd42f70e29b04f420633fffd01c2ba220 (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
28
# Contributor: Martijn Braam <martijn@brixit.nl>
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=megapixels
pkgver=0.13.1
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"
depends="libraw-tools imagemagick 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="cf44d99e1966437902ff1ff6e23bb5fd5cb5917e3b1b85e16451288867f37f254d6cb1df6af9511e33a5dadbb88ff5dfaabd5c2bb26223da81ff3c5d745c9c1a  megapixels-0.13.1.tar.gz"