rest: update to 0.9.1.
This commit is contained in:
parent
b6bab10cd8
commit
d5c66d8281
3 changed files with 30 additions and 13 deletions
|
@ -876,7 +876,9 @@ 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 rest0-0.8.1_1
|
||||
librest-1.0.so.0 rest-0.9.1_1
|
||||
librest-extras-0.7.so.0 rest0-0.8.1_1
|
||||
librest-extras-1.0.so.0 rest-0.9.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
|
||||
|
|
10
srcpkgs/rest/patches/cross.patch
Normal file
10
srcpkgs/rest/patches/cross.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- a/docs/meson.build
|
||||
+++ b/docs/meson.build
|
||||
@@ -1,6 +1,7 @@
|
||||
if get_option('gtk_doc') and get_option('introspection')
|
||||
dependency('gi-docgen', version: '>= 2021.6',
|
||||
fallback: ['gi-docgen', 'dummy_dep'],
|
||||
+ native: true,
|
||||
)
|
||||
|
||||
gidocgen = find_program('gi-docgen', required: get_option('gtk_doc'))
|
|
@ -1,36 +1,41 @@
|
|||
# Template file for 'rest'
|
||||
pkgname=rest
|
||||
version=0.8.1
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
version=0.9.1
|
||||
revision=1
|
||||
build_style=meson
|
||||
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"
|
||||
configure_args="$(vopt_bool gir introspection) -Dexamples=false -Dsoup2=false
|
||||
-Dca_certificates_path=/etc/ssl/certs/ca-certificates.crt"
|
||||
hostmakedepends="pkg-config glib-devel gi-docgen"
|
||||
makedepends="libsoup3-devel json-glib-devel libxml2-devel"
|
||||
depends="ca-certificates"
|
||||
short_desc="RESTful library"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="http://www.gnome.org"
|
||||
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||
checksum=0513aad38e5d3cedd4ae3c551634e3be1b9baaa79775e53b2dba9456f15b01c9
|
||||
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=9266a5c10ece383e193dfb7ffb07b509cc1f51521ab8dad76af96ed14212c2e3
|
||||
|
||||
# Package build options
|
||||
build_options="gir"
|
||||
build_options_default="gir"
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
pre_build() {
|
||||
# help gi-docgen find gi files on cross
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
export XDG_DATA_DIRS=/usr/$XBPS_CROSS_TRIPLET/usr/share/
|
||||
fi
|
||||
}
|
||||
|
||||
rest-devel_package() {
|
||||
depends="rest-${version}_${revision} libglib-devel libsoup-devel
|
||||
depends="${sourcepkg}>=${version}_${revision} libglib-devel libsoup3-devel
|
||||
libxml2-devel"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/share/doc
|
||||
vmove "usr/lib/*.so"
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
|
|
Loading…
Add table
Reference in a new issue