Thu Feb 16 08:06:21 2023 UTC ()
games/moonlight-qt: Import package
(charlotte)
diff -r0 -r1.1 pkgsrc/games/moonlight-qt/DESCR
diff -r0 -r1.1 pkgsrc/games/moonlight-qt/Makefile
diff -r0 -r1.1 pkgsrc/games/moonlight-qt/PLIST
diff -r0 -r1.1 pkgsrc/games/moonlight-qt/distinfo
diff -r0 -r1.1 pkgsrc/games/moonlight-qt/patches/patch-moonlight-qt.pro
Moonlight is an open source implementation of NVIDIA's GameStream protocol,
which is the protocol used by the NVIDIA Shield.
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.
# $NetBSD: Makefile,v 1.1 2023/02/16 08:06:21 charlotte Exp $
DISTNAME= MoonlightSrc-4.3.1
PKGNAME= moonlight-qt-4.3.1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GITHUB:=moonlight-stream/}
GITHUB_RELEASE= v${PKGVERSION_NOREV}
MAINTAINER= charlotte@NetBSD.org
HOMEPAGE= https://moonlight-stream.org/
COMMENT= GameStream client
LICENSE= gnu-gpl-v3
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
WRKSRC= ${WRKDIR}/${DISTNAME}
# Work around the fact that the distfile is a tarbomb
EXTRACT_DIR= ${WRKSRC}
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 "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../multimedia/ffmpeg4/buildlink3.mk"
.include "../../security/openssl/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"
@comment $NetBSD: PLIST,v 1.1 2023/02/16 08:06:21 charlotte Exp $
bin/moonlight
share/applications/com.moonlight_stream.Moonlight.desktop
share/icons/hicolor/scalable/apps/moonlight.svg
share/metainfo/com.moonlight_stream.Moonlight.appdata.xml
$NetBSD: distinfo,v 1.1 2023/02/16 08:06:21 charlotte Exp $
BLAKE2s (MoonlightSrc-4.3.1.tar.gz) = 3121de7ae0f7958c1d734eb71118db28847af1582f8d4feca0d109e6f4354149
SHA512 (MoonlightSrc-4.3.1.tar.gz) = f5f7b23929aadb87716470522a315cba40d8155be6b76297eab4107e0fef71b48f9f4c9a4cc2b58bd48579db052a8ca8ecda9b49c78c3d229863a30886cf1847
Size (MoonlightSrc-4.3.1.tar.gz) = 71454450 bytes
SHA1 (patch-moonlight-qt.pro) = 983da58082157b04a53a02a6849e9273d51034b0
$NetBSD: patch-moonlight-qt.pro,v 1.1 2023/02/16 08:06:21 charlotte Exp $
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)