2015-11-30 16:36:40 +01:00
|
|
|
# Description: serialization and deserialization of JSON objects
|
|
|
|
# URL: https://wiki.gnome.org/action/show/Projects/JsonGlib
|
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2019-01-03 10:24:30 +01:00
|
|
|
# Depends on: glib meson ninja gobject-introspection
|
2015-11-30 16:36:40 +01:00
|
|
|
|
|
|
|
name=json-glib
|
2020-09-13 12:38:17 +02:00
|
|
|
version=1.6.0
|
2015-11-30 16:36:40 +01:00
|
|
|
release=1
|
2020-09-13 17:50:09 +02:00
|
|
|
source=(https://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz)
|
2015-11-30 16:36:40 +01:00
|
|
|
|
|
|
|
build() {
|
2020-09-13 17:50:09 +02:00
|
|
|
cd $name-$version
|
2015-11-30 16:36:40 +01:00
|
|
|
|
2020-09-13 17:50:09 +02:00
|
|
|
sed "/^subdir('po')/d" -i meson.build
|
2015-11-30 16:36:40 +01:00
|
|
|
|
2020-11-21 17:56:06 +01:00
|
|
|
meson setup build . \
|
|
|
|
--prefix=/usr \
|
|
|
|
--buildtype=plain \
|
|
|
|
-D gtk_doc=disabled \
|
|
|
|
-D tests=false
|
2020-09-13 17:50:09 +02:00
|
|
|
|
2020-11-21 17:56:06 +01:00
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2015-11-30 16:36:40 +01:00
|
|
|
}
|