New package: rest0-0.8.1

This commit is contained in:
Michal Vasilek 2022-10-22 16:13:21 +02:00
parent 3f0515a47b
commit b6bab10cd8
3 changed files with 45 additions and 2 deletions

View File

@ -875,8 +875,8 @@ libcogl-gst.so.20 cogl-1.18.0_1
libcogl-gles2.so.20 cogl-1.18.0_1
libcogl-path.so.20 cogl-1.18.0_1
libp11-kit.so.0 p11-kit-0.7_1
librest-0.7.so.0 rest-0.7_1
librest-extras-0.7.so.0 rest-0.7_1
librest-0.7.so.0 rest0-0.8.1_1
librest-extras-0.7.so.0 rest0-0.8.1_1
libgoa-1.0.so.0 gnome-online-accounts-3.2.0_1
libgoa-backend-1.0.so.1 gnome-online-accounts-3.10.0_1
liboauth.so.0 liboauth-0.9.4_1

1
srcpkgs/rest0-devel Symbolic link
View File

@ -0,0 +1 @@
rest0

42
srcpkgs/rest0/template Normal file
View File

@ -0,0 +1,42 @@
# Template file for 'rest0'
pkgname=rest0
version=0.8.1
revision=1
wrksrc="rest-${version}"
build_style=gnu-configure
build_helper="gir"
configure_args="$(vopt_enable gir introspection) --disable-static
--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
depends="ca-certificates"
short_desc="RESTful library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://gitlab.gnome.org/GNOME/librest"
changelog="https://gitlab.gnome.org/GNOME/librest/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/rest/${version%.*}/rest-${version}.tar.xz"
checksum=0513aad38e5d3cedd4ae3c551634e3be1b9baaa79775e53b2dba9456f15b01c9
# Package build options
build_options="gir"
build_options_default="gir"
pre_configure() {
autoreconf -fi
}
rest0-devel_package() {
depends="${sourcepkg}>=${version}_${revision} libglib-devel libsoup-devel
libxml2-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}