Package Details: scrcpy-git 2.6.1_r2501.g44b3fd82-1

Git Clone URL: https://aur.archlinux.org/scrcpy-git.git (read-only, click to copy)
Package Base: scrcpy-git
Description: Display and control your Android device
Upstream URL: https://github.com/Genymobile/scrcpy
Licenses: Apache-2.0
Conflicts: scrcpy
Provides: scrcpy
Submitter: asnelling
Maintainer: IslandC0der
Last Packager: IslandC0der
Votes: 6
Popularity: 0.000364
First Submitted: 2018-10-14 08:13 (UTC)
Last Updated: 2024-08-03 01:17 (UTC)

Latest Comments

« First ‹ Previous 1 2

skydrome commented on 2021-01-15 07:34 (UTC)

pushed a fix

skydrome commented on 2021-01-15 06:10 (UTC)

yep Ive thought about how to make it work like it needs to but could never think of a clean way. I forgot why I even needed this before, but the scrcpy pkgbuild should be working fine. If you have ideas ill disown this so you can do it.

cljp85 commented on 2021-01-14 16:45 (UTC)

Originally posted this over at github but was enlightened it was you guys that handle this

See below thanks in advance - ill try to if time allows come up witha commit/solution to the problem im sure its easy as the comments from 2018 suggest probably edit PKGBUILD but lazy/have to like get a job/apply for jobs etc. so.. ... Got this following error during ninja building wanting server v1.17 (which it verily is) but code would have it be v1.16 (which it verily isnt)

posting what ended up working results and the not-working results and command et. al.

worked: -> yay -S scrcpy (no -git suffix)

[user@microatx scrcpy-git]$ yay -S scrcpy
:: There are 2 providers available for scrcpy:
:: Repository AUR
1) scrcpy 2) scrcpy-git 

Enter a number (default=1): 1
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  scrcpy-1.17-1

