From 2d4beaf76b8c1a1b1d50b950fda2fc54060e81ff Mon Sep 17 00:00:00 2001 From: Samuel <36420837+Samueru-sama@users.noreply.github.com> Date: Sun, 20 Oct 2024 17:20:07 -0400 Subject: [PATCH 1/3] strip mpv binary --- mpv-AppImage.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mpv-AppImage.sh b/mpv-AppImage.sh index f1f9fe1..6ba1b67 100644 --- a/mpv-AppImage.sh +++ b/mpv-AppImage.sh @@ -49,6 +49,9 @@ sed -i 's/export PYTHONHOME/#export PYTHONHOME/g' ./mpv.AppDir/AppRun # Likely go-appimage breaking something cp /lib64/ld-linux-x86-64.so.2 ./mpv.AppDir/lib64/ld-linux-x86-64.so.2 || exit 1 +# go appimage is not stripping the main binary +strip --strip-unneeded ./mpv.AppDir/usr/bin/mpv || exit 1 + # maybe not needed but I had appimagetool bug out before if the AppDir isnt in the top level of home mv ./mpv.AppDir ../ && cd ../ || exit 1 From e6719511513c787fa2baa37aef9de2bc22d19487 Mon Sep 17 00:00:00 2001 From: Samuel <36420837+Samueru-sama@users.noreply.github.com> Date: Sun, 20 Oct 2024 17:20:59 -0400 Subject: [PATCH 2/3] Update blank2.yml --- .github/workflows/blank2.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/blank2.yml b/.github/workflows/blank2.yml index 25e1479..f581b45 100644 --- a/.github/workflows/blank2.yml +++ b/.github/workflows/blank2.yml @@ -21,7 +21,7 @@ jobs: sudo apt install equivs libavutil-dev libavcodec-dev libswscale-dev python3-dev cython3 g++ nasm git libavfilter-dev libxmu-dev libxcb1-dev sudo apt install libfuse2 libdbus-1-dev libx11-dev libxinerama-dev libxrandr-dev yasm intltool autoconf libtool devscripts libass-dev libx264-dev sudo apt install libxss-dev libglib2.0-dev libpango1.0-dev libgtk-3-dev libxdg-basedir-dev libnotify-dev libc++-dev libplacebo-dev libx265-dev - sudo apt install ninja-build autotools-dev autoconf automake make build-essential pkg-config python3-pip desktop-file-utils zsync + sudo apt install ninja-build autotools-dev autoconf automake make build-essential pkg-config python3-pip desktop-file-utils zsync binutils sudo pip3 install packaging meson chmod a+x ./mpv-AppImage.sh && ./mpv-AppImage.sh mkdir dist From 2b772ccb99bc03eedef9e0b8e4924300ca80ae3d Mon Sep 17 00:00:00 2001 From: Samuel <36420837+Samueru-sama@users.noreply.github.com> Date: Sun, 20 Oct 2024 19:54:19 -0400 Subject: [PATCH 3/3] Update blank2.yml --- .github/workflows/blank2.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/blank2.yml b/.github/workflows/blank2.yml index f581b45..06e5755 100644 --- a/.github/workflows/blank2.yml +++ b/.github/workflows/blank2.yml @@ -10,7 +10,7 @@ on: jobs: build: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4