Ticket #44148: cairo+infinality.diff
File cairo+infinality.diff, 2.5 KB (added by RJVB (René Bertin), 10 years ago) |
---|
-
Portfile
old new 11 11 name cairo 12 12 conflicts cairo-devel 13 13 set my_name cairo 14 version 1.14.0 14 set cversion 1.14.0 15 16 if {[variant_isset infinality]} { 17 version ${cversion}.20150101 18 worksrcdir ${my_name}-${cversion} 19 distname ${my_name}-${cversion} 20 } else { 21 version ${cversion} 22 distname ${my_name}-${version} 23 } 24 15 25 categories graphics 16 26 maintainers ryandesign 17 27 license {LGPL-2.1 MPL-1.1} … … 20 30 platforms darwin macosx 21 31 use_parallel_build yes 22 32 dist_subdir ${my_name} 23 distname ${my_name}-${version}24 33 use_xz yes 25 34 26 35 description a vector graphics library with cross-device output support … … 38 47 depends_lib path:lib/pkgconfig/pixman-1.pc:libpixman \ 39 48 path:lib/pkgconfig/glib-2.0.pc:glib2 \ 40 49 port:fontconfig \ 41 port:freetype \42 50 port:libpng \ 43 51 port:zlib \ 44 52 port:expat … … 129 137 test.run yes 130 138 test.target check 131 139 140 variant openvg requires opengl description {Add OpenVG graphics interface} { 141 configure.args-append --enable-vg 142 } 143 144 variant infinality description {patched for improved font rendering, bohoomil ultimate style} { 145 146 pre-patch { 147 # make -p0 patches 148 reinplace "s| \[ab\]/| |g" ${filespath}/cairo-respect-fontconfig_pb.patch \ 149 ${filespath}/cairo-server-side-gradients.patch \ 150 ${filespath}/cairo-webkit-html5-fix.patch \ 151 ${filespath}/git_fixes.diff 152 } 153 154 patchfiles-delete patch-src-cairo-tor-scan-converter.c.diff 155 patchfiles-append cairo-respect-fontconfig_pb.patch \ 156 server_side_gradients.patch \ 157 cairo-webkit-html5-fix.patch \ 158 git_fixes.diff 159 configure.args-delete ac_cv_prog_GS="" ac_cv_lib_lzo2_lzo2a_decompress=no 160 } 161 132 162 livecheck.type regex 133 163 livecheck.url ${homepage}news/ 134 164 livecheck.regex ${my_name}-(\[0-9\]+\\.\[0-9\]*\[02468\]\\.\[0-9\]+)