Mercurial > vanilla
comparison graphics/gdk-pixbuf/gdk-pixbuf.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=2.38.1 | 19 PKGVERSION=2.38.1 |
20 PKGREVISION=1 | 20 PKGREVISION=1 |
21 PKGLICENSE="LGPLv21" | 21 PKGLICENSE="LGPLv21" |
22 PKGSUMMARY="image loading library" | 22 PKGSUMMARY="image loading library" |
23 PKGDOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.38/$PKGNAME-$PKGVERSION.tar.xz" | 23 PKGDOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.38/$PKGNAME-$PKGVERSION.tar.xz" |
24 PKGDEPENDS="dev/meson:build" | 24 PKGDEPENDS="meson:build" |
25 PKGOPTIONS="JASPER JPEG PNG TIFF X" | 25 PKGOPTIONS="JASPER JPEG PNG TIFF X" |
26 | 26 |
27 : ${CC:=clang} | 27 : ${CC:=clang} |
28 : ${CFLAGS:=-O2} | 28 : ${CFLAGS:=-O2} |
29 : ${CXX:=clang++} | 29 : ${CXX:=clang++} |
41 else | 41 else |
42 with_jasper="-D jasper=false" | 42 with_jasper="-D jasper=false" |
43 fi | 43 fi |
44 | 44 |
45 if [ "$JPEG" = "yes" ]; then | 45 if [ "$JPEG" = "yes" ]; then |
46 PKGDEPENDS="graphics/libjpeg-turbo $PKGDEPENDS" | 46 PKGDEPENDS="libjpeg-turbo $PKGDEPENDS" |
47 with_jpeg="-D jpeg=true" | 47 with_jpeg="-D jpeg=true" |
48 else | 48 else |
49 with_jpeg="-D jpeg=false" | 49 with_jpeg="-D jpeg=false" |
50 fi | 50 fi |
51 | 51 |
52 if [ "$PNG" = "yes" ]; then | 52 if [ "$PNG" = "yes" ]; then |
53 PKGDEPENDS="graphics/libpng $PKGDEPENDS" | 53 PKGDEPENDS="libpng $PKGDEPENDS" |
54 with_png="-D png=true" | 54 with_png="-D png=true" |
55 else | 55 else |
56 with_png="-D png=false" | 56 with_png="-D png=false" |
57 fi | 57 fi |
58 | 58 |
59 if [ "$TIFF" = "yes" ]; then | 59 if [ "$TIFF" = "yes" ]; then |
60 PKGDEPENDS="graphics/libtiff $PKGDEPENDS" | 60 PKGDEPENDS="libtiff $PKGDEPENDS" |
61 with_tiff="-D tiff=true" | 61 with_tiff="-D tiff=true" |
62 else | 62 else |
63 with_tiff="-D tiff=false" | 63 with_tiff="-D tiff=false" |
64 fi | 64 fi |
65 | 65 |
66 if [ "$X" = "yes" ]; then | 66 if [ "$X" = "yes" ]; then |
67 PKGDEPENDS="x11/libx11 $PKGDEPENDS" | 67 PKGDEPENDS="libx11 $PKGDEPENDS" |
68 with_x="-D x11=true" | 68 with_x="-D x11=true" |
69 else | 69 else |
70 with_x="-D x11=false" | 70 with_x="-D x11=false" |
71 fi | 71 fi |
72 | 72 |