Ticket #33877: gdk-pixbuf2-enable-introspection.patch

File gdk-pixbuf2-enable-introspection.patch, 1.2 KB (added by neverpanic (Clemens Lang), 12 years ago)

Patch against the gdk-pixbuf2 Portfile enabling introspection

  • Portfile

     
    66name                        gdk-pixbuf2
    77set my_name                 gdk-pixbuf
    88version                     2.24.0
     9revision                    1
    910epoch                       2
    1011license                     LGPL
    1112set branch                  [join [lrange [split ${version} .] 0 1] .]
     
    3233depends_lib                 path:lib/pkgconfig/glib-2.0.pc:glib2 \
    3334                            port:libpng \
    3435                            port:jasper \
    35                             port:tiff
     36                            port:tiff \
     37                            port:gobject-introspection
    3638
    3739pre-activate {
    3840    if { [file exists ${prefix}/lib/pkgconfig/gdk-pixbuf-2.0.pc]
     
    4850}
    4951
    5052configure.args              --with-libjasper \
    51                             --enable-introspection=no
     53                            --enable-introspection=yes
     54
     55# gobject-introspection uses CC from env
     56build.env-append            CC=${configure.compiler}
    5257
    5358test.run                    yes
    5459test.target                 check