[ci,flatpak] update build instructions
This commit is contained in:
parent
31085cb5a5
commit
f7640288f7
@ -52,6 +52,7 @@
|
||||
{
|
||||
"name": "freerdp",
|
||||
"buildsystem": "cmake-ninja",
|
||||
"builddir": true,
|
||||
"cleanup": [
|
||||
],
|
||||
"config-opts": [
|
||||
@ -65,6 +66,7 @@
|
||||
"-DWITH_MANPAGES:BOOL=OFF",
|
||||
"-DWITH_KRB5:BOOL=ON",
|
||||
"-DWITH_PCSC:BOOL=ON",
|
||||
"-DWITH_SDL_IMAGE_DIALOGS:BOOL=ON",
|
||||
"-DWITH_INTERNAL_MD4:BOOL=ON",
|
||||
"-DWITH_INTERNAL_MD5:BOOL=ON",
|
||||
"-DWITH_INTERNAL_RC4:BOOL=ON",
|
||||
|
@ -1,18 +1,34 @@
|
||||
#!/bin/sh
|
||||
if [ -z $XDG_SESSION_TYPE ];
|
||||
|
||||
if [ -z ${FREERDP_SDL_OFF} ];
|
||||
then
|
||||
echo "XDG_SESSION_TYPE undefined"
|
||||
exit -1
|
||||
elif [ "$XDG_SESSION_TYPE" = "wayland" ];
|
||||
then
|
||||
echo "wayland $(which wlfreerdp)"
|
||||
wlfreerdp $@
|
||||
elif [ "$XDG_SESSION_TYPE" = "x11" ];
|
||||
then
|
||||
echo "X11 $(which xfreerdp)"
|
||||
xfreerdp $@
|
||||
echo "SDL $(which sdl-freerdp)"
|
||||
sdl-freerdp $@
|
||||
exit $rc
|
||||
else
|
||||
echo "XDG_SESSION_TYPE $XDG_SESSION_TYPE not handled"
|
||||
exit -1
|
||||
if [ -z $XDG_SESSION_TYPE ];
|
||||
then
|
||||
echo "XDG_SESSION_TYPE undefined"
|
||||
exit -1
|
||||
elif [ "$XDG_SESSION_TYPE" = "wayland" ];
|
||||
then
|
||||
if [ -z $FREERDP_WAYLAND_OFF ];
|
||||
then
|
||||
echo "wayland $(which wlfreerdp)"
|
||||
wlfreerdp $@
|
||||
exit $rc
|
||||
else
|
||||
echo "X11 $(which xfreerdp)"
|
||||
xfreerdp $@
|
||||
exit $rc
|
||||
fi
|
||||
elif [ "$XDG_SESSION_TYPE" = "x11" ];
|
||||
then
|
||||
echo "X11 $(which xfreerdp)"
|
||||
xfreerdp $@
|
||||
exit $rc
|
||||
else
|
||||
echo "XDG_SESSION_TYPE $XDG_SESSION_TYPE not handled"
|
||||
exit -1
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user