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

Jan de Groot jgc at archlinux.org
Wed Feb 3 13:00:13 UTC 2016


    Date: Wednesday, February 3, 2016 @ 14:00:13
  Author: jgc
Revision: 258833

upgpkg: libgphoto2 2.5.9-1

Modified:
  libgphoto2/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-02-03 12:16:14 UTC (rev 258832)
+++ PKGBUILD	2016-02-03 13:00:13 UTC (rev 258833)
@@ -5,7 +5,7 @@
 # Contributor: Damir Perisa <damir.perisa at bluewin.ch>
 
 pkgname=libgphoto2
-pkgver=2.5.8
+pkgver=2.5.9
 pkgrel=1
 pkgdesc="The core library of gphoto2, designed to allow access to digital camera by external programs."
 arch=(i686 x86_64)
@@ -14,7 +14,7 @@
 depends=('libexif' 'libjpeg' 'gd' 'libltdl' 'libusb')
 install=libgphoto2.install
 source=(http://downloads.sourceforge.net/gphoto/$pkgname-$pkgver.tar.bz2{,.asc})
-sha1sums=('976feb07d51026e6ca647f9fa333c500c5e0c041'
+sha1sums=('6da9fe37d7fee12eefea4dc1d97139c7ef694ecf'
           'SKIP')
 validpgpkeys=('7C4AFD61D8AAE7570796A5172209D6902F969C95') # Marcus Meissner 
 
@@ -23,6 +23,9 @@
   ./configure \
 	--prefix=/usr \
 	--disable-rpath
+
+  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