Ticket #52281: libcanberra-Portfile.diff

File libcanberra-Portfile.diff, 1.5 KB (added by gwhitney, 8 years ago)

patch to libcanberra portfile so it can be compiled with gtk3+quartz; needs three new patchfiles to be attached; patch-configure-x11.diff (which is just the old patch-configure.diff renamed), patch-configure-quartz.diff, and patch_libcanberra-gtk.pc.in.diff

  • audio/libcanberra/Portfile

    old new  
    55
    66name                libcanberra
    77version             0.30
    8 revision            5
     8revision            6
    99license             LGPL-2.1+
    1010categories          audio devel
    1111maintainers         nomaintainer
     
    2424depends_build       port:pkgconfig
    2525
    2626depends_lib         port:pulseaudio \
    27                     port:libvorbis
     27                    port:libvorbis \
     28                    port:gtk3
    2829
    2930depends_run         port:sound-theme-freedesktop
    3031
    31 patchfiles          patch-configure.diff \
     32patchfiles          patch-configure-quartz.diff \
    3233                    patch-gtkquartz.diff \
     34                    patch_libcanberra-gtk3.pc.in.diff \
    3335                    LC_CTYPE.patch
    3436
    3537configure.args      --disable-alsa \
     
    4244                    --disable-tdb \
    4345                    --disable-udev \
    4446                    --disable-gtk \
    45                     --disable-gtk3
     47                    --enable-gtk3
    4648
    4749variant x11 {
     50    patchfiles-replace  patch-configure-quartz.diff patch-configure-x11.diff
     51    patchfiles-delete   patch_libcanberra-gtk3.pc.in.diff
    4852    depends_lib-append  port:xorg-libX11 \
    49                         port:gtk2 \
    50                         port:gtk3
     53                        port:gtk2
    5154    configure.args-replace  --disable-gtk --enable-gtk
    52     configure.args-replace  --disable-gtk3 --enable-gtk3
    5355}
    5456
    5557default_variants +x11