Mercurial > vanilla
comparison graphics/sdl2-image/sdl2-image.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 | 0e6c54d47dfb |
children | ddab65a5b3f5 |
comparison
equal
deleted
inserted
replaced
901:e2de15b7d2b1 | 902:a133976e0783 |
---|---|
19 PKGVERSION=2.0.5 | 19 PKGVERSION=2.0.5 |
20 PKGREVISION=1 | 20 PKGREVISION=1 |
21 PKGLICENSE="zlib" | 21 PKGLICENSE="zlib" |
22 PKGSUMMARY="image addon for SDL2" | 22 PKGSUMMARY="image addon for SDL2" |
23 PKGDOWNLOAD="https://www.libsdl.org/projects/SDL_image/release/SDL2_image-$PKGVERSION.tar.gz" | 23 PKGDOWNLOAD="https://www.libsdl.org/projects/SDL_image/release/SDL2_image-$PKGVERSION.tar.gz" |
24 PKGDEPENDS="lib/sdl2" | 24 PKGDEPENDS="sdl2" |
25 PKGOPTIONS="BMP | 25 PKGOPTIONS="BMP |
26 GIF | 26 GIF |
27 JPEG | 27 JPEG |
28 LBM | 28 LBM |
29 PCX | 29 PCX |
69 else | 69 else |
70 with_gif="--disable-gif" | 70 with_gif="--disable-gif" |
71 fi | 71 fi |
72 | 72 |
73 if [ "$JPEG" = "yes" ]; then | 73 if [ "$JPEG" = "yes" ]; then |
74 PKGDEPENDS="graphics/libjpeg-turbo $PKGDEPENDS" | 74 PKGDEPENDS="libjpeg-turbo $PKGDEPENDS" |
75 with_jpeg="--enable-jpg" | 75 with_jpeg="--enable-jpg" |
76 else | 76 else |
77 with_jpeg="--disable-jpg" | 77 with_jpeg="--disable-jpg" |
78 fi | 78 fi |
79 | 79 |
112 else | 112 else |
113 with_tga="--disable-tga" | 113 with_tga="--disable-tga" |
114 fi | 114 fi |
115 | 115 |
116 if [ "$TIFF" = "yes" ]; then | 116 if [ "$TIFF" = "yes" ]; then |
117 PKGDEPENDS="graphics/libtiff $PKGDEPENDS" | 117 PKGDEPENDS="libtiff $PKGDEPENDS" |
118 with_tiff="--enable-tif" | 118 with_tiff="--enable-tif" |
119 else | 119 else |
120 with_tiff="--disable-tif" | 120 with_tiff="--disable-tif" |
121 fi | 121 fi |
122 | 122 |
137 else | 137 else |
138 with_xv="--disable-xv" | 138 with_xv="--disable-xv" |
139 fi | 139 fi |
140 | 140 |
141 if [ "$WEBP" = "yes" ]; then | 141 if [ "$WEBP" = "yes" ]; then |
142 PKGDEPENDS="graphics/libwebp $PKGDEPENDS" | 142 PKGDEPENDS="libwebp $PKGDEPENDS" |
143 with_webp="--enable-webp" | 143 with_webp="--enable-webp" |
144 else | 144 else |
145 with_webp="--disable-webp" | 145 with_webp="--disable-webp" |
146 fi | 146 fi |
147 | 147 |