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

Jan de Groot jgc at archlinux.org
Wed Feb 3 12:16:04 UTC 2016


    Date: Wednesday, February 3, 2016 @ 13:16:04
  Author: jgc
Revision: 258831

upgpkg: poppler 0.40.0-1

Modified:
  poppler/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-02-03 09:10:42 UTC (rev 258830)
+++ PKGBUILD	2016-02-03 12:16:04 UTC (rev 258831)
@@ -3,7 +3,7 @@
 
 pkgbase=poppler
 pkgname=('poppler' 'poppler-glib' 'poppler-qt4' 'poppler-qt5')
-pkgver=0.39.0
+pkgver=0.40.0
 pkgrel=1
 arch=(i686 x86_64)
 license=('GPL')
@@ -12,7 +12,7 @@
 url="http://poppler.freedesktop.org/"
 source=(http://poppler.freedesktop.org/${pkgbase}-${pkgver}.tar.xz
         git://anongit.freedesktop.org/poppler/test)
-md5sums=('5100960c61b932430b5d74068d71f530'
+md5sums=('2fec3b2401a1722418b1f5bf64cd00cd'
          'SKIP')
 
 build() {
@@ -25,6 +25,9 @@
       --enable-poppler-qt4 \
       --enable-poppler-qt5 \
       --enable-poppler-glib
+
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+
   make
 }
 



More information about the arch-commits mailing list