Mercurial > vanilla
comparison text/json-glib/json-glib.sh @ 902:a133976e0783
vanilla: remove all origins, closes #2203
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 26 Aug 2019 12:14:53 +0200 |
parents | e91fbcb3d1ef |
children | ddab65a5b3f5 |
comparison
equal
deleted
inserted
replaced
901:e2de15b7d2b1 | 902:a133976e0783 |
---|---|
19 PKGVERSION=1.4.4 | 19 PKGVERSION=1.4.4 |
20 PKGREVISION=1 | 20 PKGREVISION=1 |
21 PKGLICENSE="LGPLv21" | 21 PKGLICENSE="LGPLv21" |
22 PKGSUMMARY="JSON library based on glib" | 22 PKGSUMMARY="JSON library based on glib" |
23 PKGDOWNLOAD="https://download.gnome.org/sources/$PKGNAME/${PKGVERSION%.*}/$PKGNAME-$PKGVERSION.tar.xz" | 23 PKGDOWNLOAD="https://download.gnome.org/sources/$PKGNAME/${PKGVERSION%.*}/$PKGNAME-$PKGVERSION.tar.xz" |
24 PKGDEPENDS="dev/meson:build lib/glib text/libxslt" | 24 PKGDEPENDS="meson:build glib libxslt" |
25 PKGOPTIONS="INTROSPECTION" | 25 PKGOPTIONS="INTROSPECTION" |
26 | 26 |
27 : ${CC:=clang} | 27 : ${CC:=clang} |
28 : ${CFLAGS:=-O2} | 28 : ${CFLAGS:=-O2} |
29 : ${CXX:=clang++} | 29 : ${CXX:=clang++} |
30 : ${CXXFLAGS:=-O2} | 30 : ${CXXFLAGS:=-O2} |
31 : ${LDFLAGS:=} | 31 : ${LDFLAGS:=} |
32 : ${INTROSPECTION:=yes} | 32 : ${INTROSPECTION:=yes} |
33 | 33 |
34 if [ "$INTROSPECTION" = "yes" ]; then | 34 if [ "$INTROSPECTION" = "yes" ]; then |
35 PKGDEPENDS="dev/gobject-introspection:build $PKGDEPENDS" | 35 PKGDEPENDS="gobject-introspection:build $PKGDEPENDS" |
36 with_introspection="-D introspection=true" | 36 with_introspection="-D introspection=true" |
37 else | 37 else |
38 with_introspection="-D introspection=true" | 38 with_introspection="-D introspection=true" |
39 fi | 39 fi |
40 | 40 |