[arch-commits] Commit in libosinfo/repos/community-x86_64 (PKGBUILD PKGBUILD)

Balló György bgyorgy at archlinux.org
Thu Jan 9 01:25:31 UTC 2020


    Date: Thursday, January 9, 2020 @ 01:25:30
  Author: bgyorgy
Revision: 550954

archrelease: copy trunk to community-x86_64

Added:
  libosinfo/repos/community-x86_64/PKGBUILD
    (from rev 550953, libosinfo/trunk/PKGBUILD)
Deleted:
  libosinfo/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   74 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 33 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-09 01:25:27 UTC (rev 550953)
+++ PKGBUILD	2020-01-09 01:25:30 UTC (rev 550954)
@@ -1,41 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Stefano Facchini <stefano.facchini at gmail.com>
-
-pkgname=libosinfo
-pkgver=1.6.0
-pkgrel=1
-pkgdesc="GObject based library API for managing information about operating systems, hypervisors and the (virtual) hardware devices they can support"
-arch=('x86_64')
-url="https://libosinfo.org/"
-license=('GPL' 'LGPL')
-depends=('glib2' 'libsoup' 'libxslt' 'osinfo-db')
-makedepends=('check' 'gobject-introspection' 'vala' 'gtk-doc')
-source=(https://releases.pagure.org/libosinfo/$pkgname-$pkgver.tar.gz{,.asc})
-validpgpkeys=('DAF3A6FDB26B62912D0E8E3FBE86EBB415104FDF'  # Daniel P. Berrange
-              '09B9C8FF223EF113AFA06A39EE926C2BDACC177B') # Fabiano Fidêncio <fidencio at redhat.com>
-sha256sums=('3c385c1cceb46301fdc79115e7b28e3df7aa26fafce0a787a60132a86a1990c7'
-            'SKIP')
-
-prepare() {
-  cd $pkgname-$pkgver
-  sed -i '/export LC_ALL = C/d' maint.mk
-}
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-              --with-usb-ids-path=/usr/share/hwdata/usb.ids \
-              --with-pci-ids-path=/usr/share/hwdata/pci.ids \
-              --enable-gtk-doc
-  make
-}
-
-check() {
-  cd $pkgname-$pkgver
-  make check || :
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: libosinfo/repos/community-x86_64/PKGBUILD (from rev 550953, libosinfo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-09 01:25:30 UTC (rev 550954)
@@ -0,0 +1,33 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Stefano Facchini <stefano.facchini at gmail.com>
+
+pkgname=libosinfo
+pkgver=1.7.1
+pkgrel=1
+pkgdesc="GObject based library API for managing information about operating systems, hypervisors and the (virtual) hardware devices they can support"
+arch=('x86_64')
+url="https://libosinfo.org/"
+license=('GPL' 'LGPL')
+depends=('glib2' 'libsoup' 'libxslt' 'osinfo-db')
+makedepends=('check' 'gobject-introspection' 'gtk-doc' 'meson' 'vala')
+source=(https://releases.pagure.org/libosinfo/$pkgname-$pkgver.tar.xz{,.asc})
+validpgpkeys=('DAF3A6FDB26B62912D0E8E3FBE86EBB415104FDF'  # Daniel P. Berrange
+              '09B9C8FF223EF113AFA06A39EE926C2BDACC177B') # Fabiano Fidêncio <fidencio at redhat.com>
+sha256sums=('bb26106ad4a9f8523f81b332d2aedb717cdcb0500b3f68ba7c6ff945c4d627e9'
+            'SKIP')
+
+build() {
+  arch-meson $pkgname-$pkgver build \
+    -D with-usb-ids-path=/usr/share/hwdata/usb.ids \
+    -D with-pci-ids-path=/usr/share/hwdata/pci.ids
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}
+



More information about the arch-commits mailing list