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

Balló György bgyorgy at archlinux.org
Sat Aug 6 19:23:18 UTC 2016


    Date: Saturday, August 6, 2016 @ 19:23:18
  Author: bgyorgy
Revision: 185684

upgpkg: mate-polkit 1.14.0-1

Update to new version

Modified:
  mate-polkit/trunk/PKGBUILD

----------+
 PKGBUILD |   29 ++++++++++++++++++-----------
 1 file changed, 18 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-06 19:15:47 UTC (rev 185683)
+++ PKGBUILD	2016-08-06 19:23:18 UTC (rev 185684)
@@ -1,6 +1,6 @@
-# Maintainer : Martin Wimpress <code at flexion.org>
+# Contributor: Martin Wimpress <code at flexion.org>
 
-_ver=1.12
+_ver=1.14
 pkgbase=mate-polkit
 pkgname=(${pkgbase} ${pkgbase}-gtk3)
 pkgver=${_ver}.0
@@ -9,10 +9,11 @@
 url="http://mate-desktop.org"
 arch=('i686' 'x86_64')
 license=('LGPL')
-depends=('gtk2' 'gtk3' 'polkit' 'accountsservice')
-makedepends=('gobject-introspection' 'mate-common')
+depends=('gtk2' 'gtk3')
+makedepends=('accountsservice' 'gobject-introspection' 'intltool')
+#makedepends=( 'mate-common')
 source=("http://pub.mate-desktop.org/releases/${_ver}/${pkgname}-${pkgver}.tar.xz")
-sha1sums=('26ec78dda925755f0c0b272c9b53fb77a78bfe98')
+sha1sums=('da2b4cf7b905a24fa22dd14e8991a71814ad7777')
 
 prepare() {
     cd "${srcdir}"
@@ -28,8 +29,11 @@
         --sysconfdir=/etc \
         --localstatedir=/var \
         --with-gtk=2.0 \
-        --enable-introspection \
-        --disable-static
+        --enable-introspection
+
+    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
     make
 
     cd "${srcdir}/${pkgbase}-gtk3"
@@ -39,8 +43,11 @@
         --sysconfdir=/etc \
         --localstatedir=/var \
         --with-gtk=3.0 \
-        --enable-introspection \
-        --disable-static
+        --enable-introspection
+
+    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
     make
 }
 
@@ -55,10 +62,10 @@
 }
 
 package_mate-polkit-gtk3() {
-    pkgdesc+=' (GTK3 version [EXPERIMENTAL])'
+    pkgdesc+=' (GTK3 version)'
     groups=('mate-gtk3')
     conflicts=("${pkgbase}")
-    depends=('gtk3' 'polkit')
+    depends=('gtk3')
 
     cd "${srcdir}/${pkgbase}-gtk3"
     make DESTDIR="${pkgdir}" install



More information about the arch-commits mailing list