libosinfo: update to 1.2.0.

This commit is contained in:
maxice8 2018-06-20 13:39:49 -03:00
parent 62f9018f52
commit 1260ab2862

View File

@ -1,18 +1,20 @@
# Template file for 'libosinfo'
pkgname=libosinfo
version=1.1.0
revision=2
version=1.2.0
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-tests $(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool glib-devel wget"
makedepends="libglib-devel libsoup-gnome-devel libxml2-devel libxslt-devel vala-devel $(vopt_if gir gobject-introspection)"
configure_args="--disable-static $(vopt_enable gir introspection)"
hostmakedepends="glib-devel intltool pkg-config wget"
makedepends="libxslt-devel vala-devel $(vopt_if gir 'gobject-introspection')"
depends="osinfo-db"
checkdepends="libosinfo"
short_desc="GObject based library API for managing info about operating systems"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://libosinfo.org/"
license="GPL-2, LGPL-2.1"
changelog="https://gitlab.com/libosinfo/libosinfo/raw/master/NEWS"
distfiles="https://releases.pagure.org/libosinfo/${pkgname}-${version}.tar.gz"
checksum=600f43a4a8dae5086a01a3d44bcac2092b5fa1695121289806d544fb287d3136
checksum=ee254fcf3f92447787a87b3f6df190c694a787de46348c45101e8dc7b29b5a78
# Package build options
build_options="gir"
@ -26,9 +28,10 @@ libosinfo-devel_package() {
depends="libglib-devel ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/*.so
vmove "usr/lib/*.so"
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
vmove usr/share/vala