diff --git a/libosinfo/.SRCINFO b/libosinfo/.SRCINFO new file mode 100644 index 0000000000..510b5cfadb --- /dev/null +++ b/libosinfo/.SRCINFO @@ -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 diff --git a/libosinfo/.nvchecker.toml b/libosinfo/.nvchecker.toml new file mode 100644 index 0000000000..3af7f2adb8 --- /dev/null +++ b/libosinfo/.nvchecker.toml @@ -0,0 +1,4 @@ +[libosinfo] +source = "git" +git = "https://gitlab.com/libosinfo/libosinfo.git" +prefix = "v" diff --git a/libosinfo/PKGBUILD b/libosinfo/PKGBUILD index 7848aa028b..c41bd12781 100644 --- a/libosinfo/PKGBUILD +++ b/libosinfo/PKGBUILD @@ -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 -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 }