talimat 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Tanım: GUI için GTK+ wxWidgets API'sının uygulanması
  2. # URL: http://wxwidgets.org
  3. # Paketçi: milisarge
  4. # Gerekler: gtk2 gstreamer-plugins-base xorg-mesa xorg-libsm xorg-libxxf86vm sdl
  5. # Grup: geliştirme
  6. isim=wxgtk
  7. surum=3.0.3.1
  8. devir=1
  9. kaynak=(https://github.com/wxWidgets/wxWidgets/archive/v$surum.tar.gz::wxWidgets-$surum.tar.bz2
  10. https://github.com/wxWidgets/wxWidgets/commit/ec6e54bc.patch::wxgtk-webkit2gtk.patch
  11. https://github.com/wxWidgets/wxWidgets/commit/fd247cca.patch::wxgtk2-fix-webview.patch
  12. https://github.com/wxWidgets/wxWidgets/commit/ce1dce11.patch::wxgtk-filezilla-assert.patch
  13. make-abicheck-non-fatal.patch
  14. wxgtk-webkit-infinite-loop.patch)
  15. derle() {
  16. cd wxWidgets-$surum
  17. # C++ ABI check is too strict and breaks with GCC 5.1
  18. # https://bugzilla.redhat.com/show_bug.cgi?id=1200611
  19. patch -Np1 -i ../make-abicheck-non-fatal.patch
  20. # Support webkit2gtk
  21. #sed -e 's|setup0.h|setup.h|g' -i ../wxgtk-webkit2gtk.patch
  22. patch -p1 -i ../wxgtk-webkit2gtk.patch
  23. # fix webview after webkit2gtk port
  24. patch -p1 -i ../wxgtk2-fix-webview.patch
  25. # fix assert in FileZilla
  26. patch -p1 -i ../wxgtk-filezilla-assert.patch
  27. # fix infinite loop in webkit
  28. patch -p1 -i ../wxgtk-webkit-infinite-loop.patch
  29. ./autogen.sh
  30. ./configure --prefix=/usr --libdir=/usr/lib --with-gtk=2 --with-gtk=3 --with-opengl --enable-unicode \
  31. --enable-graphics_ctx --enable-mediactrl --enable-webview --with-regex=builtin \
  32. --with-libpng=sys --with-libxpm=sys --with-libjpeg=sys --with-libtiff=sys \
  33. --disable-precomp-headers
  34. make
  35. make -C locale allmo
  36. make DESTDIR="${PKG}" install
  37. }