diff options
author | Steve Wills <swills@FreeBSD.org> | 2019-06-30 20:31:12 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2019-06-30 20:31:12 +0000 |
commit | b4a0230558f078e8880fb13d065c73a80aa7d81c (patch) | |
tree | c156ad05bd18f04fc013d140eaf77b6c7c2c55e3 /comms/scrcpy | |
parent | 587944c08426f5150ff6bef8e4eef61c80d8c2b6 (diff) | |
download | ports-b4a0230558f078e8880fb13d065c73a80aa7d81c.tar.gz ports-b4a0230558f078e8880fb13d065c73a80aa7d81c.zip |
comms/scrcpy: update to 1.9
PR: 238703
Submitted by: Hiroki Tagato <tagattie@yandex.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=505484
Diffstat (limited to 'comms/scrcpy')
-rw-r--r-- | comms/scrcpy/Makefile | 11 | ||||
-rw-r--r-- | comms/scrcpy/distinfo | 10 | ||||
-rw-r--r-- | comms/scrcpy/files/patch-app_src_server.c | 11 |
3 files changed, 21 insertions, 11 deletions
diff --git a/comms/scrcpy/Makefile b/comms/scrcpy/Makefile index 1af4cfc03d60..e37c3af303ea 100644 --- a/comms/scrcpy/Makefile +++ b/comms/scrcpy/Makefile @@ -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> diff --git a/comms/scrcpy/distinfo b/comms/scrcpy/distinfo index 3479ca40efaa..855240ea3083 100644 --- a/comms/scrcpy/distinfo +++ b/comms/scrcpy/distinfo @@ -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 diff --git a/comms/scrcpy/files/patch-app_src_server.c b/comms/scrcpy/files/patch-app_src_server.c new file mode 100644 index 000000000000..6c7172d1330e --- /dev/null +++ b/comms/scrcpy/files/patch-app_src_server.c @@ -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 * |