From nobody Mon Sep 16 20:20:33 2024 X-Original-To: dev-commits-ports-main@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 4X6x9t2Fv5z5Wsl4; Mon, 16 Sep 2024 20:20:34 +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 4X6x9s5cYkz40rx; Mon, 16 Sep 2024 20:20:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726518033; 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=pdB9ovu6o4qRyU+j+PiDgoJVKuFUDtaaXC3bCCCswhM=; b=fUXj2L0B7XNMgmx7YzVmV6kpd0rMEi+2uw3u0GD1Jb/SC6uHFuVSS4qlIfdmZdnk1d7H0W PRNCM2U77u02LUofQIdd64cYVrOytvvoFAZ+L7tkT2Y4cMwNkjLT05+gFlgPUkU6LM3+pr Fj2WBybwpejdAO5wc1+lS7M5JHTM+00q7mHO2CkkYoY1QLQopgPVtGuwS9pppxuksIDAWZ qqyuZfw6kHtQc7J6VnC+2ylRdL4aoxshjR3IuCZ5JLn3fttnwF2nit8jtqxCtUx/Om59Rb b5vdBX5YM35nKFPnJxsUMcuUpsToOjwRFvmKkMz8H9KJtZLrwQ8329k4FBQQIQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726518033; a=rsa-sha256; cv=none; b=O942yLtcyF3N4wXLI05sHMmu75RiZXXoUQ3xJ104NYfrJLCIOH+9juFL4fnOwgrRLOMwQf GIqW3Ubv7XGD9rOfs0ovlXU97AMmu1352EYRBbncs40oY/CzQv+eHZ5jxh/r9xqkrjV/nQ w5Vi0Rvr6MjARytf/DRff+jgWMvq2acVeads4+NGOloGAWUGoAoc8Q5RpiPjHVnDwHlKEp uXOifDOB00Xkma+Qiy1Kutt7BSKc1xaDWIgncc1Sxn3yOcwkudtDbxoRTItbjFYkffFohk F7euMcboXLaViVPWFmCz4FjnOyGdMdU+Jhhpg9CJiYslS9so5LgmJzZNC6aL7w== 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=1726518033; 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=pdB9ovu6o4qRyU+j+PiDgoJVKuFUDtaaXC3bCCCswhM=; b=kdl+V13YmB9lBsYf6xo6LmeKnB/k03VhwOBJjIEWEqIyjWTvmj0DPN4f5PVDaNt8e9/QlH 0+heYys2eqc23BHmKUvOUQciiE3zYJjS1iqvvh8oXN99hG3tu+vvl8bfPEt9XmX43AhjrU F6+sjydKHJznYN/mqM94v6sG8hWuvCSQ3G2YIBhfwkZYzfclI0kdraqS6JpNvISUDr6lg7 rfA83o32I8r/UBmki6YS3FoiodPqkMszjy9GU667NEftEZ7IsFta/a9e1+XRdHlkFnnOJY b0Aqlx4j4X32R6tIgVbEtxH1sKmZczH4sRZKCfZSSrspRImEPBSg3Y2KqMIgxQ== 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 4X6x9s4lZFz17jk; Mon, 16 Sep 2024 20:20:33 +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 48GKKX3I064021; Mon, 16 Sep 2024 20:20:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48GKKXGQ064018; Mon, 16 Sep 2024 20:20:33 GMT (envelope-from git) Date: Mon, 16 Sep 2024 20:20:33 GMT Message-Id: <202409162020.48GKKXGQ064018@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 293907b67c38 - main - games/moonlight-embedded-devel: moonlight-embedded development version List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 293907b67c3829737d5218cdf9bafe0144abd2f8 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=293907b67c3829737d5218cdf9bafe0144abd2f8 commit 293907b67c3829737d5218cdf9bafe0144abd2f8 Author: Armin Zhu AuthorDate: 2024-08-05 14:39:24 +0000 Commit: Robert Clausecker CommitDate: 2024-09-16 20:14:23 +0000 games/moonlight-embedded-devel: moonlight-embedded development version Moonlight allows you to stream your Desktop or games from your Windows PC(sunshine or NV shield) to your FreeBSD system. In contrast to moonlight-qt, this port can grab keyboard and mouse and has full worked vaapi decoder, which helps in case of crashes. Note: This is a fork of moonlight-embedded aimed for more features and fixes for FreeBSD on amd64, not only on embedded systems. WWW: https://github.com/armin-25689/moonlight-embedded/releases/tag/v2.7.2 PR: 280632 --- games/Makefile | 1 + games/moonlight-embedded-devel/Makefile | 72 ++++++++++++++++++++++++++++++++ games/moonlight-embedded-devel/distinfo | 3 ++ games/moonlight-embedded-devel/pkg-descr | 8 ++++ 4 files changed, 84 insertions(+) diff --git a/games/Makefile b/games/Makefile index 163b06730867..bb88fc450fe4 100644 --- a/games/Makefile +++ b/games/Makefile @@ -639,6 +639,7 @@ SUBDIR += moon-buggy SUBDIR += moonlander SUBDIR += moonlight-embedded + SUBDIR += moonlight-embedded-devel SUBDIR += moonlight-qt SUBDIR += moria SUBDIR += motogt diff --git a/games/moonlight-embedded-devel/Makefile b/games/moonlight-embedded-devel/Makefile new file mode 100644 index 000000000000..fbf9bcb5ef77 --- /dev/null +++ b/games/moonlight-embedded-devel/Makefile @@ -0,0 +1,72 @@ +PORTNAME= moonlight-embedded-devel +DISTVERSION= 2.7.2 +CATEGORIES= games +MASTER_SITES= https://github.com/armin-25689/moonlight-embedded/releases/download/v${DISTVERSION}/ + +MAINTAINER= lisp_25689@163.com +COMMENT= Command-line moonlight implementation with keyboard-grabbing support +WWW= https://github.com/moonlight-stream/moonlight-embedded + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ + ${LOCALBASE}/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml:graphics/wayland-protocols +LIB_DEPENDS= libavahi-client.so:net/avahi-app \ + libavcodec.so:multimedia/ffmpeg \ + libcurl.so:ftp/curl \ + libepoll-shim.so:devel/libepoll-shim \ + libevdev.so:devel/libevdev \ + libexpat.so:textproc/expat2 \ + libopus.so:audio/opus \ + libudev.so:devel/libudev-devd \ + libuuid.so:misc/e2fsprogs-libuuid \ + libva.so:multimedia/libva \ + libvdpau.so:multimedia/libvdpau \ + libwayland-client.so:graphics/wayland + +USES= cmake gl localbase:ldflags perl5 pkgconfig sdl ssl tar:xz xorg +USE_LDCONFIG= yes +USE_GL= egl glesv2 +USE_PERL5= build +USE_SDL= sdl2 +USE_XORG= x11 + +NO_WRKSUBDIR= yes +CFLAGS+= -DHAS_SOCKLEN_T=1 -I${LOCALBASE}/include/libepoll-shim +LDFLAGS+= -lepoll-shim +CMAKE_ARGS= -DCMAKE_INSTALL_SYSCONFDIR=${PREFIX}/etc/moonlight + +CONFLICTS_INSTALL= moonlight-embedded + +PLIST_FILES= bin/moonlight \ + "@sample etc/moonlight/moonlight.conf.sample" \ + share/man/man1/moonlight.1.gz \ + share/moonlight/gamecontrollerdb.txt + +OPTIONS_DEFAULT= OSS +CEC_DESC= Enable HDMI-CEC(TV controller) feature by using libcec.so +OSS_DESC= Open Sound System support for embedded(not SDL) platform +PULSE_DESC= PulseAudio sound server support for embedded(not SDL) platform +OPTIONS_GROUP= OTHERS +OPTIONS_GROUP_OTHERS= CEC +OPTIONS_SINGLE= SOUND +OPTIONS_SINGLE_SOUND= OSS PULSE +CEC_CMAKE_BOOL= ENABLE_CEC +CEC_LIB_DEPENDS= libcec.so:multimedia/libcec \ + libp8-platform.so:devel/p8-platform +OSS_CMAKE_ON= -DENABLE_PULSE:BOOL=false +PULSE_CMAKE_BOOL= ENABLE_PULSE +PULSE_LIB_DEPENDS= libpulse.so:audio/pulseaudio + +post-extract: + @${REINPLACE_CMD} -e 's@/usr/local@${PREFIX}@' \ + ${WRKSRC}/docs/README.pod + @${REINPLACE_CMD} -e 's@/usr/local@${PREFIX}@' \ + ${WRKSRC}/src/config.c + +post-install: + @${MV} ${STAGEDIR}${PREFIX}/etc/moonlight/moonlight.conf \ + ${STAGEDIR}${PREFIX}/etc/moonlight/moonlight.conf.sample + +.include diff --git a/games/moonlight-embedded-devel/distinfo b/games/moonlight-embedded-devel/distinfo new file mode 100644 index 000000000000..2d907ae89973 --- /dev/null +++ b/games/moonlight-embedded-devel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1722750684 +SHA256 (moonlight-embedded-devel-2.7.2.tar.xz) = f6bcee1f99953b153f24b777f8284e9ba978133fe50bf2c59988b0b6eeaa4f26 +SIZE (moonlight-embedded-devel-2.7.2.tar.xz) = 434756 diff --git a/games/moonlight-embedded-devel/pkg-descr b/games/moonlight-embedded-devel/pkg-descr new file mode 100644 index 000000000000..8a3e7e25f25a --- /dev/null +++ b/games/moonlight-embedded-devel/pkg-descr @@ -0,0 +1,8 @@ +Moonlight allows you to stream your Desktop or games from your Windows +PC(sunshine or NV shield) to your FreeBSD system. + +In contrast to moonlight-qt, this port can grab keyboard and mouse +and has full worked vaapi decoder, which helps in case of crashes. + +Note: This is a fork of moonlight-embedded aimed for more features +and fixes for FreeBSD on amd64, not only on embedded systems.