talimat 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # Tanım: Okullar ve üniversiteler için interaktif beyaz tahta yazılımı
  2. # URL: http://openboard.ch/index.en.html
  3. # Paketçi: Cihan_Alkan
  4. # Gerekler: qt5 libpaper qt5-webkit
  5. # Grup: bilim
  6. isim=openboard
  7. surum=1.3.6
  8. devir=1
  9. kaynak=(https://github.com/OpenBoard-org/OpenBoard/archive/v$surum.tar.gz::$isim-$surum.tar.gz
  10. https://github.com/OpenBoard-org/OpenBoard-ThirdParty/archive/master.tar.gz::OpenBoard-ThirdParty-master.tar.gz
  11. ssl10.patch
  12. qchar.patch
  13. qtmultimediadefs.patch
  14. openboard.desktop)
  15. derle() {
  16. rm -rf $SRC/OpenBoard-ThirdParty
  17. mv $SRC/OpenBoard-ThirdParty-master $SRC/OpenBoard-ThirdParty
  18. cd $SRC/OpenBoard-$surum
  19. patch -p1 < $SRC/ssl10.patch
  20. patch -p1 < $SRC/qchar.patch
  21. patch -p1 < $SRC/qtmultimediadefs.patch
  22. cd $SRC/OpenBoard-ThirdParty
  23. cd freetype
  24. qmake-qt5 freetype.pro -spec linux-g++
  25. make
  26. cd ..
  27. cd quazip
  28. qmake-qt5 quazip.pro -spec linux-g++
  29. make
  30. cd ..
  31. cd xpdf/xpdf-3.04
  32. ./configure --with-freetype2-library="../../freetype/lib/linux" --with-freetype2-includes="../../freetype/freetype-2.6.1/include"
  33. cd ..
  34. qmake-qt5 xpdf.pro -spec linux-g++
  35. make
  36. cd ..
  37. cd "$SRC/OpenBoard-$surum"
  38. qmake-qt5 OpenBoard.pro -spec linux-g++
  39. make
  40. mkdir -p $PKG/opt/openboard
  41. for i in customizations etc i18n library; do
  42. cp -rp $SRC/OpenBoard-$surum/resources/$i $PKG/opt/openboard;
  43. done
  44. cp -rp $SRC/OpenBoard-$surum/resources/images/OpenBoard.png $PKG/opt/openboard/
  45. cp -rp build/linux/release/product/OpenBoard $PKG/opt/openboard/
  46. mkdir -p $PKG/usr/share/applications
  47. cp -rp $SRC/openboard.desktop $PKG/usr/share/applications
  48. mkdir -p $PKG/usr/bin
  49. ln -s /opt/openboard/OpenBoard $PKG/usr/bin/openboard
  50. /usr/lib/qt5/bin/lrelease $PKG/opt/openboard/i18n/OpenBoard_tr.ts -qm $PKG/opt/openboard/i18n/OpenBoard_tr.qm
  51. }