Package Details: qtscrcpy 2.2.1-5

Git Clone URL: https://aur.archlinux.org/qtscrcpy.git (read-only, click to copy)
Package Base: qtscrcpy
Description: Android real-time screencast control tool
Upstream URL: https://github.com/barry-ran/QtScrcpy
Licenses: Apache-2.0
Conflicts: qtscrcpy-docs
Submitter: yochananmarqos
Maintainer: xiota
Last Packager: xiota
Votes: 14
Popularity: 0.016767
First Submitted: 2021-03-07 15:32 (UTC)
Last Updated: 2024-08-30 21:15 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

hacktor commented on 2024-08-30 09:25 (UTC) (edited on 2024-08-30 09:29 (UTC) by hacktor)

Build Failed with yay -S qtscrcpy, though I have installed qt5-x11extras

-- Could NOT find Qt6X11Extras (missing: Qt6X11Extras_DIR)
CMake Error at QtScrcpy/CMakeLists.txt:86 (find_package):
  Found package configuration file:

    /usr/lib/cmake/Qt6/Qt6Config.cmake

  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find required Qt component "X11Extras".

  Expected Config file at
  "/usr/lib/cmake/Qt6X11Extras/Qt6X11ExtrasConfig.cmake" does NOT exist



  Configuring with --debug-find-pkg=Qt6X11Extras might reveal details why the
  package was not found.

  Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
  of the path variables that find_package uses to try and find the package.



-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'qtscrcpy-2.2.1-5':
error: packages failed to build: qtscrcpy-2.2.1-5

xiota commented on 2024-08-26 08:02 (UTC)

@anlorsp The program was overwriting the environment variable. I've updated the patch to prevent it. I also removed the variable from the script, so now you can change config path by running:

$ QTSCRCPY_CONFIG_PATH=/path/to/config qtscrcpy

anlorsp commented on 2024-08-10 05:15 (UTC)

I notice that this package create /usr/bin/qtscrcpy and in which use export QTSCRCPY_CONFIG_PATH="/etc/qtscrcpy" to define the path to the config files. However, when I try to modify it to redefine the config path, it takes no effect and the application always use /etc/qtscrcpy as its config path. So what's the effect of the QTSCRCPY_CONFIG_PATH env?

moetayuko commented on 2024-05-20 03:08 (UTC)

this fixes submodule:

diff --git a/PKGBUILD b/PKGBUILD
index c8312bc..93cf44f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -33,11 +33,9 @@ backup=("etc/$_pkgname/config.ini")
 _pkgsrc="$_pkgname"
 source=(
   "$_pkgname"::"git+$url.git#tag=v$pkgver"
-  "qtscrcpycore"::"git+https://github.com/barry-ran/QtScrcpyCore.git"
   "path-fix.patch"
 )
 sha256sums=(
-  'SKIP'
   'SKIP'
   'a80a69c96361e671db319be612dc08f26142886875a35c9cd5df57c100ddae3a'
 )
@@ -45,9 +43,8 @@ sha256sums=(
 # common functions
 prepare() {
   cd "$_pkgsrc"
-  git submodule init
-  git config submodule.QtScrcpy/QtScrcpyCore.url "$srcdir/qtscrcpycore"
-  git -c protocol.file.allow=always submodule update
+  git submodule set-url QtScrcpy/QtScrcpyCore https://github.com/barry-ran/QtScrcpyCore.git
+  git submodule update --init --recursive

   patch --strip=1 QtScrcpy/main.cpp < "$srcdir/path-fix.patch"
 }

Oldtime commented on 2024-05-12 07:46 (UTC)

It seems that QtScrcpyCore in the master branch is invalid, but the default branch should be dev, which is very strange.

Fatal error: Obtained submodule path 'QtScrcpy/QtScrcpyCore', but it does not contain 769943161f99dbc7b0c55f7f769e32729ab06693. Direct access to the commit failed.

Kzer-Za commented on 2024-04-28 07:43 (UTC)

After the last update of the pckgbuild, qtscrpy no longer installs its .desktop file.

DZDZ233 commented on 2024-04-20 14:53 (UTC)

The keymap folder does not have execution permission and the script file cannot be opened.

Translated by Google

xiota commented on 2024-04-10 23:05 (UTC)

@jaysonwcs What depends do you want to change? Edit the PKGBUILD before building to make changes. Or ignore depends during install with pacman -Udd [filename]

jaysonwcs commented on 2024-03-11 14:34 (UTC) (edited on 2024-03-11 14:34 (UTC) by jaysonwcs)

How do I swap dependencies on installation? Do I need to change some file on qtscrcpy package before build?