Mercurial > vanilla
comparison crypto/gcr/gcr.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 | ae55d9077f70 |
children | ddab65a5b3f5 |
comparison
equal
deleted
inserted
replaced
901:e2de15b7d2b1 | 902:a133976e0783 |
---|---|
19 PKGVERSION=3.33.4 | 19 PKGVERSION=3.33.4 |
20 PKGREVISION=1 | 20 PKGREVISION=1 |
21 PKGLICENSE="LGPLv20" | 21 PKGLICENSE="LGPLv20" |
22 PKGSUMMARY="library for displaying certificates and crypto UI" | 22 PKGSUMMARY="library for displaying certificates and crypto UI" |
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="lib/glib" | 24 PKGDEPENDS="glib" |
25 PKGOPTIONS="GTK INTROSPECTION NLS VALA" | 25 PKGOPTIONS="GTK INTROSPECTION NLS VALA" |
26 | 26 |
27 : ${CHOST:=$(uname -m)-linux-musl} | 27 : ${CHOST:=$(uname -m)-linux-musl} |
28 : ${CBUILD:=$(uname -m)-linux-musl} | 28 : ${CBUILD:=$(uname -m)-linux-musl} |
29 : ${CC:=clang} | 29 : ${CC:=clang} |
36 : ${INTROSPECTION:=yes} | 36 : ${INTROSPECTION:=yes} |
37 : ${NLS:=yes} | 37 : ${NLS:=yes} |
38 : ${VALA:=yes} | 38 : ${VALA:=yes} |
39 | 39 |
40 if [ "$GTK" = "yes" ]; then | 40 if [ "$GTK" = "yes" ]; then |
41 PKGDEPENDS="graphics/gtk $PKGDEPENDS" | 41 PKGDEPENDS="gtk $PKGDEPENDS" |
42 with_gtk="--with-gtk" | 42 with_gtk="--with-gtk" |
43 else | 43 else |
44 with_gtk="--without-gtk" | 44 with_gtk="--without-gtk" |
45 fi | 45 fi |
46 | 46 |
47 if [ "$INTROSPECTION" = "yes" ]; then | 47 if [ "$INTROSPECTION" = "yes" ]; then |
48 PKGDEPENDS="dev/gobject-introspection:build text/libxslt $PKGDEPENDS" | 48 PKGDEPENDS="gobject-introspection:build libxslt $PKGDEPENDS" |
49 with_introspection="--enable-introspection" | 49 with_introspection="--enable-introspection" |
50 else | 50 else |
51 with_introspection="--disable-introspection" | 51 with_introspection="--disable-introspection" |
52 fi | 52 fi |
53 | 53 |
54 if [ "$NLS" = "yes" ]; then | 54 if [ "$NLS" = "yes" ]; then |
55 PKGDEPENDS="core/gettext $PKGDEPENDS" | 55 PKGDEPENDS="gettext $PKGDEPENDS" |
56 with_nls="--enable-nls" | 56 with_nls="--enable-nls" |
57 else | 57 else |
58 with_nls="--disable-nls" | 58 with_nls="--disable-nls" |
59 fi | 59 fi |
60 | 60 |
61 if [ "$VALA" = "yes" ]; then | 61 if [ "$VALA" = "yes" ]; then |
62 PKGDEPENDS="lang/vala $PKGDEPENDS" | 62 PKGDEPENDS="vala $PKGDEPENDS" |
63 with_vala="--enable-vala" | 63 with_vala="--enable-vala" |
64 else | 64 else |
65 with_vala="--disable-vala" | 65 with_vala="--disable-vala" |
66 fi | 66 fi |
67 | 67 |