[arch-commits] Commit in telepathy-mission-control/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Mar 2 14:48:13 UTC 2020


    Date: Monday, March 2, 2020 @ 14:48:13
  Author: arojas
Revision: 376496

Fix accessing accounts with glib 2.64 (FS#65674)

Modified:
  telepathy-mission-control/trunk/PKGBUILD

----------+
 PKGBUILD |   33 ++++++++++++++++++++-------------
 1 file changed, 20 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-02 14:21:03 UTC (rev 376495)
+++ PKGBUILD	2020-03-02 14:48:13 UTC (rev 376496)
@@ -6,7 +6,7 @@
 
 pkgname=telepathy-mission-control
 pkgver=5.16.5
-pkgrel=1
+pkgrel=2
 pkgdesc="A Telepathy component providing abstraction of some of the details of connection managers."
 arch=(x86_64)
 url="http://telepathy.freedesktop.org/wiki/Mission Control"
@@ -13,24 +13,31 @@
 license=(LGPL2.1)
 depends=(telepathy-glib dconf libnm)
 makedepends=(libxslt python gtk-doc)
-source=(https://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz{,.asc})
+source=(https://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz{,.asc}
+        tmc-glib-2.64.patch::"https://gitlab.freedesktop.org/telepathy/telepathy-mission-control/commit/d8dab08f.patch")
 sha256sums=('4c6b433b8b9079fd7df3e29aefcad6755a2081a9a634ffb6b33936c7d0d8bd03'
-            'SKIP')
+            'SKIP'
+            'd28f42c32467c341b2b7fb5ab48e816aa000aeca3d9131edb799740fef8439bd')
 validpgpkeys=(38FDAD7D73CE1AE7A16200291F3845DD1432A9FB  # Georgios Kiagiadakis <gkiagia at tolabaki.gr>
               AA33B0D27868E36C151780F0FE0B6D736B1195ED) # Alexandr Akulich <akulichalexander at gmail.com>
 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../tmc-glib-2.64.patch # Fix spaces in property name
+}
+
 build() {
-    cd $pkgname-$pkgver
-    ./configure --prefix=/usr --libexecdir=/usr/lib/telepathy \
-        --with-connectivity=nm \
-        --enable-gtk-doc \
-        --disable-upower \
-        --disable-static \
-        --disable-schemas-compile
-    make
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --libexecdir=/usr/lib/telepathy \
+      --with-connectivity=nm \
+      --enable-gtk-doc \
+      --disable-upower \
+      --disable-static \
+      --disable-schemas-compile
+  make
 }
 
 package() {
-    cd $pkgname-$pkgver
-    make DESTDIR="$pkgdir" install
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list