File tree Expand file tree Collapse file tree 2 files changed +78
-0
lines changed Expand file tree Collapse file tree 2 files changed +78
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ set -eux
4+
5+ ARCH=" $( uname -m) "
6+ URUNTIME=" https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/uruntime2appimage.sh"
7+ SHARUN=" https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/quick-sharun.sh"
8+ VERSION=" $( cat ~ /version) "
9+
10+ export ADD_HOOKS=" self-updater.bg.hook"
11+ export DESKTOP=/usr/share/applications/org.clementine_player.Clementine.desktop
12+ export ICON=/usr/share/icons/hicolor/128x128/apps/org.clementine_player.Clementine.png
13+ export UPINFO=" gh-releases-zsync|${GITHUB_REPOSITORY%/* } |${GITHUB_REPOSITORY#*/ } |latest|*$ARCH .AppImage.zsync"
14+ export OUTNAME=Clementine-" $VERSION " -anylinux-" $ARCH " .AppImage
15+ export DEPLOY_OPENGL=1
16+ export DEPLOY_PIPEWIRE=1
17+ export DEPLOY_GSTREAMER=1
18+
19+ # ADD LIBRARIES
20+ wget --retry-connrefused --tries=30 " $SHARUN " -O ./quick-sharun
21+ chmod +x ./quick-sharun
22+ ./quick-sharun /usr/bin/clementine*
23+
24+ # MAKE APPIMAGE WITH URUNTIME
25+ wget --retry-connrefused --tries=30 " $URUNTIME " -O ./uruntime2appimage
26+ chmod +x ./uruntime2appimage
27+ ./uruntime2appimage
28+
29+ mkdir -p ./dist
30+ mv -v ./* .AppImage* ./dist
31+ mv -v ~ /version ./dist
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ set -eux
4+
5+ ARCH=" $( uname -m) "
6+ EXTRA_PACKAGES=" https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/get-debloated-pkgs.sh"
7+
8+ pacman -Syu --noconfirm \
9+ base-devel \
10+ curl \
11+ git \
12+ gst-plugins-bad \
13+ gst-plugins-base \
14+ gst-plugins-good \
15+ libxcb \
16+ libxcursor \
17+ libxi \
18+ libxkbcommon \
19+ libxkbcommon-x11 \
20+ libxrandr \
21+ libxtst \
22+ pipewire-audio \
23+ pulseaudio \
24+ pulseaudio-alsa \
25+ qt5ct \
26+ qt5-wayland \
27+ wget \
28+ xorg-server-xvfb \
29+ zsync
30+
31+ echo " Installing debloated packages..."
32+ echo " ---------------------------------------------------------------"
33+ wget --retry-connrefused --tries=30 " $EXTRA_PACKAGES " -O ./get-debloated-pkgs.sh
34+ chmod +x ./get-debloated-pkgs.sh
35+ ./get-debloated-pkgs.sh --add-opengl --prefer-nano libxml2-mini opus-mini
36+
37+ echo " Building clementine..."
38+ echo " ---------------------------------------------------------------"
39+ sed -i -e ' s|EUID == 0|EUID == 69|g' /usr/bin/makepkg
40+ sed -i -e ' s|MAKEFLAGS=.*|MAKEFLAGS="-j$(nproc)"|; s|#MAKEFLAGS|MAKEFLAGS|' /etc/makepkg.conf
41+ git clone https://aur.archlinux.org/clementine.git ./clementine
42+ cd ./clementine
43+ makepkg -fs --noconfirm
44+ ls -la .
45+ pacman --noconfirm -U ./* .pkg.tar.*
46+
47+ pacman -Q clementine | awk ' {print $2; exit}' > ~ /version
You can’t perform that action at this time.
0 commit comments