:: Downloaded PKGBUILD (1/1): scrcpy
1 scrcpy                           (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> N
:: (1/1) Parsing SRCINFO: scrcpy
==> Making package: scrcpy 1.17-1 (Thu 14 Jan 2021 01:39:39 AM EST)
==> Retrieving sources...
-> Downloading v1.17.tar.gz...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   124    0   124    0     0    144      0 --:--:-- --:--:-- --:--:--   144
100  260k    0  260k    0     0  46468      0 --:--:--  0:00:05 --:--:-- 77375
-> Downloading scrcpy-server-v1.17...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   645  100   645    0     0    834      0 --:--:-- --:--:-- --:--:--   834
100 34930  100 34930    0     0   8682      0  0:00:04  0:00:04 --:--:-- 11471
==> Validating source files with sha256sums...
v1.17.tar.gz ... Passed
scrcpy-server-v1.17 ... Passed
==> Making package: scrcpy 1.17-1 (Thu 14 Jan 2021 01:39:53 AM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found v1.17.tar.gz
-> Found scrcpy-server-v1.17
==> Validating source files with sha256sums...
v1.17.tar.gz ... Passed
scrcpy-server-v1.17 ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting v1.17.tar.gz with bsdtar
-> Extracting scrcpy-server-v1.17 with bsdtar
==> Sources are ready.
==> Making package: scrcpy 1.17-1 (Thu 14 Jan 2021 01:40:04 AM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
The Meson build system
Version: 0.56.2
Source dir: /home/user/.cache/yay/scrcpy/src/scrcpy-1.17
Build dir: /home/user/.cache/yay/scrcpy/src/scrcpy-1.17/build
Build type: native build
Project name: scrcpy
Project version: 1.17
Using 'CFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
C compiler for the host machine: cc (gcc 10.2.0 "cc (GCC) 10.2.0")
C linker for the host machine: cc ld.bfd 2.35.1
Using 'CFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Run-time dependency libavformat found: YES 58.45.100
Run-time dependency libavcodec found: YES 58.91.100
Run-time dependency libavutil found: YES 56.51.100
Run-time dependency sdl2 found: YES 2.0.14
Configuring config.h using configuration
Build targets in project: 3

Found ninja-1.10.2 at /usr/bin/ninja
ninja: Entering directory `build'                                                                   
[26/26] Linking target app/scrcpy
==> Entering fakeroot environment...
==> Starting package()...
ninja: Entering directory `build'
[0/1] Installing files.
Installing app/scrcpy to /home/user/.cache/yay/scrcpy/pkg/scrcpy/usr/bin
Stripping target 'app/scrcpy' using strip.
Installing server/scrcpy-server to /home/user/.cache/yay/scrcpy/pkg/scrcpy/usr/share/scrcpy
Installing /home/user/.cache/yay/scrcpy/src/scrcpy-1.17/app/scrcpy.1 to /home/user/.cache/yay/scrcpy/pkg/scrcpy/usr/share/man/man1
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "scrcpy"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: scrcpy 1.17-1 (Thu 14 Jan 2021 01:40:33 AM EST)
==> Cleaning up...
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) scrcpy-1.17-1

Total Installed Size:  0.12 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                  [---------------------------------------------] 100%
(1/1) checking package integrity                                                [---------------------------------------------] 100%
(1/1) loading package files                                                     [---------------------------------------------] 100%
(1/1) checking for file conflicts                                               [---------------------------------------------] 100%
:: Processing package changes...
(1/1) installing scrcpy                                                         [---------------------------------------------] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

did not work: -> yay -S scrcpy-git

[user@microatx ~]$ yay -S scrcpy-git
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  scrcpy-git-1.16.r4.g0be766e-1

1 scrcpy-git                       (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/1): /home/user/.cache/yay/scrcpy-git
:: Downloaded PKGBUILD (1/1): scrcpy-git
1 scrcpy-git                       (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> N
:: (1/1) Parsing SRCINFO: scrcpy-git
==> Making package: scrcpy-git 1.16.r4.g0be766e-1 (Thu 14 Jan 2021 12:53:56 AM EST)
==> Retrieving sources...
-> Cloning scrcpy git repo...
Cloning into bare repository '/home/user/.cache/yay/scrcpy-git/scrcpy'...
remote: Enumerating objects: 14, done.
remote: Counting objects: 100% (14/14), done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 11830 (delta 4), reused 0 (delta 0), pack-reused 11816
Receiving objects: 100% (11830/11830), 2.87 MiB | 311.00 KiB/s, done.
Resolving deltas: 100% (7079/7079), done.
-> Downloading scrcpy-server-v1.16...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   645  100   645    0     0    987      0 --:--:-- --:--:-- --:--:--   989
100 33622  100 33622    0     0  13695      0  0:00:02  0:00:02 --:--:-- 20278
==> Validating source files with sha256sums...
scrcpy ... Skipped
scrcpy-server-v1.16 ... Skipped
==> Making package: scrcpy-git 1.16.r4.g0be766e-1 (Thu 14 Jan 2021 12:54:24 AM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating scrcpy git repo...
Fetching origin
-> Found scrcpy-server-v1.16
==> Validating source files with sha256sums...
scrcpy ... Skipped
scrcpy-server-v1.16 ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of scrcpy git repo...
Cloning into 'scrcpy'...
done.
==> Starting pkgver()...
==> Updated version: scrcpy-git 1.17.r3.ged130e0-1
==> Sources are ready.
==> Making package: scrcpy-git 1.17.r3.ged130e0-1 (Thu 14 Jan 2021 12:54:45 AM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true -D prebuilt_server=/home/user/.cache/yay/scrcpy-git/src/scrcpy-server-v1.17 build
The Meson build system
Version: 0.56.2
Source dir: /home/user/.cache/yay/scrcpy-git/src/scrcpy
Build dir: /home/user/.cache/yay/scrcpy-git/src/scrcpy/build
Build type: native build
Project name: scrcpy
Project version: 1.17
Using 'CFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
C compiler for the host machine: cc (gcc 10.2.0 "cc (GCC) 10.2.0")
C linker for the host machine: cc ld.bfd 2.35.1
Using 'CFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Run-time dependency libavformat found: YES 58.45.100
Run-time dependency libavcodec found: YES 58.91.100
Run-time dependency libavutil found: YES 56.51.100
Run-time dependency sdl2 found: YES 2.0.14
Configuring config.h using configuration
server/meson.build:24: WARNING: Custom target input '/home/user/.cache/yay/scrcpy-git/src/scrcpy-server-v1.17' can't be converted to File object(s).
This will become a hard error in the future.
Build targets in project: 3

Found ninja-1.10.2 at /usr/bin/ninja
ninja: Entering directory `build'                                                                   
ninja: error: '/home/user/.cache/yay/scrcpy-git/src/scrcpy-server-v1.17', needed by 'server/scrcpy-server', missing and no known ruleto make it
==> ERROR: A failure occurred in build().
Aborting...
error making: scrcpy-git

Dipper_Roy commented on 2018-11-14 05:15 (UTC)

you just need to edit the PKGBUILD , because of the scrcpy-server.jar is v1.5 now . And makepkg by yourself , have a nice day!

dano5 commented on 2018-11-12 14:29 (UTC)

tried to update today:

ninja: error: '/tmp/trizen-dag/scrcpy-git/src/scrcpy-server-v1.5.fixversion.jar', needed by 'server/scrcpy-server.jar', missing and no known rule to make it