[arch-commits] Commit in pdf2djvu/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Mar 2 08:47:20 UTC 2020


    Date: Monday, March 2, 2020 @ 08:47:20
  Author: arojas
Revision: 588437

Fix build with poppler 0.86

Modified:
  pdf2djvu/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-02 07:22:09 UTC (rev 588436)
+++ PKGBUILD	2020-03-02 08:47:20 UTC (rev 588437)
@@ -10,11 +10,21 @@
 license=('GPL')
 depends=('poppler' 'djvulibre' 'gcc-libs' 'graphicsmagick' 'exiv2')
 makedepends=('python2-nose' 'ttf-liberation' 'boost')
-source=(https://github.com/jwilk/pdf2djvu/releases/download/$pkgver/pdf2djvu-$pkgver.tar.xz{,.asc})
+source=(https://github.com/jwilk/pdf2djvu/releases/download/$pkgver/pdf2djvu-$pkgver.tar.xz{,.asc}
+        pdf2djvu-poppler-0.86.patch::"https://github.com/jwilk/pdf2djvu/commit/b28c2007.patch"
+        pdf2djvu-poppler-0.86-2.patch::"https://github.com/jwilk/pdf2djvu/commit/d3bb5259.patch")
 sha256sums=('5196966bd3603e3556d3104673816dc2e61bab496329c7bfd9c6527c076d3472'
-            'SKIP')
+            'SKIP'
+            '3581b5f691f9c0668b15519591e47a76dfff94d76020ed20c5b7d80241940b78'
+            '1655ff01d657f54abb742575143b0d14fa4b7e9099ed8cc53481424497c92966')
 validpgpkeys=('CDB5A1243ACDB63009AD07212D4EB3A6015475F5')
 
+prepare() {
+    cd  $pkgname-$pkgver
+    patch -p1 -i ../pdf2djvu-poppler-0.86.patch # Fix build with poppler 0.86
+    patch -p1 -i ../pdf2djvu-poppler-0.86-2.patch
+}
+
 build() {
     cd ${pkgname}-${pkgver}
 



More information about the arch-commits mailing list