| 38 | |
| 39 | default_variants +bzlib +jpeg +png +tiff +zlib |
| 40 | variant bzlib { |
| 41 | depends_lib-append lib:libbz2:bzip2 |
| 42 | configure.args-delete --without-bzlib |
| 43 | configure.args-append --with-bzlib |
| 44 | } |
| 45 | variant gs { |
| 46 | depends_lib-append lib:libgs:ghostscript |
| 47 | configure.args-delete --without-gslib |
| 48 | configure.args-append --with-gslib |
| 49 | } |
| 50 | variant jpeg { |
| 51 | depends_lib-append lib:libjpeg:jpeg |
| 52 | configure.args-delete --without-jpeg |
| 53 | configure.args-append --with-jpeg |
| 54 | } |
| 55 | variant lcms { |
| 56 | depends_lib-append lib:liblcms:lcms |
| 57 | configure.args-delete --without-lcms |
| 58 | configure.args-append --with-lcms |
| 59 | } |
| 60 | variant png { |
| 61 | depends_lib-append lib:libpng:libpng |
| 62 | configure.args-delete --without-png |
| 63 | configure.args-append --with-png |
| 64 | } |
| 65 | variant tiff { |
| 66 | depends_lib-append lib:libtiff:tiff |
| 67 | configure.args-delete --without-tiff |
| 68 | configure.args-append --with-tiff |
| 69 | } |
| 70 | variant wmf { |
| 71 | depends_lib-append lib:libwmf:libwmf |
| 72 | configure.args-delete --without-wmf |
| 73 | configure.args-append --with-wmf |
| 74 | } |
| 75 | variant xml { |
| 76 | depends_lib-append lib:libxml:libxml2 |
| 77 | configure.args-delete --without-xml |
| 78 | configure.args-append --with-xml |
| 79 | } |
| 80 | variant zlib { |
| 81 | depends_lib-append lib:libz:zlib |
| 82 | configure.args-delete --without-zlib |
| 83 | configure.args-append --with-zlib |
| 84 | } |
| 85 | |