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

Maxime Gauduin alucryd at archlinux.org
Fri May 5 19:57:07 UTC 2017


    Date: Friday, May 5, 2017 @ 19:57:06
  Author: alucryd
Revision: 295338

Add Vala bindings

Modified:
  appstream/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-05-05 18:48:02 UTC (rev 295337)
+++ PKGBUILD	2017-05-05 19:57:06 UTC (rev 295338)
@@ -6,13 +6,13 @@
 pkgbase=appstream
 pkgname=(appstream appstream-qt)
 pkgver=0.11.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Provides a standard for creating app stores across distributions"
 arch=(i686 x86_64)
 url="http://distributions.freedesktop.org/wiki/AppStream"
 license=(GPL)
 depends=(libyaml libxml2 libstemmer glib2)
-makedepends=(cmake xmlto gobject-introspection python2 docbook-xsl qt5-base itstool)
+makedepends=(cmake xmlto gobject-introspection python2 docbook-xsl qt5-base itstool vala)
 source=("https://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz"{,.asc}
         update-appstream-index.hook)
 sha256sums=('521f30164c01654a7416623a317aeace20a9bec717b37f0ab3cc1cbe7cfbbafa'
@@ -28,9 +28,10 @@
   cd build
 
   cmake ../AppStream-$pkgver \
-	-DQT=ON \
-	-DCMAKE_INSTALL_LIBDIR=lib \
-	-DCMAKE_BUILD_TYPE=Release
+  -DQT=ON \
+  -DVAPI=ON \
+  -DCMAKE_INSTALL_LIBDIR=lib \
+  -DCMAKE_BUILD_TYPE=Release
   make
 }
 
@@ -38,7 +39,7 @@
   cd build
 
   make DESTDIR="$pkgdir" install
-  
+
 # provided by -qt subpackage
   rm -r "$pkgdir"/usr/{include/AppStreamQt,lib/cmake,lib/libAppStreamQt.*}
 



More information about the arch-commits mailing list