summaryrefslogtreecommitdiff
path: root/json-glib
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2021-01-29 12:18:16 +0000
committerTim Biermann <tbier@posteo.de>2021-01-29 12:18:16 +0000
commit29663a752afbc5083688bdbbfe0438234ca73752 (patch)
tree3f2e53c32eeaf7191926c0939ad79afccef2ef62 /json-glib
parent36f0f854c9fa435ca62741906c99233061876335 (diff)
downloadopt-29663a752afbc5083688bdbbfe0438234ca73752.tar.gz
opt-29663a752afbc5083688bdbbfe0438234ca73752.tar.xz
json-glib: adopted port
Diffstat (limited to 'json-glib')
-rw-r--r--json-glib/.signature4
-rw-r--r--json-glib/Pkgfile24
2 files changed, 13 insertions, 15 deletions
diff --git a/json-glib/.signature b/json-glib/.signature
index c7f1c4945..b2755aeb2 100644
--- a/json-glib/.signature
+++ b/json-glib/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/bNfdS5rJBY340KIY5PArrhR1j1T7Pk9tpQFheo7G/X/57cyI/3yMrem7Zt8Q0KBEYXiuuJztWKi/ocnr65p9AQ=
-SHA256 (Pkgfile) = cee27e5898156e89042126195940aa6307f93b67112f7bf42a2697c61519f105
+RWSE3ohX2g5d/dSkWIU+4GqQ6pDAAW6Hx9tCvNYa2J7YR9QXjN5nY9PLuUaZrwYnTk5MfcVLFbbez1QpNiGjn2dt4Tz1sWSryQ8=
+SHA256 (Pkgfile) = fea538431733787a75635d48dc5e939355ba7f1ebe70ee90bd8c6576e074f603
SHA256 (.footprint) = 2e360bf5f866ba05370096a827e1b610de5f219bb2e85d466a2a5f7f7c6d1206
SHA256 (json-glib-1.6.0.tar.xz) = 0d7c67602c4161ea7070fab6c5823afd9bd7f7bc955f652a50d3753b08494e73
diff --git a/json-glib/Pkgfile b/json-glib/Pkgfile
index 2d2b89a1b..d229995e3 100644
--- a/json-glib/Pkgfile
+++ b/json-glib/Pkgfile
@@ -1,7 +1,7 @@
# 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
+# URL: https://wiki.gnome.org/action/show/Projects/JsonGlib
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: glib meson ninja gobject-introspection
name=json-glib
version=1.6.0
@@ -9,16 +9,14 @@ release=1
source=(https://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz)
build() {
- cd $name-$version
+ sed "/^subdir('po')/d" -i $name-$version/meson.build
- sed "/^subdir('po')/d" -i meson.build
+ meson setup build $name-$version \
+ --prefix=/usr \
+ --buildtype=plain \
+ -D gtk_doc=disabled \
+ -D tests=false
- 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
+ meson compile -C build -j ${JOBS:-1}
+ DESTDIR=$PKG meson install -C build
}

Generated by cgit