Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jun 2019 20:31:12 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505484 - in head/comms/scrcpy: . files
Message-ID:  <201906302031.x5UKVCEI018187@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sun Jun 30 20:31:12 2019
New Revision: 505484
URL: https://svnweb.freebsd.org/changeset/ports/505484

Log:
  comms/scrcpy: update to 1.9
  
  PR:		238703
  Submitted by:	Hiroki Tagato <tagattie@yandex.com> (maintainer)

Added:
  head/comms/scrcpy/files/
  head/comms/scrcpy/files/patch-app_src_server.c   (contents, props changed)
Modified:
  head/comms/scrcpy/Makefile   (contents, props changed)
  head/comms/scrcpy/distinfo   (contents, props changed)

Modified: head/comms/scrcpy/Makefile
==============================================================================
--- head/comms/scrcpy/Makefile	Sun Jun 30 20:29:36 2019	(r505483)
+++ head/comms/scrcpy/Makefile	Sun Jun 30 20:31:12 2019	(r505484)
@@ -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>

Modified: head/comms/scrcpy/distinfo
==============================================================================
--- head/comms/scrcpy/distinfo	Sun Jun 30 20:29:36 2019	(r505483)
+++ head/comms/scrcpy/distinfo	Sun Jun 30 20:31:12 2019	(r505484)
@@ -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

Added: head/comms/scrcpy/files/patch-app_src_server.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/scrcpy/files/patch-app_src_server.c	Sun Jun 30 20:31:12 2019	(r505484)
@@ -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 *



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906302031.x5UKVCEI018187>