diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-12-03 18:55:37 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-12-03 19:06:26 +0100 |
commit | 3f727984ce1f07561db7549119142ea124c3d280 (patch) | |
tree | f9b38fb4fda32378c9a2bbfe96da7b5b8bdbf302 /community/libosinfo/APKBUILD | |
parent | 07407a05b181b0c50614f3fa65e131ea119d5598 (diff) | |
download | aports-3f727984ce1f07561db7549119142ea124c3d280.tar.bz2 aports-3f727984ce1f07561db7549119142ea124c3d280.tar.xz |
community/libosinfo: upgrade to 1.7.0
Diffstat (limited to 'community/libosinfo/APKBUILD')
-rw-r--r-- | community/libosinfo/APKBUILD | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/community/libosinfo/APKBUILD b/community/libosinfo/APKBUILD index 22717caa6e..d219d4df97 100644 --- a/community/libosinfo/APKBUILD +++ b/community/libosinfo/APKBUILD @@ -1,50 +1,50 @@ # Contributor: Leo <thinkabit.ukim@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libosinfo -pkgver=1.6.0 -pkgrel=2 +pkgver=1.7.0 +pkgrel=0 pkgdesc="A library for managing OS information for virtualization" url="https://libosinfo.org/" arch="all" license="LGPL-2.0-or-later" depends="hwids osinfo-db" -makedepends="glib-dev libsoup-dev libxml2-dev libxslt-dev vala intltool - gobject-introspection-dev check-dev perl-dev - automake autoconf libtool xz" +makedepends=" + meson + glib-dev + libsoup-dev + libxml2-dev + libxslt-dev + gobject-introspection-dev + vala + perl + " subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" -source="https://releases.pagure.org/$pkgname/$pkgname-$pkgver.tar.gz" +source="https://gitlab.com/libosinfo/libosinfo/-/archive/v$pkgver/libosinfo-v$pkgver.tar.gz" +builddir="$srcdir/libosinfo-v$pkgver" # secfixes: # 1.5.0-r1: # - CVE-2019-13313 -prepare() { - default_prepare - autoreconf -fi -} - build() { - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ + meson \ --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --enable-introspection=yes \ - --enable-vala=yes \ - --with-usb-ids-path=/usr/share/hwdata/usb.ids \ - --with-pci-ids-path=/usr/share/hwdata/pci.ids - make + -Denable-gtk-doc=false \ + -Denable-introspection=enabled \ + -Denable-tests=true \ + -Denable-vala=enabled \ + -Dwith-pci-ids-path=/usr/share/hwdata/pci.ids \ + -Dwith-usb-ids-path=/usr/share/hwdata/usb.ids \ + . output + ninja -C output } check() { - make check + ninja -C output test } package() { - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" ninja -C output install } -sha512sums="53359095e40ef12e0cc142ddc92119b4a753bb47a728f13a8ff500a19108a44eb1f6ebe4ed67b04347a707dd0c0d55bcfe6815b57d187237dddd7376ebe9cf5e libosinfo-1.6.0.tar.gz" +sha512sums="367eb9235e48cff80115dbce2961dc3221af8768b656a12268a1bb90d64a42301b7e030b12d04a9325c1d200cd17fdd5fc6a51d7b474f3befd7ae37df3c590cc libosinfo-v1.7.0.tar.gz" |