Alistair Francis ae29887acf community/millipixels: Workaround libtiff 4.5.1
This backports a fix from
https://source.puri.sm/Librem5/millipixels/-/merge_requests/105

to address:
https://source.puri.sm/Librem5/millipixels/-/issues/87

This fixes the issue where the saved image is black and white and 3
small copies instead of the correct image.

This fix is already applied to megapixels, this just applies the same
fix to millipixels.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
2023-08-09 19:44:43 +00:00

50 lines
1.2 KiB
Plaintext

# Contributor: Clayton Craft <clayton@craftyguy.net>
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=millipixels
pkgver=0.22.0
pkgrel=3
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
0001-Workaround-libtiff-4.5.1.patch
"
options="!check" # There's no testsuite
builddir="$srcdir/millipixels-v$pkgver"
build() {
abuild-meson \
-Db_lto=true \
. output
meson compile -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
2e65125510c6e1618f680032251fc25d327e829dc2d744cdcf08b2a2d3146318847c02d5084fd95c53d49d8f3544cafe4dba303cd164f76ed45e7cb183d8945d millipixels-v0.22.0.tar.gz
cdd8b11515b8bfe8f9b017d28441b5cf9978cd7855a20255e7bb3cbbfd4789d11a081911d3ff387c642a92dfa6cc994d2b960225b938eb512d18a73d013f598e 0001-Workaround-libtiff-4.5.1.patch
"