milis/talimatname/genel/w/wxgtk/talimat

44 lines
1.6 KiB
Plaintext
Raw Normal View History

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