From 2102f728a78174005b4b88194b2003e00e921606 Mon Sep 17 00:00:00 2001 From: solene Date: Thu, 25 Feb 2021 19:39:19 +0000 Subject: [PATCH] Import moonlight-qt-3.0.0 Moonlight (formerly Limelight) is an open source implementation of NVIDIA's GameStream protocol. With Moonlight, You can stream your collection of PC games from your GameStream-compatible PC to any supported device and play them remotely. ok rsadowski@ port done by Muhammad Kaisar Arkhan who is also the maintainer --- games/moonlight-qt/Makefile | 42 ++++++++++++++++++++++++++++++++++++ games/moonlight-qt/distinfo | 2 ++ games/moonlight-qt/pkg/DESCR | 4 ++++ games/moonlight-qt/pkg/PLIST | 8 +++++++ 4 files changed, 56 insertions(+) create mode 100644 games/moonlight-qt/Makefile create mode 100644 games/moonlight-qt/distinfo create mode 100644 games/moonlight-qt/pkg/DESCR create mode 100644 games/moonlight-qt/pkg/PLIST diff --git a/games/moonlight-qt/Makefile b/games/moonlight-qt/Makefile new file mode 100644 index 00000000000..8c909cb3a0d --- /dev/null +++ b/games/moonlight-qt/Makefile @@ -0,0 +1,42 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2021/02/25 19:39:19 solene Exp $ + +COMMENT = open-source nvidia gamestream client + +V = 3.0.0 +PKGNAME = moonlight-qt-${V} + +DISTNAME = MoonlightSrc-${V} +MASTER_SITES = https://github.com/moonlight-stream/moonlight-qt/releases/download/v${V}/ + +CATEGORIES = games + +HOMEPAGE = https://moonlight-stream.org + +MAINTAINER = Muhammad Kaisar Arkhan + +# GPLv3 +PERMIT_PACKAGE = Yes + +WANTLIB += ${COMPILER_LIBCXX} EGL GL Qt5Core Qt5Gui Qt5Network +WANTLIB += Qt5Qml Qt5QmlModels Qt5Quick Qt5QuickControls2 Qt5Svg +WANTLIB += Qt5Widgets SDL2 SDL2_ttf X11 avcodec avutil c crypto +WANTLIB += drm m opus ssl + +MODULES = devel/qmake \ + x11/qt5 + +RUN_DEPENDS = x11/gtk+3,-guic \ + devel/desktop-file-utils + + +LIB_DEPENDS = graphics/ffmpeg \ + devel/sdl2 \ + devel/sdl2-ttf \ + audio/opus \ + x11/qt5/qtsvg \ + x11/qt5/qtquickcontrols2 \ + x11/qt5/qtdeclarative + +WRKDIST = ${WRKDIR} + +.include diff --git a/games/moonlight-qt/distinfo b/games/moonlight-qt/distinfo new file mode 100644 index 00000000000..88b86cdae34 --- /dev/null +++ b/games/moonlight-qt/distinfo @@ -0,0 +1,2 @@ +SHA256 (MoonlightSrc-3.0.0.tar.gz) = LOIcC0AcI/kxxvArn7aNTRaGdLYw+Y4HVI9p2M9pJGM= +SIZE (MoonlightSrc-3.0.0.tar.gz) = 54759762 diff --git a/games/moonlight-qt/pkg/DESCR b/games/moonlight-qt/pkg/DESCR new file mode 100644 index 00000000000..3451f959fe8 --- /dev/null +++ b/games/moonlight-qt/pkg/DESCR @@ -0,0 +1,4 @@ +Moonlight (formerly Limelight) is an open source implementation of +NVIDIA's GameStream protocol. With Moonlight, You can stream your +collection of PC games from your GameStream-compatible PC to any +supported device and play them remotely. diff --git a/games/moonlight-qt/pkg/PLIST b/games/moonlight-qt/pkg/PLIST new file mode 100644 index 00000000000..1030326e24c --- /dev/null +++ b/games/moonlight-qt/pkg/PLIST @@ -0,0 +1,8 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2021/02/25 19:39:19 solene Exp $ +@bin bin/moonlight +share/applications/com.moonlight_stream.Moonlight.desktop +share/icons/hicolor/scalable/apps/moonlight.svg +share/metainfo/ +share/metainfo/com.moonlight_stream.Moonlight.appdata.xml +@tag update-desktop-database +@tag gtk-update-icon-cache %D/share/icons/hicolor