talimat 808 B

1234567891011121314151617181920212223242526272829
  1. # Tanım: Ses, video, radyo ve kamera işlevleri için sınıflar
  2. # URL: http://qt-project.org/
  3. # Paketçi: Cihan_Alkan
  4. # Gerekler:qt5-base qt5-declarative pulseaudio gstreamer-plugins-bad gstreamer-plugins-base openal
  5. # Grup: geliştirme
  6. isim=qt5-multimedia
  7. surum=5.11.0
  8. devir=1
  9. _pkgfqn="${isim/5-/}-everywhere-src-${surum}"
  10. kaynak=(http://download.qt.io/official_releases/qt/${surum%.*}/${surum}/submodules/${_pkgfqn}.tar.xz)
  11. derle() {
  12. mkdir -p build
  13. cd build
  14. qmake ../${_pkgfqn}
  15. make
  16. make INSTALL_ROOT="$PKG" install
  17. # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
  18. find "$PKG/usr/lib" -type f -name '*.prl' \
  19. -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
  20. install -d "$PKG"/usr/share/licenses
  21. ln -s /usr/share/licenses/qt5-base "$PKG"/usr/share/licenses/${isim}
  22. }