git » tumbler.git » commit 6c94180

upgpkg: 4.18.0-1

author Evangelos Foutras
2022-12-15 13:52:53 UTC
committer Evangelos Foutras
2022-12-15 13:52:53 UTC
parent 7d39e87a35199a6a5bfb91eac0361868ba1bee5c

upgpkg: 4.18.0-1

PKGBUILD +9 -23

diff --git a/PKGBUILD b/PKGBUILD
index b2a25ea..18fdac3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,16 +3,16 @@
 # Contributor: Jan Jezek <honzin.jezek@gmail.com>
 
 pkgname=tumbler
-pkgver=4.16.1
-pkgrel=3
-pkgdesc="D-Bus service for applications to request thumbnails"
+pkgver=4.18.0
+pkgrel=1
+pkgdesc="Thumbnail service implementing the thumbnail management D-Bus specification"
 arch=('x86_64')
 url="https://docs.xfce.org/xfce/tumbler/start"
 license=('GPL2' 'LGPL')
 groups=('xfce4')
-depends=('gdk-pixbuf2')
+depends=('libxfce4util' 'gdk-pixbuf2')
 makedepends=('intltool' 'python' 'ffmpegthumbnailer' 'poppler-glib' 'libgsf'
-             'libgepub' 'libopenraw' 'freetype2' 'xfce4-dev-tools')
+             'libgepub' 'libopenraw' 'freetype2')
 optdepends=('ffmpegthumbnailer: video thumbnails'
             'poppler-glib: PDF thumbnails'
             'libgsf: ODF thumbnails'
@@ -20,36 +20,22 @@ optdepends=('ffmpegthumbnailer: video thumbnails'
             'libopenraw: RAW thumbnails'
             'freetype2: font thumbnails')
 backup=('etc/xdg/tumbler/tumbler.rc')
-source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
-        $pkgname-libopenraw-gnome-0.3.patch::https://gitlab.xfce.org/xfce/tumbler/-/commit/ad680ef6c79a.patch
-        $pkgname-libgepub-0.7.patch::https://gitlab.xfce.org/xfce/tumbler/-/commit/3ddd3e940bf8.patch)
-sha256sums=('852bbffa13f35b48ce92e243a03a118e32037c03e68297335c2bc4578e39273e'
-            '9a3356b243fffa4dc34e966f2f80aff1cb947a90bec3fed3008aff1973a93efc'
-            '07356891920ed4a5f9e991e3b87d1a66028c37e00325f614059ca61ad4750897')
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  patch -Np1 -i ../$pkgname-libopenraw-gnome-0.3.patch
-  patch -Np1 -i ../$pkgname-libgepub-0.7.patch
-  NOCONFIGURE=1 xdt-autogen
-}
+source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
+sha256sums=('4087f3af4ef31271d3f315421a2f1fe67e4fda7ad60bbab1f073627914dfcf00')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd $pkgname-$pkgver
 
   ./configure \
     --prefix=/usr \
     --sysconfdir=/etc \
-    --libexecdir=/usr/lib/xfce4 \
-    --disable-static \
     --disable-debug \
     --disable-gstreamer-thumbnailer
   make
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
 }