1234567891011121314151617181920212223242526272829303132 |
- # Tanım: Android cihazınızı görüntüleyin ve kontrol edin
- # URL: https://github.com/Genymobile/scrcpy
- # Paketçi: Cihan_Alkan
- # Gerekler: ffmpeg sdl2 gcc meson
- # Grup:
- isim=scrcpy
- surum=1.5
- devir=1
- kaynak=(https://github.com/Genymobile/scrcpy/archive/v${surum}-fixversion.tar.gz
- https://github.com/Genymobile/scrcpy/releases/download/v${surum}-fixversion/scrcpy-server-v${surum}.jar)
- derle() {
- src_name="scrcpy-${surum}-fixversion"
- src_server="scrcpy-server-v${surum}.jar"
- server_path='/usr/share/scrcpy/scrcpy-server.jar'
- cd "${src_name}"
- rm -rf build
- meson build --buildtype release --strip -Db_lto=true \
- -Dbuild_server=false \
- -Doverride_server_path="${server_path}"
- cd build
- ninja
- install -Dm 755 "$SRC/${src_name}"/build/app/scrcpy "${PKG}"/usr/bin/scrcpy
- install -Dm 644 "$SRC/${src_server}" "${PKG}"/"${server_path}"
- }
|