pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

scrcpy: initial commit



Module Name:	pkgsrc-wip
Committed By:	mayuresh <mayuresh%acm.org@localhost>
Pushed By:	mayuresh
Date:		Fri Nov 11 21:57:12 2022 +0530
Changeset:	2f6b1dc4e94f87d8c28d00847fd9ac29118bcfca

Added Files:
	scrcpy/DESCR
	scrcpy/Makefile
	scrcpy/PLIST
	scrcpy/distinfo

Log Message:
scrcpy: initial commit

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2f6b1dc4e94f87d8c28d00847fd9ac29118bcfca

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 scrcpy/DESCR    |  2 ++
 scrcpy/Makefile | 35 +++++++++++++++++++++++++++++++++++
 scrcpy/PLIST    |  7 +++++++
 scrcpy/distinfo |  8 ++++++++
 4 files changed, 52 insertions(+)

diffs:
diff --git a/scrcpy/DESCR b/scrcpy/DESCR
new file mode 100644
index 0000000000..15c9d2a459
--- /dev/null
+++ b/scrcpy/DESCR
@@ -0,0 +1,2 @@
+This application provides display and control of Android devices connected via
+USB or [over TCP/IP](#tcpip-wireless). It does not require any _root_ access.
diff --git a/scrcpy/Makefile b/scrcpy/Makefile
new file mode 100644
index 0000000000..3b190fd591
--- /dev/null
+++ b/scrcpy/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD$
+
+DISTNAME=	scrcpy-1.24
+CATEGORIES=	net
+MASTER_SITES=	${MASTER_SITE_GITHUB:=Genymobile/}
+GITHUB_RELEASE=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/Genymobile/scrcpy/
+COMMENT=	Display and control your Android device
+LICENSE=	apache-2.0
+
+USE_TOOLS+=	pkg-config bash
+USE_CMAKE=	yes
+
+SERVERFILE=	scrcpy-server-v1.24
+DISTFILES=	${DEFAULT_DISTFILES} ${SERVERFILE}
+SERVERTGTFILE=	${WRKSRC}/server/scrcpy-server
+ICON_THEMES=	yes
+
+DEPENDS+=	android-tools-adb-[0-9]*:../../wip/android-tools-adb
+
+SITES.${SERVERFILE}=	${MASTER_SITE_GITHUB:=Genymobile/}/scrcpy/releases/download/v1.24/scrcpy-server-v1.24/
+
+MESON_ARGS+=	-Dprebuilt_server=${SERVERTGTFILE}
+
+post-extract:
+	mv ${WRKDIR}/${SERVERFILE} ${SERVERTGTFILE}
+
+.include "../../devel/meson/build.mk"
+.include "../../multimedia/ffmpeg5/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/libusb1/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/scrcpy/PLIST b/scrcpy/PLIST
new file mode 100644
index 0000000000..d8d8507dcb
--- /dev/null
+++ b/scrcpy/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD$
+bin/scrcpy
+man/man1/scrcpy.1
+share/bash-completion/completions/scrcpy
+share/icons/hicolor/256x256/apps/scrcpy.png
+share/scrcpy/scrcpy-server
+share/zsh/site-functions/_scrcpy
diff --git a/scrcpy/distinfo b/scrcpy/distinfo
new file mode 100644
index 0000000000..fb83769b5b
--- /dev/null
+++ b/scrcpy/distinfo
@@ -0,0 +1,8 @@
+$NetBSD$
+
+BLAKE2s (scrcpy-1.24.tar.gz) = 3694b4ab1fa73eb5dd568006a396591e1ab338c4f1008c99dda6cff6dc8b79a3
+SHA512 (scrcpy-1.24.tar.gz) = 0eda7d6b0fb7339e1e32114d861194fd6bfce5ddb15d8d241f94278cb5800c2dd6c3bd69ea0b09b2bd5137757e85d679b2c789218e6933d83df4bc07dac09b2e
+Size (scrcpy-1.24.tar.gz) = 424970 bytes
+BLAKE2s (scrcpy-server-v1.24) = e43375caa0c1c1e508eb6483f82c07bcaa4cb8ee18d44ca64f7552dd8a3b4f2a
+SHA512 (scrcpy-server-v1.24) = 1bbc921e954c722307ef4fb2e1478954f6bf14544da362a9edeefd0f90def435bee409130d2ef2fddee98ec6255e12e9bda595507fec479f3feae0a57fb78236
+Size (scrcpy-server-v1.24) = 41159 bytes


Home | Main Index | Thread Index | Old Index