New package: libxmlb-0.1.3

This commit is contained in:
maxice8 2018-11-07 15:46:10 -02:00 committed by maxice8
parent 81df9409d3
commit edc8f437c4
3 changed files with 35 additions and 0 deletions

View file

@ -3327,3 +3327,4 @@ libmatrix_client.so.0.2.0 mtxclient-0.2.0_1
libcrypto.so.44 libcrypto44-2.8.2_1
libtls.so.18 libtls18-2.8.2_1
libssl.so.46 libssl46-2.8.2_1
libxmlb.so.1 libxmlb-0.1.3_1

1
srcpkgs/libxmlb-devel Symbolic link
View file

@ -0,0 +1 @@
libxmlb

33
srcpkgs/libxmlb/template Normal file
View file

@ -0,0 +1,33 @@
# Template file for 'libxmlb'
pkgname=libxmlb
version=0.1.3
revision=1
build_style=meson
configure_args="-Dgtkdoc=false -Dtests=false -Dstemmer=false
-Dintrospection=$(vopt_if gir true false)"
hostmakedepends="pkg-config python3"
makedepends="libglib-devel libuuid-devel $(vopt_if gir gobject-introspection)"
short_desc="Library to help create and query binary XML blobs"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/hughsie/libxmlb"
distfiles="https://github.com/hughsie/libxmlb/archive/${version}.tar.gz"
checksum=51b4498cc9c33c08e0d7786a25f8986b9ab9cd7969b437750734b7f4a07f2e51
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
libxmlb-devel_package() {
depends="libxmlb-${version}_${revision} libglib-devel libuuid-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
if [ "$build_options_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}