[arch-commits] Commit in libmateweather/trunk (PKGBUILD libmateweather.install)

Balló György bgyorgy at archlinux.org
Sat Aug 6 16:48:43 UTC 2016


    Date: Saturday, August 6, 2016 @ 16:48:43
  Author: bgyorgy
Revision: 185639

upgpkg: libmateweather 1.14.0-1

Update to new version

Modified:
  libmateweather/trunk/PKGBUILD
Deleted:
  libmateweather/trunk/libmateweather.install

------------------------+
 PKGBUILD               |   25 +++++++++++++++----------
 libmateweather.install |   12 ------------
 2 files changed, 15 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-06 16:11:08 UTC (rev 185638)
+++ PKGBUILD	2016-08-06 16:48:43 UTC (rev 185639)
@@ -1,19 +1,18 @@
 # Maintainer : Martin Wimpress <code at flexion.org>
 
-_ver=1.12
+_ver=1.14
 pkgbase=libmateweather
 pkgname=(${pkgbase} ${pkgbase}-gtk3)
-pkgver=${_ver}.1
+pkgver=${_ver}.0
 pkgrel=1
 pkgdesc="Provides access to weather information from the Internet."
 url="http://mate-desktop.org"
 arch=('i686' 'x86_64')
 license=('LGPL')
-depends=('dconf' 'gtk2' 'gtk3' 'libsoup')
-makedepends=('mate-common')
+depends=('gtk2' 'gtk3')
+makedepends=('intltool')
 source=("http://pub.mate-desktop.org/releases/${_ver}/${pkgname}-${pkgver}.tar.xz")
-sha1sums=('dfd58b8fa7ec93e04773f61006b34b21a08e66d2')
-install=${pkgbase}.install
+sha1sums=('8f94aee849e613f2e869f096bbc618180016d885')
 
 prepare() {
     cd "${srcdir}"
@@ -28,9 +27,12 @@
         --sysconfdir=/etc \
         --localstatedir=/var \
         --with-gtk=2.0 \
-        --disable-static \
         --disable-python \
         --enable-locations-compression
+
+    #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,9 +41,12 @@
         --sysconfdir=/etc \
         --localstatedir=/var \
         --with-gtk=3.0 \
-        --disable-static \
         --disable-python \
         --enable-locations-compression
+
+    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
     make
 }
 
@@ -55,9 +60,9 @@
 }
 
 package_libmateweather-gtk3() {
-    pkgdesc+=' (GTK3 version [EXPERIMENTAL])'
+    pkgdesc+=' (GTK3 version)'
     conflicts=("${pkgbase}")
-    depends=('dconf' 'gtk3' 'libsoup')
+    depends=('gtk3')
     
     cd "${srcdir}/${pkgbase}-gtk3"
     make DESTDIR="${pkgdir}" install

Deleted: libmateweather.install
===================================================================
--- libmateweather.install	2016-08-06 16:11:08 UTC (rev 185638)
+++ libmateweather.install	2016-08-06 16:48:43 UTC (rev 185639)
@@ -1,12 +0,0 @@
-post_install() {
-    glib-compile-schemas /usr/share/glib-2.0/schemas/
-    gtk-update-icon-cache -q -t -f /usr/share/icons/mate
-}
-
-post_upgrade() {
-    post_install
-}
-
-post_remove() {
-    post_install
-}



More information about the arch-commits mailing list