# Purism's fork of megapixels, for the Librem 5 pkgname=megapixels-purism pkgver=0.18.0_git20220131 pkgrel=0 _commit=042310be520e021ebf861055af90923164d89136 pkgdesc="GTK+3 camera app for mobile devices" url="https://source.puri.sm/Librem5/megapixels" arch="all" license="GPL-3.0-only" # Required by postprocess.sh # depends="cmd:dcraw_emu cmd:convert cmd:exiftool" depends=" exiftool graphicsmagick libraw-tools v4l-utils " makedepends=" glib-dev gtk+3.0-dev libbsd-dev libcamera-dev rust tiff-dev meson zbar-dev " source="megapixels-purism-$pkgver.tar.gz::https://source.puri.sm/Librem5/millipixels/-/archive/$_commit/millipixels-$_commit.tar.gz" options="!check" # There's no testsuite provides="megapixels=$pkgver" builddir="$srcdir/millipixels-$_commit" build() { abuild-meson . output meson compile ${JOBS:+-j ${JOBS}} -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" 062607219856bfafddb063a743f643c8f0924a3a1f35af6beb2eee0db626766f680cc2204b3e58bc604bf26bd92b322e3f68227580b97da99b384f919c8450a7 megapixels-purism-0.18.0_git20220131.tar.gz "