Commit 2b443e35 authored by Natanael Copa's avatar Natanael Copa

main/gphoto2: backport fix for testsuite

parent 5cdad104
......@@ -9,10 +9,12 @@ arch="all"
license="LGPL-2.1-or-later"
makedepends="libgphoto2-dev popt-dev gettext-dev libjpeg-turbo-dev libtool"
subpackages="$pkgname-lang $pkgname-doc"
source="https://sourceforge.net/projects/gphoto/files/gphoto/$pkgver/gphoto2-$pkgver.tar.bz2"
source="https://sourceforge.net/projects/gphoto/files/gphoto/$pkgver/gphoto2-$pkgver.tar.bz2
FlashpixVersion.patch
"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -25,13 +27,12 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="b5cea3008b5b9de93444fa25b11eab13155d479896920275caada123e0578ed3f84f9b15fe82406c332e64955ba075b642341d88e20a2ee78b42991890bca86b gphoto2-2.5.23.tar.bz2"
sha512sums="b5cea3008b5b9de93444fa25b11eab13155d479896920275caada123e0578ed3f84f9b15fe82406c332e64955ba075b642341d88e20a2ee78b42991890bca86b gphoto2-2.5.23.tar.bz2
6a363f66c5cf60359d8728e91bcacceb559f5db89597c7ed259e186188bd4d126d3a3f53b2dc87aaeb381485acbaffa11a2a25bd826a2324a92d60bec730e7c3 FlashpixVersion.patch"
From 393cfd77dd926d75dd5d9f4308e123962562e392 Mon Sep 17 00:00:00 2001
From: Marcus Meissner <marcus@jet.franken.de>
Date: Sun, 7 Jun 2020 08:26:15 +0200
Subject: [PATCH] libexif changed the case of FlashPixVersion to
FlashpixVersion, handle both in test
---
tests/data/test037.param | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/data/test037.param b/tests/data/test037.param
index 85070fc..3c3353e 100644
--- a/tests/data/test037.param
+++ b/tests/data/test037.param
@@ -1,2 +1,3 @@
TITLE='EXIF display'
COMMAND='$PROGRAM --camera="Directory Browse" --port=disk:"$STAGINGDIR" --show-exif=4 2> "$ERRFILE" > "$OUTFILE"'
+SEDCOMMAND="s/FlashpixVersion/FlashPixVersion/"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment