talimat 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # Tanım: Çapraz platform uygulaması ve kullanıcı arayüzü çerçevesi
  2. # URL: http://qt-project.org/
  3. # Paketçi: Cihan_Alkan
  4. # Gerekler: libjpeg-turbo xcb-util-keysyms xcb-util-renderutil xdg-utils shared-mime-info xcb-util-wm xorg-libxrender xorg-libxi sqlite xcb-util-image icu pcre2 tslib libinput xorg-libsm libxkbcommon libproxy cups double mariadb unixodbc postgresql alsa-lib gstreamer-plugins-base gtk3 pulseaudio freetds
  5. # Grup: geliştirme
  6. isim=qt5-xcb-private-headers
  7. _isim=qt5-base
  8. surum=5.11.0
  9. devir=1
  10. _pkgfqn="${_isim/5-/}-everywhere-src-${surum}"
  11. kaynak=(http://download.qt.io/official_releases/qt/${surum%.*}/${surum}/submodules/${_pkgfqn}.tar.xz
  12. http://code.qt.io/cgit/qt/qtbase.git/patch/?id=67aa365d::qt-private-includes.patch)
  13. derle() {
  14. cd ${_pkgfqn}
  15. # Build qmake using Arch {C,LD}FLAGS
  16. # This also sets default {C,CXX,LD}FLAGS for projects built using qmake
  17. sed -i -e "s|^\(QMAKE_CFLAGS_RELEASE.*\)|\1 ${CFLAGS}|" \
  18. mkspecs/common/gcc-base.conf
  19. sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
  20. mkspecs/common/g++-unix.conf
  21. # Fix missing private includes https://bugreports.qt.io/browse/QTBUG-37417
  22. patch -p1 -i ../qt-private-includes.patch
  23. ./configure -confirm-license -opensource -v \
  24. -prefix /usr \
  25. -docdir /usr/share/doc/qt \
  26. -headerdir /usr/include/qt \
  27. -archdatadir /usr/lib/qt \
  28. -datadir /usr/share/qt \
  29. -sysconfdir /etc/xdg \
  30. -examplesdir /usr/share/doc/qt/examples \
  31. -plugin-sql-{psql,mysql,sqlite,odbc} \
  32. -system-sqlite \
  33. -openssl-linked \
  34. -nomake examples \
  35. -no-rpath \
  36. -optimized-qmake \
  37. -dbus-linked \
  38. -no-use-gold-linker \
  39. -reduce-relocations
  40. make
  41. install -d -m755 "$PKG"/usr/include/qtxcb-private
  42. cp -r src/plugins/platforms/xcb/*.h "$PKG"/usr/include/qtxcb-private/
  43. }