pkgsrc-WIP-changes archive

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

Import moontlight-qt as wip/moonlight-qt



Module Name:	pkgsrc-wip
Committed By:	Charlotte Koch <charlotte%NetBSD.org@localhost>
Pushed By:	cfkoch
Date:		Tue May 31 20:40:05 2022 -0700
Changeset:	14022fdb16913577bf5c04f588247bc9c49fa00a

Modified Files:
	Makefile
Added Files:
	moonlight-qt/DESCR
	moonlight-qt/Makefile
	moonlight-qt/PLIST
	moonlight-qt/distinfo
	moonlight-qt/patches/patch-moonlight-qt.pro

Log Message:
Import moontlight-qt as wip/moonlight-qt

Moonlight is an open source implementation of NVIDIA's GameStream protocol.
We implemented the protocol used by the NVIDIA Shield and wrote a set of 3rd
party clients.

You can stream your collection of PC games from your GameStream-compatible
PC to any supported device and play them remotely. Moonlight is perfect for
gaming on the go without sacrificing the graphics and game selection
available on PC.

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

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

diffstat:
 Makefile                                    |  1 +
 moonlight-qt/DESCR                          |  8 ++++++
 moonlight-qt/Makefile                       | 42 +++++++++++++++++++++++++++++
 moonlight-qt/PLIST                          |  5 ++++
 moonlight-qt/distinfo                       |  7 +++++
 moonlight-qt/patches/patch-moonlight-qt.pro | 11 ++++++++
 6 files changed, 74 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 43cb4a6627..e23c9c60d0 100644
--- a/Makefile
+++ b/Makefile
@@ -2460,6 +2460,7 @@ SUBDIR+=	monajat
 SUBDIR+=	mono
 SUBDIR+=	mono-git
 SUBDIR+=	mono-zeroconf
+SUBDIR+=	moonlight-qt
 SUBDIR+=	mop
 SUBDIR+=	mopac7
 SUBDIR+=	moregroupware
diff --git a/moonlight-qt/DESCR b/moonlight-qt/DESCR
new file mode 100644
index 0000000000..be7bb82ce2
--- /dev/null
+++ b/moonlight-qt/DESCR
@@ -0,0 +1,8 @@
+Moonlight is an open source implementation of NVIDIA's GameStream protocol.
+We implemented the protocol used by the NVIDIA Shield and wrote a set of 3rd
+party clients.
+
+You can stream your collection of PC games from your GameStream-compatible
+PC to any supported device and play them remotely. Moonlight is perfect for
+gaming on the go without sacrificing the graphics and game selection
+available on PC.
diff --git a/moonlight-qt/Makefile b/moonlight-qt/Makefile
new file mode 100644
index 0000000000..eec7d76610
--- /dev/null
+++ b/moonlight-qt/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD$
+
+DISTNAME=	MoonlightSrc-4.1.0
+PKGNAME=	moonlight-qt-4.1.0
+CATEGORIES=	games
+MASTER_SITES=	${MASTER_SITE_GITHUB:=moonlight-stream/}
+GITHUB_RELEASE=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	charlotte%NetBSD.org@localhost
+HOMEPAGE=	https://moonlight-stream.org/
+COMMENT=	GameStream client
+LICENSE=	gnu-gpl-v3
+
+USE_LANGUAGES=	c c++
+
+WRKSRC=		${WRKDIR}/${DISTNAME}
+
+# Work around the fact that the distfile is a tarbomb
+EXTRACT_DIR=	${WRKSRC}
+
+QMAKE_ARGS=	# defined
+QMAKE_ARGS+=	moonlight-qt.pro
+QMAKE_ARGS+=	PREFIX=${PREFIX}
+
+BUILD_MAKE_FLAGS+=	debug
+INSTALL_MAKE_FLAGS+=	INSTALL_ROOT=${DESTDIR}
+
+pre-extract:
+	${MKDIR} ${WRKSRC}
+
+do-configure:
+	cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QTDIR}/bin/qmake ${QMAKE_ARGS}
+
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../fonts/SDL2_ttf/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/freeglut/buildlink3.mk"
+.include "../../multimedia/ffmpeg4/buildlink3.mk"
+.include "../../x11/qt5-qtquickcontrols2/buildlink3.mk"
+.include "../../x11/qt5-qtsvg/buildlink3.mk"
+.include "../../x11/qt5-qttools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/moonlight-qt/PLIST b/moonlight-qt/PLIST
new file mode 100644
index 0000000000..aceb205ae1
--- /dev/null
+++ b/moonlight-qt/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+bin/moonlight
+share/applications/com.moonlight_stream.Moonlight.desktop
+share/icons/hicolor/scalable/apps/moonlight.svg
+share/metainfo/com.moonlight_stream.Moonlight.appdata.xml
diff --git a/moonlight-qt/distinfo b/moonlight-qt/distinfo
new file mode 100644
index 0000000000..394ac05e27
--- /dev/null
+++ b/moonlight-qt/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (MoonlightSrc-4.1.0.tar.gz) = a46e7c5a1718a3b03fc9a94d3b61e2eb08f95eb6
+RMD160 (MoonlightSrc-4.1.0.tar.gz) = e80d328c4840ec4c78ac34151be76cd2747d4b76
+SHA512 (MoonlightSrc-4.1.0.tar.gz) = 919d2d47916a75df7db97d1cf24e2062365aec938f7e0f9ce89ec66ca63121998d3254567d11e7a74575a4dcbb598ad532628bddea00550aac405b768dd29cf3
+Size (MoonlightSrc-4.1.0.tar.gz) = 62000096 bytes
+SHA1 (patch-moonlight-qt.pro) = 12f3ae980931eb682e2e8c0c5f4c51ef4ebbd71d
diff --git a/moonlight-qt/patches/patch-moonlight-qt.pro b/moonlight-qt/patches/patch-moonlight-qt.pro
new file mode 100644
index 0000000000..da2c537cf7
--- /dev/null
+++ b/moonlight-qt/patches/patch-moonlight-qt.pro
@@ -0,0 +1,11 @@
+$NetBSD$
+
+Skip the configure-time tests for SL and EGL
+--- moonlight-qt.pro.orig	2022-05-24 17:41:37.000000000 -0700
++++ moonlight-qt.pro	2022-05-31 20:16:00.154248888 -0700
+@@ -21,5 +21,3 @@
+ 
+ # Run our compile tests
+ load(configure)
+-qtCompileTest(SL)
+-qtCompileTest(EGL)


Home | Main Index | Thread Index | Old Index