maemo/hildon-thumbnail: update to 3.1.2

gstreamer 0.10 has been dropped from Alpine, but hildon-thumbnail 3.0.51
was still depending on it. Update to 3.1.2, where it now depends on
gstreamer 1.0 (which is in Alpine).

The aarch64 patch can be dropped, it does not apply anymore, and
building for aarch64 works without it.
This commit is contained in:
Oliver Smith 2019-06-17 21:32:22 +02:00
parent 175afb81f9
commit 9fcf7798c6
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 5 additions and 36 deletions

View file

@ -1,29 +0,0 @@
From afd005ab4485d00d4b3af486daafe39e6e85b07f Mon Sep 17 00:00:00 2001
From: NeKit <nekit1000@gmail.com>
Date: Sat, 16 Dec 2017 22:00:36 +0300
Subject: [PATCH] Add __NR_ioprio_set for aarch64 to fix compilation
initialize_priority is disabled though, so ioprio_set should be never called
---
daemon/hildon-thumbnail-daemon.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/daemon/hildon-thumbnail-daemon.c b/daemon/hildon-thumbnail-daemon.c
index 9751d8c..f1401b9 100644
--- a/daemon/hildon-thumbnail-daemon.c
+++ b/daemon/hildon-thumbnail-daemon.c
@@ -117,7 +117,10 @@ static gboolean do_shut_down_next_time = TRUE;
#elif defined(__arm__)
#define __NR_ioprio_set 314
#define __NR_ioprio_get 315
-#else
+#elif defined(__aarch64__)
+#define __NR_ioprio_set 30
+#define __NR_ioprio_get 31
+#else
#error "Unsupported architecture!"
#endif
--
2.13.2

View file

@ -1,14 +1,13 @@
pkgname=hildon-thumbnail
pkgver=3.0.51
pkgrel=2
pkgver=3.1.2
pkgrel=0
pkgdesc="The Hildon Thumbnailer daemon"
arch="all"
url="https://github.com/maemo-leste/$pkgname"
license="GPL"
depends="libhildon"
makedepends="libhildon-dev libosso-dev sqlite-dev libpng-dev libexif-dev libjpeg-turbo-dev gstreamer0.10-dev autoconf automake libtool"
source="$pkgname-$pkgver.tar.gz::https://github.com/maemo-leste/$pkgname/archive/$pkgver.tar.gz
0001-add-__NR_ioprio_set-for-aarch64-to-fix-compilation.patch"
makedepends="libhildon-dev libosso-dev sqlite-dev libpng-dev libexif-dev libjpeg-turbo-dev gstreamer-dev autoconf automake libtool"
source="$pkgname-$pkgver.tar.gz::https://github.com/maemo-leste/$pkgname/archive/$pkgver.tar.gz"
subpackages="$pkgname-dev"
builddir="$srcdir/$pkgname-$pkgver"
@ -27,5 +26,4 @@ package() {
cd "$builddir"
make DESTDIR="$pkgdir/" -j1 install
}
sha512sums="d0fa7ad86460db4d08686783590c303884c1d114ed8bdc227aa5684ea962b2f883d68ecc7707b6c598c540962814d1aeb312926e5bc94ada6fddc95b3e01aba0 hildon-thumbnail-3.0.51.tar.gz
21c7075e5f5fecc30c1b53071ebc5d7f03d15714209a79c3e9f2db39613afaf578a734b1911f5692bdc811d924ab561c08e9cfde97eb75e1753fbcd9c7e76348 0001-add-__NR_ioprio_set-for-aarch64-to-fix-compilation.patch"
sha512sums="de3b94836762026a6acefee0ddcb0842b2c385aa9de2a6aef41ae6af9e23c8d490f777ae25f657373935aec76b0b080629ace5353af20968b6cc38764ca00949 hildon-thumbnail-3.1.2.tar.gz"