talimat 989 B

1234567891011121314151617181920212223242526272829303132
  1. # Tanım: Hafif, çapraz platformlu entegre geliştirme ortamı
  2. # URL: http://qt-project.org
  3. # Paketçi: Cihan_Alkan
  4. # Gerekler: qt5 clang qbs
  5. # Grup: geliştirme
  6. isim=qtcreator
  7. surum=4.5.0
  8. devir=1
  9. kaynak=(http://download.qt.io/official_releases/qtcreator/${surum%.*}/${surum}/qt-creator-opensource-src-${surum}.tar.xz)
  10. derle() {
  11. [[ -d build ]] && rm -r build
  12. mkdir build
  13. # fix hardcoded libexec path
  14. sed -e 's|libexec\/qtcreator|lib\/qtcreator|g' -i qt-creator-opensource-src-${surum}/qtcreator.pri
  15. # use system qbs
  16. rm -r qt-creator-opensource-src-${surum}/src/shared/qbs
  17. cd build
  18. qmake-qt5 LLVM_INSTALL_DIR=/usr QBS_INSTALL_DIR=/usr CONFIG-=journald QMAKE_CFLAGS_ISYSTEM=-I \
  19. DEFINES+=QBS_ENABLE_PROJECT_FILE_UPDATES "$SRC"/qt-creator-opensource-src-${surum}/qtcreator.pro
  20. make
  21. make INSTALL_ROOT="${PKG}/usr/" install
  22. install -Dm644 ${SRC}/qt-creator-opensource-src-${surum}/LICENSE.GPL3-EXCEPT ${PKG}/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT
  23. }