Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2019 09:32:15 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r491334 - in head/comms: . scrcpy
Message-ID:  <201901270932.x0R9WFeo082553@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sun Jan 27 09:32:14 2019
New Revision: 491334
URL: https://svnweb.freebsd.org/changeset/ports/491334

Log:
  comms/scrcpy: New port -- Display and control your Android device
  
  Scrcpy provides display and control of Android devices connected on
  USB (or over TCP/IP). It does not require any root access.
  
  https://github.com/Genymobile/scrcpy
  
  PR:		235146
  Submitted by:	Hiroki Tagato <tagattie@yandex.com>

Added:
  head/comms/scrcpy/
  head/comms/scrcpy/Makefile   (contents, props changed)
  head/comms/scrcpy/distinfo   (contents, props changed)
  head/comms/scrcpy/pkg-descr   (contents, props changed)
Modified:
  head/comms/Makefile

Modified: head/comms/Makefile
==============================================================================
--- head/comms/Makefile	Sun Jan 27 09:30:34 2019	(r491333)
+++ head/comms/Makefile	Sun Jan 27 09:32:14 2019	(r491334)
@@ -158,6 +158,7 @@
     SUBDIR += rubygem-serialport
     SUBDIR += rxtx
     SUBDIR += scmxx
+    SUBDIR += scrcpy
     SUBDIR += sdr-wspr
     SUBDIR += ser2net
     SUBDIR += serialoverip

Added: head/comms/scrcpy/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/scrcpy/Makefile	Sun Jan 27 09:32:14 2019	(r491334)
@@ -0,0 +1,49 @@
+# $FreeBSD$
+
+PORTNAME=	scrcpy
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.6
+CATEGORIES=	comms net
+MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${GH_TAGNAME}/:jar
+DISTFILES=	${DIST_JARFILE}:jar
+EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER=	tagattie@yandex.com
+COMMENT=	Display and control your Android device
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg
+RUN_DEPENDS=	adb:devel/android-tools-adb
+
+USES=		meson pkgconfig
+USE_SDL=	sdl2
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	Genymobile
+
+MESON_ARGS=	-Dbuild_server=false
+
+OPTIONS_DEFINE=	DOCS
+
+PORTDOCS=	README.md FAQ.md
+
+DIST_JARFILE=	${PORTNAME}-server-${DISTVERSIONPREFIX}${DISTVERSION}.jar
+INSTALL_JARFILE=	${DIST_JARFILE:C/(server).*/\1/}.jar
+PLIST_FILES=	bin/scrcpy ${DATADIR}/${INSTALL_JARFILE}
+
+post-extract:
+	${CP} ${_DISTDIR}/${DIST_JARFILE} ${WRKSRC}/${INSTALL_JARFILE}
+
+post-install:
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/${INSTALL_JARFILE} ${STAGEDIR}${DATADIR}
+
+post-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for doc in ${PORTDOCS}
+	${INSTALL_MAN} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
+.endfor
+
+.include <bsd.port.mk>

Added: head/comms/scrcpy/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/scrcpy/distinfo	Sun Jan 27 09:32:14 2019	(r491334)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1548144750
+SHA256 (scrcpy-server-v1.6.jar) = 08df924bf6d10943df9eaacfff548a99871ebfca4641f8c7ddddb73f27cb905b
+SIZE (scrcpy-server-v1.6.jar) = 19346
+SHA256 (Genymobile-scrcpy-v1.6_GH0.tar.gz) = b41925d087420cbe24d7fa901cbb537f492c28c50d875fcf738e7fe4b26d7d05
+SIZE (Genymobile-scrcpy-v1.6_GH0.tar.gz) = 178086

Added: head/comms/scrcpy/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/scrcpy/pkg-descr	Sun Jan 27 09:32:14 2019	(r491334)
@@ -0,0 +1,4 @@
+Scrcpy provides display and control of Android devices connected on
+USB (or over TCP/IP). It does not require any root access.
+
+WWW: https://github.com/Genymobile/scrcpy



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