mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
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
This commit is contained in:
parent
833afe4f6f
commit
293907b67c
@ -639,6 +639,7 @@
|
||||
SUBDIR += moon-buggy
|
||||
SUBDIR += moonlander
|
||||
SUBDIR += moonlight-embedded
|
||||
SUBDIR += moonlight-embedded-devel
|
||||
SUBDIR += moonlight-qt
|
||||
SUBDIR += moria
|
||||
SUBDIR += motogt
|
||||
|
72
games/moonlight-embedded-devel/Makefile
Normal file
72
games/moonlight-embedded-devel/Makefile
Normal file
@ -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 <bsd.port.mk>
|
3
games/moonlight-embedded-devel/distinfo
Normal file
3
games/moonlight-embedded-devel/distinfo
Normal file
@ -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
|
8
games/moonlight-embedded-devel/pkg-descr
Normal file
8
games/moonlight-embedded-devel/pkg-descr
Normal file
@ -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.
|
Loading…
Reference in New Issue
Block a user