1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kodi_ynh.git synced 2024-09-03 19:26:34 +02:00
This commit is contained in:
Alexandre Aubin 2023-09-01 03:52:22 +02:00
parent ccb40475e2
commit c951bd5bcf

View file

@ -99,14 +99,6 @@ if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
cp ../conf/xorg.conf /etc/X11/xorg.conf cp ../conf/xorg.conf /etc/X11/xorg.conf
fi fi
#FIXME : this is only for debugging on the CI ...
LIBVA_DRIVER_NAME=nvidia /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/lib/x86_64-linux-gnu/kodi/kodi-xrandr >&2
echo "===========" >&2
LIBVA_DRIVER_NAME=nvidia /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/lib/x86_64-linux-gnu/kodi/kodi-xrandr --output default --gamma 0:0:0 --mode 1024x768 --crtc 0
echo "===========" >&2
LIBVA_DRIVER_NAME=nvidia /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/lib/x86_64-linux-gnu/kodi/kodi-xrandr >&2
exit 1
#================================================= #=================================================
# CREATE DEDICATED USER # CREATE DEDICATED USER
#================================================= #=================================================
@ -140,6 +132,14 @@ ynh_script_progression --message="Configuring Kodi..."
mkdir -p "$final_path/.kodi/userdata/" mkdir -p "$final_path/.kodi/userdata/"
ynh_add_config --template="../conf/advancedsettings.xml" --destination="$final_path/.kodi/userdata/advancedsettings.xml" ynh_add_config --template="../conf/advancedsettings.xml" --destination="$final_path/.kodi/userdata/advancedsettings.xml"
#FIXME : this is only for debugging on the CI ...
LIBVA_DRIVER_NAME=nvidia /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/lib/x86_64-linux-gnu/kodi/kodi-xrandr >&2
echo "===========" >&2
LIBVA_DRIVER_NAME=nvidia /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/lib/x86_64-linux-gnu/kodi/kodi-xrandr --output DUMMY0 --gamma 0:0:0 --mode 1024x768 --crtc 0 >&2
echo "===========" >&2
LIBVA_DRIVER_NAME=nvidia /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/lib/x86_64-linux-gnu/kodi/kodi-xrandr >&2
exit 1
mkdir -p "$final_path/.kodi/addons/" mkdir -p "$final_path/.kodi/addons/"
if [[ $YNH_ARCH != arm* ]]; then if [[ $YNH_ARCH != arm* ]]; then
ynh_setup_source --dest_dir="$final_path/.kodi/addons/" --source_id="arm-chorus2" ynh_setup_source --dest_dir="$final_path/.kodi/addons/" --source_id="arm-chorus2"