Mercurial > vanilla
comparison lib/libical/libical.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 | 5c0ac6497f9f |
children | ddab65a5b3f5 |
comparison
equal
deleted
inserted
replaced
901:e2de15b7d2b1 | 902:a133976e0783 |
---|---|
19 PKGVERSION=3.0.5 | 19 PKGVERSION=3.0.5 |
20 PKGREVISION=1 | 20 PKGREVISION=1 |
21 PKGLICENSE="MPLv20 LGPLv21" | 21 PKGLICENSE="MPLv20 LGPLv21" |
22 PKGSUMMARY="mplementation of the iCalendar protocols and protocol data units" | 22 PKGSUMMARY="mplementation of the iCalendar protocols and protocol data units" |
23 PKGDOWNLOAD="https://github.com/libical/libical/releases/download/v$PKGVERSION/$PKGNAME-$PKGVERSION.tar.gz" | 23 PKGDOWNLOAD="https://github.com/libical/libical/releases/download/v$PKGVERSION/$PKGNAME-$PKGVERSION.tar.gz" |
24 PKGDEPENDS="dev/cmake:build perl/perl:build" | 24 PKGDEPENDS="cmake:build perl:build" |
25 PKGOPTIONS="GLIB VALA" | 25 PKGOPTIONS="GLIB VALA" |
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 : ${GLIB:=yes} | 31 : ${GLIB:=yes} |
32 : ${VALA:=no} | 32 : ${VALA:=no} |
33 | 33 |
34 if [ "$GLIB" = "yes" ]; then | 34 if [ "$GLIB" = "yes" ]; then |
35 PKGDEPENDS="lib/glib text/libxml2 $PKGDEPENDS" | 35 PKGDEPENDS="glib libxml2 $PKGDEPENDS" |
36 with_glib="-DICAL_GLIB=On" | 36 with_glib="-DICAL_GLIB=On" |
37 else | 37 else |
38 with_glib="-DICAL_GLIB=Off" | 38 with_glib="-DICAL_GLIB=Off" |
39 fi | 39 fi |
40 | 40 |
41 if [ "$VALA" = "yes" ]; then | 41 if [ "$VALA" = "yes" ]; then |
42 PKGDEPENDS="lang/vala $PKGDEPENDS" | 42 PKGDEPENDS="vala $PKGDEPENDS" |
43 with_vala="-DICAL_GLIB_VAPI=On" | 43 with_vala="-DICAL_GLIB_VAPI=On" |
44 else | 44 else |
45 with_vala="-DICAL_GLIB_VAPI=Off" | 45 with_vala="-DICAL_GLIB_VAPI=Off" |
46 fi | 46 fi |
47 | 47 |