Ticket #47606: qemu-2.3.0.diff

File qemu-2.3.0.diff, 2.8 KB (added by IvoClarysse (Ivo Clarysse), 10 years ago)

Update to qemu-2.3.0; re-enable gtk2 variant; add sdl2 variant

  • Portfile

    old new  
    33PortSystem 1.0
    44
    55name                    qemu
    6 version                 2.2.0
     6version                 2.3.0
    77categories              emulators
    88license                 GPL-2+
    99platforms               darwin
     
    1919master_sites            ${homepage}/download
    2020use_bzip2 yes
    2121
    22 checksums               rmd160  9a156bdefd8fad72154eee1b10ed53a0e4c1c9a2 \
    23                         sha256  b68c9b6c7c694f5489b5a6bffe993cd976ffbb78e7d178eb3bc016caf460039c
     22checksums               rmd160  cb203bf3faa316c9eb4ceeb975441deab6f9b2f7 \
     23                        sha256  b6bab7f763d5be73e7cb5ee7d4c8365b7a8df2972c52fa5ded18893bd8281588
    2424
    2525patchfiles              patch-configure.diff
    2626
     
    8787default_variants        +usb
    8888
    8989foreach t {i386 x86_64 alpha {arm aarch64} cris lm32 m68k {microblaze microblazeel} {mips mipsel mips64 mips64el} \
    90            or32 {ppc ppcemb ppc64} {sh4 sh4eb} {sparc sparc64} s390x {xtensa xtensaeb} unicore32} {
     90           moxie or32 {ppc ppcemb ppc64} {sh4 sh4eb} {sparc sparc64} s390x tricore {xtensa xtensaeb} unicore32} {
    9191    variant target_[lindex $t 0] description "Add target support for [join $t {, }]" "append target_list \",[join $t -softmmu,]-softmmu\""
    9292}
    9393default_variants-append +target_i386 +target_x86_64
     
    112112#    depends_lib-append     port:gtk3 port:vte
    113113#}
    114114
    115 # XXX: Build broken due to missing port for vte 0.24 / pkg-config package vte
    116 #variant gtk2 description {Use the GTK+ 2 graphical user interface} conflicts cocoa curses gtk3 {
    117 #    configure.args-replace --disable-gtk --enable-gtk
    118 #    configure.args-append  --with-gtkabi=2.0
    119 #    depends_lib-append     port:gtk2 port:vte
    120 #}
     115variant gtk2 description {Use the GTK+ 2 graphical user interface} conflicts cocoa curses gtk3 {
     116    configure.args-replace --disable-gtk --enable-gtk
     117    configure.args-append  --with-gtkabi=2.0
     118    depends_lib-append     port:gtk2 port:vte
     119}
    121120
    122121# XXX: Build broken due to missing X11 symbols
    123 #variant sdl description {Use the SDL graphical user interface} conflicts cocoa curses gtk2 gtk3 {
     122#variant sdl description {Use the SDL graphical user interface} conflicts cocoa curses gtk2 gtk3 sdl2 {
    124123#    configure.args-replace --disable-sdl --enable-sdl
    125124#    depends_lib-append      port:libsdl
    126125#}
    127126
     127variant sdl2 description {Use the SDL 2 graphical user interface} conflicts cocoa curses gtk2 gtk3 sdl {
     128    configure.args-replace --disable-sdl --enable-sdl
     129    configure.args-append --with-sdlabi=2.0
     130    depends_lib-append      port:libsdl2
     131}
     132
    128133variant usb description {Support forwarding of USB devices to the guest} {
    129134    configure.args-replace  --disable-libusb --enable-libusb
    130135    depends_lib-append      path:lib/pkgconfig/libusb-1.0.pc:libusb