diff --git a/get-dependencies.sh b/get-dependencies.sh index 4f82bf7..7a21295 100644 --- a/get-dependencies.sh +++ b/get-dependencies.sh @@ -16,24 +16,24 @@ OPUS_URL="https://github.com/pkgforge-dev/llvm-libs-debloated/releases/download/ echo "Installing build dependencies..." echo "---------------------------------------------------------------" pacman -Syu --noconfirm \ - base-devel \ - curl \ - desktop-file-utils \ - fontconfig \ - freetype2 \ - git \ - libxcb \ - libxcursor \ - libxi \ - libxkbcommon \ - libxkbcommon-x11 \ - libxrandr \ - libxtst \ - pulseaudio \ - pulseaudio-alsa \ - qt5-base \ - wget \ - xorg-server-xvfb \ + base-devel \ + curl \ + fontconfig \ + freetype2 \ + git \ + libxcb \ + libxcursor \ + libxi \ + libxkbcommon \ + libxkbcommon-x11 \ + libxrandr \ + libxtst \ + pulseaudio \ + pulseaudio-alsa \ + qt5-base \ + qt5ct \ + wget \ + xorg-server-xvfb \ zsync diff --git a/puddletag-appimage.sh b/puddletag-appimage.sh index 529529b..3410a2f 100644 --- a/puddletag-appimage.sh +++ b/puddletag-appimage.sh @@ -29,6 +29,17 @@ mkdir -p ./AppDir && ( ./sharun -g + # add qt5ct for custom theming + echo "Adding qt5ct..." + mkdir -p \ + ./lib/python*/site-packages/PyQt5/Qt5/plugins/styles \ + ./lib/python*/site-packages/PyQt5/Qt5/plugins/platformthemes + + cp -v /usr/lib/libqt5ct* ./lib + cp -v /usr/lib/qt/plugins/styles/libqt5ct-style.so ./lib/python*/site-packages/PyQt5/Qt5/plugins/styles + cp -v /usr/lib/qt/plugins/platformthemes/libqt5ct.so ./lib/python*/site-packages/PyQt5/Qt5/plugins/platformthemes + + echo "Adding icon and desktop entry..." wget "$ICON" -O ./puddletag.svg cp -v ./puddletag.svg ./.DirIcon