ec82afebba
Closes: #30144 [via git-merge-pr]
30 lines
889 B
Bash
30 lines
889 B
Bash
# Template file for 'json-glib'
|
|
pkgname=json-glib
|
|
version=1.6.2
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Dintrospection=$(vopt_if gir enabled disabled)"
|
|
hostmakedepends="pkg-config glib-devel"
|
|
makedepends="libglib-devel"
|
|
short_desc="JSON parser for GLib-based libraries and applications"
|
|
maintainer="skmpz <dem.procopiou@gmail.com>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://live.gnome.org/JsonGlib"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=a33d66c6d038bda46b910c6c6d59c4e15db014e363dc997a0414c2e07d134f24
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
json-glib-devel_package() {
|
|
depends="libglib-devel ${sourcepkg}-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/share
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|