talimat 716 B

1234567891011121314151617181920212223242526
  1. # Description: Qt5 için bağlayıcı pythonu
  2. # URL: http://www.riverbankcomputing.co.uk/software/pyqt/intro
  3. # Packager: alihan-ozturk28@hotmail.com
  4. # Depends on: dbus-python python-sip qt5 qt5-webkit python-opengl python
  5. name=python-qt5
  6. version=5.7
  7. release=1
  8. source=(http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$version/PyQt5_gpl-$version.tar.gz)
  9. build() {
  10. cd PyQt5_gpl-$version
  11. python2 configure.py \
  12. -q /usr/bin/qmake-qt5 \
  13. --confirm-license \
  14. --no-sip-files \
  15. --qsci-api
  16. find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'
  17. make
  18. make DESTDIR=$PKG INSTALL_ROOT=$PKG install
  19. install -Dm644 PyQt5.api $PKG/usr/share/qt/qsci/api/python/PyQt5.api
  20. }