25 lines
621 B
Plaintext
25 lines
621 B
Plaintext
# Description: serialization and deserialization of JSON objects
|
|
# URL: https://wiki.gnome.org/action/show/Projects/JsonGlib
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
# Depends on: glib meson ninja gobject-introspection
|
|
|
|
name=json-glib
|
|
version=1.6.0
|
|
release=1
|
|
source=(https://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
sed "/^subdir('po')/d" -i meson.build
|
|
|
|
meson setup build . \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
-D gtk_doc=disabled \
|
|
-D tests=false
|
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
DESTDIR=$PKG meson install -C build
|
|
}
|