comms/scrcpy: update to 1.9

PR:		238703
Submitted by:	Hiroki Tagato <tagattie@yandex.com> (maintainer)
This commit is contained in:
Steve Wills 2019-06-30 20:31:12 +00:00
parent 587944c084
commit b4a0230558
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=505484
3 changed files with 21 additions and 11 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= scrcpy
DISTVERSIONPREFIX= v
DISTVERSION= 1.8
DISTVERSION= 1.9
CATEGORIES= comms net
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${GH_TAGNAME}/:jar
DISTFILES= ${DIST_JARFILE}:jar
@ -23,7 +23,8 @@ USE_SDL= sdl2
USE_GITHUB= yes
GH_ACCOUNT= Genymobile
MESON_ARGS= -Dbuild_server=false
MESON_ARGS= -Dbuild_server=false \
-Dportable=false
OPTIONS_DEFINE= DOCS
@ -34,7 +35,7 @@ INSTALL_JARFILE= ${DIST_JARFILE:C/(server).*/\1/}.jar
PLIST_FILES= bin/scrcpy ${DATADIR}/${INSTALL_JARFILE}
post-extract:
${CP} ${_DISTDIR}/${DIST_JARFILE} ${WRKSRC}/${INSTALL_JARFILE}
${CP} ${DISTDIR}/${DIST_JARFILE} ${WRKSRC}/${INSTALL_JARFILE}
post-install:
${MKDIR} ${STAGEDIR}${DATADIR}
@ -42,8 +43,6 @@ post-install:
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_MAN} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1552128375
SHA256 (scrcpy-server-v1.8.jar) = 839055ef905903bf98ead1b9b8a127fe402b39ad657a81f9a914b2dbcb2ce5c0
SIZE (scrcpy-server-v1.8.jar) = 19734
SHA256 (Genymobile-scrcpy-v1.8_GH0.tar.gz) = 1d4b53573554a60fa46b6b40685dbe6c8474bc451ecbe803e2f2ec9724b48a01
SIZE (Genymobile-scrcpy-v1.8_GH0.tar.gz) = 181991
TIMESTAMP = 1560494328
SHA256 (scrcpy-server-v1.9.jar) = ad7e539f100e48259b646f26982bc63e0a60a81ac87ae135e242855bef69bd1a
SIZE (scrcpy-server-v1.9.jar) = 22470
SHA256 (Genymobile-scrcpy-v1.9_GH0.tar.gz) = 905fe62e2825310eeb77187f8974763c3ae2f08ca1f649bcaf4721f1fd14a764
SIZE (Genymobile-scrcpy-v1.9_GH0.tar.gz) = 191404

View File

@ -0,0 +1,11 @@
--- app/src/server.c.orig 2019-06-18 09:31:46 UTC
+++ app/src/server.c
@@ -15,7 +15,7 @@
#define SOCKET_NAME "scrcpy"
#define SERVER_FILENAME "scrcpy-server.jar"
-#define DEFAULT_SERVER_PATH PREFIX "/share/scrcpy/" SERVER_FLENAME
+#define DEFAULT_SERVER_PATH PREFIX "/share/scrcpy/" SERVER_FILENAME
#define DEVICE_SERVER_PATH "/data/local/tmp/" SERVER_FILENAME
static const char *