makedeb
Display and control your Android device
Click here to go back to the commit logs for scrcpy.
Hash: cae0ec1274bae817c1be4a24e01c2f87ebf540b6
Message: Upgraded to 1.24
diff --git a/.SRCINFO b/.SRCINFO
index d94f6bf..2835227 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,29 +1,43 @@
-generated-by = makedeb-makepkg
-
-pkgbase = scrcpy
- pkgdesc = Display and control your Android device
- pkgver = 1.18
- pkgrel = 1
- url = https://github.com/Genymobile/scrcpy
- arch = i686
- arch = x86_64
- license = Apache
- makedepends = meson
- makedepends = gcc
- makedepends = pkg-config
- makedepends = meson
- makedepends = ninja-build
- makedepends = libsdl2-dev
- makedepends = libavcodec-dev
- makedepends = libavdevice-dev
- makedepends = libavformat-dev
- makedepends = libavutil-dev
- depends = adb
- depends = ffmpeg
- depends = libsdl2-2.0-0
- source = https://github.com/Genymobile/scrcpy/archive/v1.18.tar.gz
- source = https://github.com/Genymobile/scrcpy/releases/download/v1.18/scrcpy-server-v1.18
- sha256sums = 2995d74409e9a486e4f69d0f623299ebf615d9427d8e974dfd82355538a313e9
- sha256sums = 641c5c6beda9399dfae72d116f5ff43b5ed1059d871c9ebc3f47610fd33c51a3
-
+generated-by = makedeb
pkgname = scrcpy
+pkgbase = scrcpy
+pkgdesc = Display and control your Android device
+pkgrel = 1
+pkgver = 1.24
+url = https://github.com/Genymobile/scrcpy
+arch = i686
+arch = x86_64
+conflicts = scrcpy-git
+conflicts = scrcpy-bin
+depends = adb
+depends = ffmpeg
+depends = libsdl2-2.0-0
+depends = libusb-1.0-0
+license = Apache
+makedepends = gcc
+makedepends = git
+makedepends = pkg-config
+makedepends = meson
+makedepends = ninja-build
+makedepends = libsdl2-dev
+makedepends = libavcodec-dev
+makedepends = libavdevice-dev
+makedepends = libavformat-dev
+makedepends = libavutil-dev
+makedepends = libusb-1.0-0-dev
+provides = scrcpy
+source = git+https://github.com/Genymobile/scrcpy.git#tag=v1.24
+source = https://github.com/Genymobile/scrcpy/releases/download/v1.24/scrcpy-server-v1.24
+sha256sums = SKIP
+sha256sums = ae74a81ea79c0dc7250e586627c278c0a9a8c5de46c9fb5c38c167fb1a36f056
+makedepends = gcc
+makedepends = git
+makedepends = pkg-config
+makedepends = meson
+makedepends = ninja-build
+makedepends = libsdl2-dev
+makedepends = libavcodec-dev
+makedepends = libavdevice-dev
+makedepends = libavformat-dev
+makedepends = libavutil-dev
+makedepends = libusb-1.0-0-dev
diff --git a/PKGBUILD b/PKGBUILD
index dd8918b..83d0ad1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,25 @@
# Maintainer: Chris Dunder <cdunder@gmail.com>
# Contributor: Andrew Rabert <ar@nullsum.net>
-pkgname=scrcpy
-pkgver=1.18
-pkgrel=1
+pkgname='scrcpy'
+_gitname='scrcpy'
+provides=('scrcpy')
+pkgver='1.24'
+pkgrel='1'
pkgdesc='Display and control your Android device'
arch=('i686' 'x86_64')
url='https://github.com/Genymobile/scrcpy'
license=('Apache')
-depends=('adb' 'ffmpeg' 'libsdl2-2.0-0')
-makedepends=('meson' 'gcc' 'pkg-config' 'meson' 'ninja-build' 'libsdl2-dev' 'libavcodec-dev' 'libavdevice-dev' 'libavformat-dev' 'libavutil-dev')
-source=("https://github.com/Genymobile/scrcpy/archive/v${pkgver}.tar.gz"
- "https://github.com/Genymobile/scrcpy/releases/download/v${pkgver}/scrcpy-server-v${pkgver}")
-sha256sums=('2995d74409e9a486e4f69d0f623299ebf615d9427d8e974dfd82355538a313e9'
- '641c5c6beda9399dfae72d116f5ff43b5ed1059d871c9ebc3f47610fd33c51a3')
+depends=('adb' 'ffmpeg' 'libsdl2-2.0-0' 'libusb-1.0-0')
+makedepends=('gcc' 'git' 'pkg-config' 'meson' 'ninja-build' 'libsdl2-dev' 'libavcodec-dev' 'libavdevice-dev' 'libavformat-dev' 'libavutil-dev' 'libusb-1.0-0-dev')
+source=("git+${url}.git#tag=v${pkgver}"
+ "${url}/releases/download/v${pkgver}/scrcpy-server-v${pkgver}")
+conflicts=("${_gitname}-git" "${_gitname}-bin")
+sha256sums=('SKIP'
+ 'ae74a81ea79c0dc7250e586627c278c0a9a8c5de46c9fb5c38c167fb1a36f056')
build() {
- cd "${pkgname}-${pkgver}"
+ cd "${srcdir}/${_gitname}"
meson \
--prefix /usr \
--buildtype release \
@@ -28,6 +31,6 @@ build() {
}
package() {
- cd "${pkgname}-${pkgver}"
+ cd "${srcdir}/${_gitname}"
DESTDIR="${pkgdir}" ninja -C build install
}