mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
github.com/Genymobile/scrcpy (#2559)
* github.com/Genymobile/scrcpy * deps * hmm gcc? * gcc for all * CFLAGS=-ldrm from https://github.com/Genymobile/scrcpy/issues/2422#issuecomment-868189549 * -j {{ hw.concurrency }} && -Dportable=true * without linux aarch64
This commit is contained in:
parent
aef71a60a1
commit
8fe0fa0b69
1 changed files with 47 additions and 0 deletions
47
projects/github.com/Genymobile/scrcpy/package.yml
Normal file
47
projects/github.com/Genymobile/scrcpy/package.yml
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/Genymobile/scrcpy/archive/v{{version.marketing}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: Genymobile/scrcpy
|
||||||
|
|
||||||
|
platforms:
|
||||||
|
- darwin
|
||||||
|
- linux/x86-64
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
ffmpeg.org: '*'
|
||||||
|
libusb.info: '*'
|
||||||
|
libsdl.org: '*'
|
||||||
|
darwin:
|
||||||
|
sourceware.org/bzip2: '*'
|
||||||
|
zlib.net: '*'
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
gnu.org/gcc: '*'
|
||||||
|
mesonbuild.com: '*'
|
||||||
|
ninja-build.org: '*'
|
||||||
|
freedesktop.org/pkg-config: '*'
|
||||||
|
gnu.org/wget: '*'
|
||||||
|
|
||||||
|
working-directory: build
|
||||||
|
script:
|
||||||
|
- wget $PREBUILT_SERVER_URL -O scrcpy-server
|
||||||
|
- meson $ARGS ..
|
||||||
|
- ninja -j {{ hw.concurrency }} install
|
||||||
|
|
||||||
|
env:
|
||||||
|
PREBUILT_SERVER_URL: https://github.com/Genymobile/scrcpy/releases/download/v{{version.marketing}}/scrcpy-server-v{{version.marketing}}
|
||||||
|
ARGS:
|
||||||
|
- --prefix="{{prefix}}"
|
||||||
|
- --buildtype=release
|
||||||
|
- --wrap-mode=nofallback
|
||||||
|
- -Dprebuilt_server="build/scrcpy-server"
|
||||||
|
- --strip
|
||||||
|
- -Db_lto=true
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/scrcpy
|
||||||
|
|
||||||
|
test: scrcpy --version | grep {{version.marketing}}
|
Loading…
Reference in a new issue