* update libosinfo to 1.11.0-3

This commit is contained in:
Alexander Baldeck 2024-08-20 14:42:58 +02:00
parent 4d34a43330
commit be2717ed00
3 changed files with 41 additions and 10 deletions

27
libosinfo/.SRCINFO Normal file
View File

@ -0,0 +1,27 @@
pkgbase = libosinfo
pkgdesc = GObject based library API for managing information about operating systems, hypervisors and the (virtual) hardware devices they can support
pkgver = 1.11.0
pkgrel = 3
url = https://libosinfo.org/
arch = x86_64
license = GPL-2.0-or-later AND LGPL-2.1-or-later
makedepends = git
makedepends = glib2-devel
makedepends = gobject-introspection
makedepends = meson
makedepends = vala
depends = gcc-libs
depends = glib2
depends = glibc
depends = hwdata
depends = libsoup3
depends = libxml2
depends = libxslt
depends = osinfo-db
source = git+https://gitlab.com/libosinfo/libosinfo.git?signed#tag=v1.11.0
validpgpkeys = DAF3A6FDB26B62912D0E8E3FBE86EBB415104FDF
validpgpkeys = 09B9C8FF223EF113AFA06A39EE926C2BDACC177B
validpgpkeys = 206D3B352F566F3B0E6572E997D9123DE37A484F
b2sums = db8f3bd42b2b165c0d46e58fc4e6f15159381e5499130ea692374a9951ca316702b31a44a7d38304f1f76de06a5fa92b4fec68fd479b18706d03e29e509f9c11
pkgname = libosinfo

View File

@ -0,0 +1,4 @@
[libosinfo]
source = "git"
git = "https://gitlab.com/libosinfo/libosinfo.git"
prefix = "v"

View File

@ -4,26 +4,26 @@
pkgname=libosinfo
pkgver=1.11.0
pkgrel=2
pkgrel=3
pkgdesc='GObject based library API for managing information about operating systems, hypervisors and the (virtual) hardware devices they can support'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='https://libosinfo.org/'
license=('GPL-2.0-or-later AND LGPL-2.1-or-later')
depends=('gcc-libs' 'glib2' 'glibc' 'hwdata' 'libsoup3' 'libxml2' 'libxslt' 'osinfo-db')
makedepends=('gobject-introspection' 'meson' 'vala')
source=("https://releases.pagure.org/libosinfo/$pkgname-$pkgver.tar.xz"{,.asc}
'libosinfo-Make-xmlError-struct-constant.patch')
makedepends=('git' 'glib2-devel' 'gobject-introspection' 'meson' 'vala')
source=("git+https://gitlab.com/libosinfo/$pkgname.git?signed#tag=v$pkgver")
b2sums=('db8f3bd42b2b165c0d46e58fc4e6f15159381e5499130ea692374a9951ca316702b31a44a7d38304f1f76de06a5fa92b4fec68fd479b18706d03e29e509f9c11')
validpgpkeys=('DAF3A6FDB26B62912D0E8E3FBE86EBB415104FDF' # Daniel P. Berrange
'09B9C8FF223EF113AFA06A39EE926C2BDACC177B' # Fabiano Fidêncio
'206D3B352F566F3B0E6572E997D9123DE37A484F') # Victor Toso de Carvalho <me@victortoso.com>
sha256sums=('1bf96eec9e1460f3d1a713163cca1ff0d480a3490b50899292f14548b3a96b60'
'SKIP'
'1b4a5d69750a660d63b4408ffc9e6cc247e4ae6a4d52c033c6bdc3c918a41a65')
prepare() {
cd $pkgname
# Fix build with libxml2 2.12.0
patch -d $pkgname-$pkgver -Np1 -i ../libosinfo-Make-xmlError-struct-constant.patch
git cherry-pick -n 5bbdd06503456784c5ffa22409e8bab50470d673
sed -i 's/-Werror//' meson.build
}
build() {
@ -32,7 +32,7 @@ build() {
-D with-pci-ids-path=/usr/share/hwdata/pci.ids
)
arch-meson $pkgname-$pkgver build "${meson_options[@]}"
arch-meson $pkgname build "${meson_options[@]}"
meson compile -C build
}