[arch-commits] Commit in scrcpy/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at gemini.archlinux.org
Thu Feb 3 10:39:31 UTC 2022
Date: Thursday, February 3, 2022 @ 10:39:31
Author: arodseth
Revision: 1124102
archrelease: copy trunk to community-staging-x86_64
Added:
scrcpy/repos/community-staging-x86_64/PKGBUILD
(from rev 1124101, scrcpy/trunk/PKGBUILD)
Deleted:
scrcpy/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 71 +++++++++++++++++++++++++++----------------------------------
1 file changed, 32 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-03 10:39:23 UTC (rev 1124101)
+++ PKGBUILD 2022-02-03 10:39:31 UTC (rev 1124102)
@@ -1,39 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Andrew Rabert <ar at nullsum.net>
-
-pkgname=scrcpy
-pkgver=1.21
-pkgrel=3
-pkgdesc='Display and control your Android device'
-arch=(x86_64)
-url='https://github.com/Genymobile/scrcpy'
-license=(Apache)
-depends=(android-tools ffmpeg sdl2)
-makedepends=(meson)
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
- "$url/releases/download/v$pkgver/$pkgname-server-v$pkgver"
- https://github.com/Genymobile/scrcpy/commit/5e8fa56e.patch)
-b2sums=('c7228ada86c41f2ba460759ad0701a08a11a71992b517366afa5130a3c69fc01d5aabf6710e289e47a7042bd11bfb58482305214ee937191daa43ffb6c12788a'
- '92d90606a04adb67ac956feffb4ff2e658d294304d0bade42d08660bac312cb447a713f052d353ba9fa454a55fac5334a08fe7a847f758c27bf50589ab0926b5'
- 'b52c3e56d21be29f4b305839be0d7edab0719068e2d92d8a70eee3b15f52b3ca7328641df1b00b6fff2a50be8072cb2699fea1eb3460b72400052f31287a86da')
-
-prepare() {
- # Fix build with FFmpeg 5
- patch -d $pkgname-$pkgver -p1 < 5e8fa56e.patch
-}
-
-build() {
- mkdir -p build
- arch-meson build $pkgname-$pkgver \
- --buildtype release \
- -D b_lto=true \
- -D b_ndebug=true \
- -D prebuilt_server="../$pkgname-server-v$pkgver"
- ninja -v -C build
-}
-
-package() {
- DESTDIR="$pkgdir" ninja -C build install
- install -Dm644 $pkgname-$pkgver/LICENSE \
- -t "$pkgdir/usr/share/licenses/$pkgname"
-}
Copied: scrcpy/repos/community-staging-x86_64/PKGBUILD (from rev 1124101, scrcpy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-03 10:39:31 UTC (rev 1124102)
@@ -0,0 +1,32 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Andrew Rabert <ar at nullsum.net>
+
+pkgname=scrcpy
+pkgver=1.22
+pkgrel=2
+pkgdesc='Display and control your Android device'
+arch=(x86_64)
+url='https://github.com/Genymobile/scrcpy'
+license=(Apache)
+depends=(android-tools ffmpeg sdl2)
+makedepends=(meson)
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
+ "$url/releases/download/v$pkgver/$pkgname-server-v$pkgver")
+b2sums=('2cc9867ab854e81e502b1127e275f5bea7f061f19b08c94bf53c6ef6563c537e56f8531444e1ba7eaebd4f768946d1f19dab7f9cc7bce82eda0edf5fea64e79f'
+ '691217a8e776eca14f4d40da3de50fa98687664747de8ef246d629a5a9f9394296b82760696e1b31a44287e3678cbd3e6be18c89e8347d6a5ce7c6bf7a1a3790')
+
+build() {
+ mkdir -p build
+ arch-meson build $pkgname-$pkgver \
+ --buildtype release \
+ -D b_lto=true \
+ -D b_ndebug=true \
+ -D prebuilt_server="../$pkgname-server-v$pkgver"
+ ninja -v -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+ install -Dm644 $pkgname-$pkgver/LICENSE \
+ -t "$pkgdir/usr/share/licenses/$pkgname"
+}
More information about the arch-commits
mailing list