svn commit: r491334 - in head/comms: . scrcpy
Tobias C. Berner
tcberner at FreeBSD.org
Sun Jan 27 09:32:16 UTC 2019
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 at 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 at 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
More information about the svn-ports-head
mailing list