From b22c6b0486d7e28fd4d95b43e19d8a2c80e34bca Mon Sep 17 00:00:00 2001 From: Taqi Raza Date: Wed, 25 Dec 2024 21:44:28 +0500 Subject: [PATCH] test --- .github/workflows/main.yml | 15 +++++++++++---- wine-devel.yml | 3 +-- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index de55e0f..462cf6f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,11 +32,13 @@ jobs: - name: Prerequisites run: | - sudo apt update && sudo apt install libfuse2 tree -y - wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/Continuous/appimage-builder-1.1.1.dev32+g2709a3b-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; ./appimage-builder --appimage-extract &>/dev/null + sudo apt update && sudo apt install libfuse2 patchelf tree -y + wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.1.0/appimage-builder-1.1.0-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ + wget -q "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage" -O appimagetool ; chmod a+x appimagetool # devel echo "WINE_VER=devel_9.22" >> $GITHUB_ENV + UPINFO=$(grep -Eo update-info.* wine-devel.yml | awk '{print $2}') # wineasio git clone --recursive https://github.com/mmtrt/wineasio.git --depth=1 -b main @@ -58,8 +60,13 @@ jobs: # pull glibc version from archlinux packages web sed -i "s|x.xx|$(wget -qO- https://archlinux.org/packages/core/x86_64/glibc/ | grep glibc | awk '{print $5}' | cut -d'+' -f1 | head -1)|" wine-devel.yml - squashfs-root/AppRun --recipe wine-devel.yml - + squashfs-root/AppRun --skip-appimage --recipe wine-devel.yml + find ${GITHUB_WORKSPACE}/AppDir/runtime/compat/lib/i386-linux-gnu/ -iname 'libz**' | xargs -i -t -exec cp {} ${GITHUB_WORKSPACE}/AppDir/usr/lib/i386-linux-gnu/ + find ${GITHUB_WORKSPACE}/AppDir/runtime/compat/lib/x86_64-linux-gnu/ -iname 'libz**' | xargs -i -t -exec cp {} ${GITHUB_WORKSPACE}/AppDir/usr/lib/x86_64-linux-gnu/ + find ${GITHUB_WORKSPACE}/AppDir/runtime/compat/usr/lib/i386-linux-gnu/ -iname 'libstdc**' | xargs -i -t -exec cp {} ${GITHUB_WORKSPACE}/AppDir/usr/lib/i386-linux-gnu/ + cd ./AppDir/runtime/compat/lib/i386-linux-gnu/ + ln -rsf ld-linux.so.2 ${GITHUB_WORKSPACE}/AppDir/runtime/default/lib/ + ./appimagetool --comp zstd --mksquashfs-opt -Xcompression-level --mksquashfs-opt 22 -n -u "$UPINFO" AppDir/ wine-${WINE_VER}-x86_64.AppImage - name: release uses: marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303 with: diff --git a/wine-devel.yml b/wine-devel.yml index 5bed83e..52c3184 100644 --- a/wine-devel.yml +++ b/wine-devel.yml @@ -9,7 +9,7 @@ script: # Copy App icon to AppDir/usr/share/icons needed prior to appimage-builder ver 1.x.x - mkdir -p AppDir/usr/share/icons ; cp wine.svg AppDir/usr/share/icons # Add static appimage runtime - - cp runtime/runtime-x86_64 appimage-build/prime/runtime-x86_64 + # - cp runtime/runtime-x86_64 appimage-build/prime/runtime-x86_64 # Add config - cp -R config AppDir/winedata # Add wineaiso @@ -264,7 +264,6 @@ AppDir: cp wineasio/docker/wineasio64.dll.so AppDir/opt/wine-devel/lib64/wine/x86_64-unix/wineasio64.so runtime: - version: v3.0.0-devel-2 env: LIBGL_DRIVERS_PATH: '${APPDIR}/usr/lib/i386-linux-gnu/dri:${APPDIR}/usr/lib/x86_64-linux-gnu/dri:${LIBGL_DRIVERS_PATH}' APPDIR_LIBC_VERSION: 'x.xx'