talimat 835 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Tanım: Video düzenleyici
  2. # URL: https://www.shotcut.org/
  3. # Paketçi: Cihan_Alkan
  4. # Gerekler: qt5 mlt movit ffmpeg x264 lame frei0r-plugins ladspa
  5. # Grup: medya
  6. isim=shotcut
  7. surum=18.05
  8. devir=1
  9. kaynak=(https://github.com/mltframework/shotcut/archive/v$surum.tar.gz::$isim-$surum.tar.gz)
  10. derle() {
  11. cd $SRC/$isim-$surum
  12. qmake-qt5 PREFIX='/usr' \
  13. QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
  14. QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}"
  15. make
  16. make INSTALL_ROOT="${PKG}" install
  17. # Başlatıcı
  18. mkdir -pv $PKG/usr/share/applications &&
  19. cat > $PKG/usr/share/applications/$isim.desktop << "EOF" &&
  20. [Desktop Entry]
  21. Type=Application
  22. Name=Shotcut
  23. GenericName=Video Düzenleyici
  24. Comment=Video düzenleyici
  25. Exec=shotcut
  26. Icon=applications-multimedia
  27. Terminal=false
  28. Categories=AudioVideo;Video;AudioVideoEditing;
  29. EOF
  30. cd /$SRC/
  31. }