parent
04cd21d871
commit
7af62cafa5
|
@ -1,11 +1,13 @@
|
||||||
# Template file for 'json-glib'
|
# Template file for 'json-glib'
|
||||||
pkgname=json-glib
|
pkgname=json-glib
|
||||||
version=1.8.0
|
version=1.9.2
|
||||||
revision=1
|
revision=1
|
||||||
build_style=meson
|
build_style=meson
|
||||||
build_helper="gir"
|
build_helper="gir"
|
||||||
configure_args="$(vopt_feature gir introspection)"
|
configure_args="$(vopt_feature gir introspection)
|
||||||
hostmakedepends="pkg-config glib-devel gettext"
|
$(vopt_feature gtk_doc documentation)"
|
||||||
|
hostmakedepends="pkg-config glib-devel gettext python3-docutils
|
||||||
|
$(vopt_if gtk_doc gi-docgen)"
|
||||||
makedepends="libglib-devel"
|
makedepends="libglib-devel"
|
||||||
short_desc="JSON parser for GLib-based libraries and applications"
|
short_desc="JSON parser for GLib-based libraries and applications"
|
||||||
maintainer="skmpz <dem.procopiou@gmail.com>"
|
maintainer="skmpz <dem.procopiou@gmail.com>"
|
||||||
|
@ -13,12 +15,16 @@ license="LGPL-2.1-or-later"
|
||||||
homepage="https://live.gnome.org/JsonGlib"
|
homepage="https://live.gnome.org/JsonGlib"
|
||||||
changelog="https://gitlab.gnome.org/GNOME/json-glib/-/raw/master/NEWS"
|
changelog="https://gitlab.gnome.org/GNOME/json-glib/-/raw/master/NEWS"
|
||||||
distfiles="${GNOME_SITE}/json-glib/${version%.*}/json-glib-${version}.tar.xz"
|
distfiles="${GNOME_SITE}/json-glib/${version%.*}/json-glib-${version}.tar.xz"
|
||||||
checksum=97ef5eb92ca811039ad50a65f06633f1aae64792789307be7170795d8b319454
|
checksum=8f9f04e0045bda82affd464ee575796600fe29014b817392a3b72ceb2d10c595
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="gir"
|
build_options="gir gtk_doc"
|
||||||
build_options_default="gir"
|
build_options_default="gir"
|
||||||
|
|
||||||
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
|
build_options_default+=" gtk_doc"
|
||||||
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -r ${DESTDIR}/usr/share/installed-tests
|
rm -r ${DESTDIR}/usr/share/installed-tests
|
||||||
rm -r ${DESTDIR}/usr/libexec/installed-tests
|
rm -r ${DESTDIR}/usr/libexec/installed-tests
|
||||||
|
@ -34,5 +40,8 @@ json-glib-devel_package() {
|
||||||
fi
|
fi
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
|
if [ "$build_option_gtk_doc" ]; then
|
||||||
|
vmove usr/share/doc
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue