talimat 909 B

1234567891011121314151617181920212223242526272829303132
  1. # Tanım: Android cihazınızı görüntüleyin ve kontrol edin
  2. # URL: https://github.com/Genymobile/scrcpy
  3. # Paketçi: Cihan_Alkan
  4. # Gerekler: ffmpeg sdl2 gcc meson
  5. # Grup:
  6. isim=scrcpy
  7. surum=1.5
  8. devir=1
  9. kaynak=(https://github.com/Genymobile/scrcpy/archive/v${surum}-fixversion.tar.gz
  10. https://github.com/Genymobile/scrcpy/releases/download/v${surum}-fixversion/scrcpy-server-v${surum}.jar)
  11. derle() {
  12. src_name="scrcpy-${surum}-fixversion"
  13. src_server="scrcpy-server-v${surum}.jar"
  14. server_path='/usr/share/scrcpy/scrcpy-server.jar'
  15. cd "${src_name}"
  16. rm -rf build
  17. meson build --buildtype release --strip -Db_lto=true \
  18. -Dbuild_server=false \
  19. -Doverride_server_path="${server_path}"
  20. cd build
  21. ninja
  22. install -Dm 755 "$SRC/${src_name}"/build/app/scrcpy "${PKG}"/usr/bin/scrcpy
  23. install -Dm 644 "$SRC/${src_server}" "${PKG}"/"${server_path}"
  24. }