Skip to content

Commit

Permalink
comms/scrcpy: update to 2.1
Browse files Browse the repository at this point in the history
While here, remove unnecessary USES=desktop-file-utils.

Changelog: https://github.com/Genymobile/scrcpy/releases/tag/v2.1
  • Loading branch information
tagattie committed Jun 27, 2023
1 parent 57b280a commit ac89ac7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 16 deletions.
8 changes: 2 additions & 6 deletions comms/scrcpy/Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
PORTNAME= scrcpy
DISTVERSIONPREFIX= v
DISTVERSION= 2.0
PORTREVISION= 2
DISTVERSION= 2.1
CATEGORIES= comms net
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSIONFULL}/:server
DISTFILES= ${SERVER_FILE}:server
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}

PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES= 6b769675fa68e60c9765022e43c4d7b1e329353a.patch:-p1

MAINTAINER= tagattie@FreeBSD.org
COMMENT= Display and control your Android device
WWW= https://github.com/Genymobile/scrcpy
Expand All @@ -20,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
RUN_DEPENDS= adb:devel/android-tools

USES= compiler:c++11-lang desktop-file-utils meson pkgconfig sdl
USES= compiler:c++11-lang meson pkgconfig sdl

USE_GITHUB= yes
GH_ACCOUNT= Genymobile
Expand Down
12 changes: 5 additions & 7 deletions comms/scrcpy/distinfo
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
TIMESTAMP = 1678617692
SHA256 (scrcpy-server-v2.0) = 9e241615f578cd690bb43311000debdecf6a9c50a7082b001952f18f6f21ddc2
SIZE (scrcpy-server-v2.0) = 52867
SHA256 (Genymobile-scrcpy-v2.0_GH0.tar.gz) = a256241dd178ab103e4a119d0387f348c10ac513f25a7ca4859bd53ca5e7d43f
SIZE (Genymobile-scrcpy-v2.0_GH0.tar.gz) = 375902
SHA256 (6b769675fa68e60c9765022e43c4d7b1e329353a.patch) = b9eebe81d56c7e91b6834db00725059cf41ef3ad4e1b3bfa6875fa0f1576f30c
SIZE (6b769675fa68e60c9765022e43c4d7b1e329353a.patch) = 2139
TIMESTAMP = 1687851395
SHA256 (scrcpy-server-v2.1) = 5b8bf1940264b930c71a1c614c57da2247f52b2d4240bca865cc6d366dff6688
SIZE (scrcpy-server-v2.1) = 56955
SHA256 (Genymobile-scrcpy-v2.1_GH0.tar.gz) = 57a277238d19d3471f37003d0d567bb8cde0a2b487b5cf91416129b463d9e8d5
SIZE (Genymobile-scrcpy-v2.1_GH0.tar.gz) = 385830
6 changes: 3 additions & 3 deletions comms/scrcpy/files/patch-app_meson.build
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- app/meson.build.orig 2023-03-12 01:05:37 UTC
--- app/meson.build.orig 2023-06-21 23:15:44 UTC
+++ app/meson.build
@@ -54,8 +54,8 @@ src = [
@@ -56,8 +56,8 @@ src = [

conf = configuration_data()

Expand All @@ -11,7 +11,7 @@
conf.set('_GNU_SOURCE', true)

if host_machine.system() == 'windows'
@@ -236,10 +236,10 @@ install_data('data/icon.png',
@@ -238,10 +238,10 @@ install_data('data/icon.png',
install_data('data/zsh-completion/_scrcpy',
install_dir: join_paths(datadir, 'zsh/site-functions'))
install_data('data/bash-completion/scrcpy',
Expand Down

0 comments on commit ac89ac7

Please sign in to comment.