Ignore:
Timestamp:
Apr 10, 2014, 4:35:01 PM (6 years ago)
Author:
raimue@…
Message:

emulators/qemu:
Split the cocoa and curses interfaces into separate conflicting variants,
closes #43302.
Additionally tested both SDL and GTK+ interfaces once again, but they are still
broken.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/emulators/qemu/Portfile

    r118432 r118754  
    55name                    qemu
    66version                 1.7.1
     7revision                1
    78categories              emulators
    89license                 GPL-2+
     
    3536depends_lib             port:curl \
    3637                        path:lib/pkgconfig/glib-2.0.pc:glib2 \
    37                         port:ncurses \
    3838                        port:zlib \
    3939                        path:lib/pkgconfig/pixman-1.pc:libpixman
     
    5050
    5151# Select features
    52 configure.args-append   --enable-cocoa \
    53                         --enable-curses \
     52configure.args-append   --disable-cocoa \
     53                        --disable-curses \
     54                        --disable-sdl \
     55                        --disable-gtk \
    5456                        --enable-curl \
    5557                        --enable-uuid \
     
    6971                        --disable-seccomp \
    7072                        --disable-glusterfs \
    71                         --disable-gtk \
    7273                        --disable-rdma \
    7374                        --disable-libssh2 \
     
    9293}
    9394default_variants-append +target_i386 +target_x86_64
     95
     96if {![variant_isset curses]} {
     97    default_variants-append +cocoa
     98}
     99
     100variant cocoa description {Use the native Mac OS X graphical user interface} conflicts curses {
     101    configure.args-replace  --disable-cocoa --enable-cocoa
     102}
     103
     104variant curses description {Use the curses text-only user interface} conflicts cocoa {
     105    configure.args-replace --disable-curses --enable-curses
     106    depends_lib-append      port:ncurses
     107}
     108
     109# XXX: Builds, but does not work as expected on runtime
     110#variant gtk3 description {Build GTK+ GUI for GTK+ 3 (experimental)} conflicts cocoa {
     111#    configure.args-replace --disable-gtk --enable-gtk
     112#    configure.args-append --with-gtkabi=3.0
     113#    depends_lib-append     port:gtk3 port:vte
     114#}
     115
     116# XXX: Build broken due to missing port for vte 0.24 / pkg-config package vte
     117#variant gtk2 description {Use the GTK+ 2 graphical user interface} conflicts cocoa curses gtk3 {
     118#    configure.args-replace --disable-gtk --enable-gtk
     119#    configure.args-append  --with-gtkabi=2.0
     120#    depends_lib-append     port:gtk2 port:vte
     121#}
     122
     123# XXX: Build broken due to missing X11 symbols
     124#variant sdl description {Use the SDL graphical user interface} conflicts cocoa curses gtk2 gtk3 {
     125#    configure.args-replace --disable-sdl --enable-sdl
     126#    depends_lib-append      port:libsdl
     127#}
    94128
    95129variant usb description {Support forwarding of USB devices to the guest} {
     
    117151}
    118152
    119 # XXX: GTK interface does not work on Mac OS X yet
    120 #variant gtk2 description {Build GTK+ GUI for GTK+ 2} {
    121 #    depends_lib-append     port:gtk2 port:vte
    122 #    configure.args-replace --disable-gtk --enable-gtk
    123 #    configure.args-append  --with-gtkabi=2.0
    124 #}
    125 #
    126 ## Disabled for now, requires vte >= 0.30 / pkg-config package vte-2.90
    127 ##variant gtk3 description {Build GTK+ GUI for GTK+ 3} {
    128 ##    depends_lib-append     port:gtk3
    129 ##    configure.args-replace --disable-gtk --enable-gtk
    130 ##    configure.args-append --with-gtkabi=3.0
    131 ##}
    132 
    133153# Default universal variant does not work
    134154universal_variant       no
Note: See TracChangeset for help on using the changeset viewer.