json-glib: update to 1.0.4.
This commit is contained in:
parent
16d77ff5c0
commit
b4e7b4ff27
1 changed files with 5 additions and 11 deletions
|
@ -1,16 +1,17 @@
|
||||||
# Template build file for 'json-glib'.
|
# Template build file for 'json-glib'.
|
||||||
pkgname=json-glib
|
pkgname=json-glib
|
||||||
version=1.0.2
|
version=1.0.4
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config glib-devel"
|
configure_args="$(vopt_enable gir introspection)"
|
||||||
|
hostmakedepends="pkg-config glib-devel $(vopt_if gir gobject-introspection)"
|
||||||
makedepends="libglib-devel"
|
makedepends="libglib-devel"
|
||||||
short_desc="A JSON parser for GLib-based libraries and applications"
|
short_desc="A JSON parser for GLib-based libraries and applications"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://live.gnome.org/JsonGlib"
|
homepage="http://live.gnome.org/JsonGlib"
|
||||||
license="LGPL-2"
|
license="LGPL-2"
|
||||||
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=887bd192da8f5edc53b490ec51bf3ffebd958a671f5963e4f3af32c22e35660a
|
checksum=80f3593cb6bd13f1465828e46a9f740e2e9bd3cd2257889442b3e62bd6de05cd
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="gir"
|
build_options="gir"
|
||||||
|
@ -20,15 +21,8 @@ if [ -z "$CROSS_BUILD" ]; then
|
||||||
build_options_default="gir"
|
build_options_default="gir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$build_option_gir" ]; then
|
|
||||||
configure_args+=" --enable-introspection"
|
|
||||||
makedepends+=" gobject-introspection"
|
|
||||||
else
|
|
||||||
configure_args+=" --disable-introspection"
|
|
||||||
fi
|
|
||||||
|
|
||||||
json-glib-devel_package() {
|
json-glib-devel_package() {
|
||||||
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
|
depends="libglib-devel ${sourcepkg}-${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
|
|
Loading…
Reference in a new issue