Mercurial > vanilla
comparison misc/shared-mime-info/shared-mime-info.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=1.10 | 19 PKGVERSION=1.10 |
20 PKGREVISION=1 | 20 PKGREVISION=1 |
21 PKGLICENSE="GPLv2" | 21 PKGLICENSE="GPLv2" |
22 PKGSUMMARY="mime database" | 22 PKGSUMMARY="mime database" |
23 PKGDOWNLOAD="http://freedesktop.org/~hadess/$PKGNAME-$PKGVERSION.tar.xz" | 23 PKGDOWNLOAD="http://freedesktop.org/~hadess/$PKGNAME-$PKGVERSION.tar.xz" |
24 PKGDEPENDS="lib/glib text/libxml2" | 24 PKGDEPENDS="glib libxml2" |
25 PKGOPTIONS="NLS" | 25 PKGOPTIONS="NLS" |
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} |
31 : ${LDFLAGS:=} | 31 : ${LDFLAGS:=} |
32 : ${LIBS:=} | 32 : ${LIBS:=} |
33 : ${NLS:=yes} | 33 : ${NLS:=yes} |
34 | 34 |
35 if [ "$NLS" = "yes" ]; then | 35 if [ "$NLS" = "yes" ]; then |
36 PKGDEPENDS="core/gettext $PKGDEPENDS" | 36 PKGDEPENDS="gettext $PKGDEPENDS" |
37 with_nls="--enable-nls" | 37 with_nls="--enable-nls" |
38 else | 38 else |
39 with_nls="--disable-nls" | 39 with_nls="--disable-nls" |
40 fi | 40 fi |
41 | 41 |