From nobody Thu Jul 25 12:41:01 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WV9V575Hqz5S0Lx; Thu, 25 Jul 2024 12:41:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WV9V56TY3z4Lvy; Thu, 25 Jul 2024 12:41:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721911261; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uYQgmjLeo263fvT5HxUhGvdee3Qdm61lbFSQKWp8m+E=; b=jATbJe/OUVi7FBAexkz4hfihj14FJbXzBmtUBIDwk4gia9Y2wjFBZPyOCr11P29zlZKMZ3 wdiy/r7dlIUpVtEamiUXGwxxEItrfrPW/LeuHEUaZAnUqUsFSE8kvT+3Z6rjHDYBjMHWbs PWyuuJDJ79z5yUlT7nbgW+9LSpfgSiAG4K6rnNoH3N3/H4NQXpIzrzo6c3Cg9ojI0ED2hN jgxrAGKZWTShMw6VIiQgX3971WQYDCGvjxs4mJs7v6GDpQdZcVxVU5XOJbaPIUfB8jrWeR q8Q+95vfBYzuO9TvH26Ftg2I1faiY2MiLdqIyQhRzB98VXjWj54qPF3MjLjktQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721911261; a=rsa-sha256; cv=none; b=Rf1KZ/IWJTNKA591dmk+uEkCR4O54EtXOfJ0CSLeBTVliFYgJOR+dM9p1WmGNAgaYBJvuC xinVhagCJ08O7mTYB6V4cnMZy5Nyr9m5nQCXW6WNK4/Wnncw4ixcBplzH7sNbWLxfzBM8c F6H1iAFcEpzgwQZIqv2fFBV/bp3HAMv5UKHL0FjkRM70E2k79ShmadjZd1djOia5+fpgPH rO5bOXTe2mKgOosfkKhdalPz+3KQWF/cJr4YiCjuWi5EbZoSb6+nCFcv7IjL+ZDt9iIFk+ l6SjTO8fPVjgv2BNk4o/EhDCwFR7myp8AIrDK4UHlWgEwwjY1mFaKM2xyo+q3g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721911261; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uYQgmjLeo263fvT5HxUhGvdee3Qdm61lbFSQKWp8m+E=; b=SU+9RQJkby+dm3v/y+2+4csHJVTL5QxIk523updgPPAnHAIc+G60mBE9Cj7BCnjszX/nM0 Hz5noeyiI2i/EP22OwufPgG2mIGe0Xp62z+QSgravat6MsC7m5sKuF2TaskoAQgwjPxJXz nF6vZJNasL5TljJ4iakWyRr+LAmBVXBd5Sb5fQj1+vwhWXVf4nvvs6tDWkgNX608El20Rn 3k0wjhFrxI+FGKK160a4md4i297oBL4F6WiETxeyjjnl+2Z7w7EMJjQcBDa14/Xkz5u57F Wn8Bc5y0qhMET61q3veMk3/yD+jZPJGtOtiUAdiIq7Ha8hETSP6kRMJXbF/9JA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WV9V565n0zvsb; Thu, 25 Jul 2024 12:41:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46PCf1Eh040261; Thu, 25 Jul 2024 12:41:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46PCf18a040258; Thu, 25 Jul 2024 12:41:01 GMT (envelope-from git) Date: Thu, 25 Jul 2024 12:41:01 GMT Message-Id: <202407251241.46PCf18a040258@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Vladimir Druzenko Subject: git: 8128a733a9d9 - 2024Q3 - games/moonlight-qt: Update to 6.0.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/2024Q3 X-Git-Reftype: branch X-Git-Commit: 8128a733a9d96b22256d3e80a4ad6133276cc3e0 Auto-Submitted: auto-generated The branch 2024Q3 has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=8128a733a9d96b22256d3e80a4ad6133276cc3e0 commit 8128a733a9d96b22256d3e80a4ad6133276cc3e0 Author: Armin Zhu AuthorDate: 2024-07-20 17:37:40 +0000 Commit: Vladimir Druzenko CommitDate: 2024-07-25 12:40:30 +0000 games/moonlight-qt: Update to 6.0.1 PR: 280113 (cherry picked from commit b280d1d7f3bfeaed1881f6ba1ae9053d88e6a31f) --- games/moonlight-qt/Makefile | 17 ++++++++++++++--- games/moonlight-qt/distinfo | 6 +++--- .../patch-app_streaming_video_ffmpeg-renderers_drm.cpp | 6 +++--- 3 files changed, 20 insertions(+), 9 deletions(-) diff --git a/games/moonlight-qt/Makefile b/games/moonlight-qt/Makefile index 14626d2d7fa7..275d5d43694f 100644 --- a/games/moonlight-qt/Makefile +++ b/games/moonlight-qt/Makefile @@ -1,5 +1,5 @@ PORTNAME= moonlight -DISTVERSION= 5.0.1 +DISTVERSION= 6.0.1 CATEGORIES= games MASTER_SITES= https://github.com/moonlight-stream/moonlight-qt/releases/download/v${DISTVERSION}/ PKGNAMESUFFIX= -qt @@ -12,16 +12,17 @@ WWW= https://github.com/moonlight-stream/moonlight-qt LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libopus.so:audio/opus \ libva.so:multimedia/libva \ libdrm.so:graphics/libdrm \ libvdpau.so:multimedia/libvdpau \ + libplacebo.so:graphics/libplacebo \ libwayland-client.so:graphics/wayland USES= desktop-file-utils gl localbase:ldflags pkgconfig \ - qmake:outsource qt:5 sdl ssl xorg -USE_QT= core declarative gui network quickcontrols2 svg widgets buildtools:build + qmake:outsource sdl ssl xorg USE_GL= egl USE_SDL= sdl2 ttf2 USE_XORG= x11 @@ -33,6 +34,16 @@ PLIST_FILES= bin/moonlight-qt \ share/metainfo/com.moonlight_stream.Moonlight.appdata.xml \ share/icons/hicolor/scalable/apps/moonlight.svg \ +OPTIONS_DEFAULT= QT6 +QT5_DESC= QT 5 toolkit support +QT6_DESC= QT 6 toolkit support +OPTIONS_SINGLE= QT +OPTIONS_SINGLE_QT= QT6 QT5 +QT5_USES= qt:5 +QT5_USE= qt=core,declarative,gui,network,quickcontrols2,svg,widgets,buildtools:build +QT6_USES= qt:6 +QT6_USE= qt=base,declarative,svg + post-patch: @${REINPLACE_CMD} -e 's@Exec=moonlight.*@Exec=${PORTNAME}${PKGNAMESUFFIX}@' \ ${WRKSRC}/app/deploy/linux/com.moonlight_stream.Moonlight.desktop diff --git a/games/moonlight-qt/distinfo b/games/moonlight-qt/distinfo index f814d329b33a..2ef4a1114303 100644 --- a/games/moonlight-qt/distinfo +++ b/games/moonlight-qt/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1698902927 -SHA256 (MoonlightSrc-5.0.1.tar.gz) = 901f875089fc5b2489cb45b5a33f00649f768555e760bdd5dfbaa8a05caebc98 -SIZE (MoonlightSrc-5.0.1.tar.gz) = 79820559 +TIMESTAMP = 1720010303 +SHA256 (MoonlightSrc-6.0.1.tar.gz) = c4e59b033f4cfa78c7af54213d1eec158bc1676472c358be61482375e1a38ee0 +SIZE (MoonlightSrc-6.0.1.tar.gz) = 83786545 diff --git a/games/moonlight-qt/files/patch-app_streaming_video_ffmpeg-renderers_drm.cpp b/games/moonlight-qt/files/patch-app_streaming_video_ffmpeg-renderers_drm.cpp index 4068c7278a21..af100260b824 100644 --- a/games/moonlight-qt/files/patch-app_streaming_video_ffmpeg-renderers_drm.cpp +++ b/games/moonlight-qt/files/patch-app_streaming_video_ffmpeg-renderers_drm.cpp @@ -1,6 +1,6 @@ ---- app/streaming/video/ffmpeg-renderers/drm.cpp.orig 2023-10-18 05:45:10 UTC +--- app/streaming/video/ffmpeg-renderers/drm.cpp.orig 2024-06-06 03:42:28 UTC +++ app/streaming/video/ffmpeg-renderers/drm.cpp -@@ -10,7 +10,24 @@ extern "C" { +@@ -11,7 +11,24 @@ extern "C" { } #include @@ -22,6 +22,6 @@ +#define DMA_BUF_BASE 'b' +#define DMA_BUF_IOCTL_SYNC _IOW(DMA_BUF_BASE, 0, struct dma_buf_sync) +#endif - #include // Special Rockchip type + #ifndef DRM_FORMAT_NA12