disable stable runner, move to edge, add fotema update
All checks were successful
Release Alpine apk for ARM64v8 Edge / compilation-arm64v8 (push) Successful in 1h5m3s

supersonic-desktop
This commit is contained in:
ITmodulo 2025-06-29 11:39:49 +02:00
commit c7e81a6e15
8 changed files with 124 additions and 67 deletions

View file

@ -1,60 +1,60 @@
name: "Release Alpine apk for ARM64v8"
# name: "Release Alpine apk for ARM64v8"
on:
push:
branches:
- release
# on:
# push:
# branches:
# - release
jobs:
compilation-arm64v8:
runs-on: aarch-64-alpine-latest
steps:
- name: Select faster mirror and add tools
shell: sh
run: |
echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/main" > /etc/apk/repositories
echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/community" >> /etc/apk/repositories
apk -U upgrade
apk add bash git wget curl nodejs sshfs alpine-sdk abuild sudo shadow
- name: Checkout
uses: actions/checkout@v4
- name: Set up environment and users
run: |
echo "user_allow_other" >> /etc/fuse.conf
adduser runner -u 1003 -D -s /bin/bash -G wheel
addgroup -g 1003 runner
addgroup runner abuild
addgroup runner runner
chmod 660 /etc/sudoers
echo "%wheel ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers
chmod 440 /etc/sudoers
mkdir -p /var/cache/distfiles
chmod a+w /var/cache/distfiles
chsh -s /bin/bash
su - runner -c 'mkdir ~/.abuild'
echo "setup done"
- name: Set up keys
run: |
wget -q https://static.itmodulo.eu/dl/repo/public_keys/alpine/itmodulo%40disroot.org-65b4f779.rsa.pub -P /etc/apk/keys
su - runner -c 'wget -q https://static.itmodulo.eu/dl/repo/public_keys/alpine/itmodulo%40disroot.org-65b4f779.rsa.pub -P ~/.abuild/'
echo "${{ secrets.REPO_PRIVKEY }}" > /home/runner/.abuild/${{ secrets.REPO_PRIVKEY_FILENAME }} && chown runner:runner /home/runner/.abuild/${{ secrets.REPO_PRIVKEY_FILENAME }}
su - runner -c "echo 'PACKAGER_PRIVKEY="/home/runner/.abuild/${{ secrets.REPO_PRIVKEY_FILENAME }}"' >> ~/.abuild/abuild.conf"
- name: Compile in sequence
run: |
# git clone --depth 1 https://gitlab.alpinelinux.org/alpine/aports.git
# mv aports/community/hexagonrpcd srcpkgs/
# mv aports/testing/gmic srcpkgs/
# mv aports/testing/dissent srcpkgs/
ls srcpkgs | tr ' ' '\n'
mv srcpkgs /home/runner && chown -R runner:runner /home/runner/srcpkgs
echo "/home/runner/packages/srcpkgs" >> /etc/apk/repositories
su - runner -c 'export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"; cd srcpkgs; for i in $(ls ./ ); do cd $i && abuild -r -c; cd .. ; done'
- name: Mount and upload
run: |
su - runner -c 'mkdir hole'
echo "${{ secrets.REPO_LOGIN }}" > /home/runner/id_ecdsa && chown runner:runner /home/runner/id_ecdsa && chmod 600 /home/runner/id_ecdsa
su - runner -c 'sshfs -p "${{ secrets.LOGIN_PORT }}" -o StrictHostKeyChecking=accept-new -o default_permissions,allow_other -o IdentityFile=/home/runner/id_ecdsa "${{ secrets.SERVER_LOGIN_AND_ADDRESS }}":"${{ secrets.SERVER_REPO_PATH }}" /home/runner/hole'
su - runner -c 'ls -lah /home/runner/hole/latest-stable/main/aarch64/'
su - runner -c 'rm -rf hole/latest-stable/main/aarch64/*'
su - runner -c 'cp packages/srcpkgs/aarch64/* hole/latest-stable/main/aarch64/'
su - runner -c 'ls -lah /home/runner/hole/latest-stable/main/aarch64/'
# jobs:
# compilation-arm64v8:
# runs-on: aarch-64-alpine-latest
# steps:
# - name: Select faster mirror and add tools
# shell: sh
# run: |
# echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/main" > /etc/apk/repositories
# echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/community" >> /etc/apk/repositories
# apk -U upgrade
# apk add bash git wget curl nodejs sshfs alpine-sdk abuild sudo shadow
# - name: Checkout
# uses: actions/checkout@v4
# - name: Set up environment and users
# run: |
# echo "user_allow_other" >> /etc/fuse.conf
# adduser runner -u 1003 -D -s /bin/bash -G wheel
# addgroup -g 1003 runner
# addgroup runner abuild
# addgroup runner runner
# chmod 660 /etc/sudoers
# echo "%wheel ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers
# chmod 440 /etc/sudoers
# mkdir -p /var/cache/distfiles
# chmod a+w /var/cache/distfiles
# chsh -s /bin/bash
# su - runner -c 'mkdir ~/.abuild'
# echo "setup done"
# - name: Set up keys
# run: |
# wget -q https://static.itmodulo.eu/dl/repo/public_keys/alpine/itmodulo%40disroot.org-65b4f779.rsa.pub -P /etc/apk/keys
# su - runner -c 'wget -q https://static.itmodulo.eu/dl/repo/public_keys/alpine/itmodulo%40disroot.org-65b4f779.rsa.pub -P ~/.abuild/'
# echo "${{ secrets.REPO_PRIVKEY }}" > /home/runner/.abuild/${{ secrets.REPO_PRIVKEY_FILENAME }} && chown runner:runner /home/runner/.abuild/${{ secrets.REPO_PRIVKEY_FILENAME }}
# su - runner -c "echo 'PACKAGER_PRIVKEY="/home/runner/.abuild/${{ secrets.REPO_PRIVKEY_FILENAME }}"' >> ~/.abuild/abuild.conf"
# - name: Compile in sequence
# run: |
# # git clone --depth 1 https://gitlab.alpinelinux.org/alpine/aports.git
# # mv aports/community/hexagonrpcd srcpkgs/
# # mv aports/testing/gmic srcpkgs/
# # mv aports/testing/dissent srcpkgs/
# ls srcpkgs | tr ' ' '\n'
# mv srcpkgs /home/runner && chown -R runner:runner /home/runner/srcpkgs
# echo "/home/runner/packages/srcpkgs" >> /etc/apk/repositories
# su - runner -c 'export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"; cd srcpkgs; for i in $(ls ./ ); do cd $i && abuild -r -c; cd .. ; done'
# - name: Mount and upload
# run: |
# su - runner -c 'mkdir hole'
# echo "${{ secrets.REPO_LOGIN }}" > /home/runner/id_ecdsa && chown runner:runner /home/runner/id_ecdsa && chmod 600 /home/runner/id_ecdsa
# su - runner -c 'sshfs -p "${{ secrets.LOGIN_PORT }}" -o StrictHostKeyChecking=accept-new -o default_permissions,allow_other -o IdentityFile=/home/runner/id_ecdsa "${{ secrets.SERVER_LOGIN_AND_ADDRESS }}":"${{ secrets.SERVER_REPO_PATH }}" /home/runner/hole'
# su - runner -c 'ls -lah /home/runner/hole/latest-stable/main/aarch64/'
# su - runner -c 'rm -rf hole/latest-stable/main/aarch64/*'
# su - runner -c 'cp packages/srcpkgs/aarch64/* hole/latest-stable/main/aarch64/'
# su - runner -c 'ls -lah /home/runner/hole/latest-stable/main/aarch64/'

41
archived/celeste/APKBUILD Executable file
View file

@ -0,0 +1,41 @@
# Contributor: ITmodulo <itmodulo@disroot.org>
# Maintainer: ITmodulo <itmodulo@disroot.org>
pkgname=celeste
pkgver=0.8.3
pkgrel=0
pkgdesc="GUI file synchronization client that can sync with any cloud provider"
url="https://github.com/hwittenborn/celeste"
license="GPL-3.0-only"
arch="all"
makedepends="rustup clang clang-dev clang-extra-tools go rclone libadwaita-dev cairo-dev glib-dev gobject-introspection-dev gtk4.0-dev"
depends="rclone"
source="$pkgname-$pkgver.tar.gz::https://github.com/hwittenborn/celeste/archive/refs/tags/v$pkgver.tar.gz"
prepare() {
default_prepare
rustup-init -y --default-toolchain nightly
source ~/.cargo/env
cargo update
cargo fetch --target="$CTARGET"
}
build() {
source ~/.cargo/env
cargo build --frozen --release
}
check() {
source ~/.cargo/env
cargo test --release --locked
}
package() {
ls -lah
install -Dm755 target/release/bin/$pkgname -t "$pkgdir"/usr/bin/
# install -Dm644 res/appicon.png "$pkgdir"/usr/share/pixmaps/supersonic-desktop.png
# install -Dm644 res/supersonic-desktop.desktop "$pkgdir"/usr/share/applications/supersonic-desktop.desktop
}
sha512sums="
64583daba4242a86e81764cb2e62b8024c5442417464a89ac1efe3aa97d06563f6bac53464fe7b4d41866e85027a28e08fdf744ba34bff854210e796700a83c3 celeste-0.8.3.tar.gz
"

56
edge/fotema/APKBUILD Executable file
View file

@ -0,0 +1,56 @@
pkgname=fotema
pkgver=2.0.2
pkgrel=0
pkgdesc="Inteligent photo gallery for Linux written in rust"
url="https://github.com/blissd/fotema"
arch="all"
license="GPL-3.0-or-later"
depends="ffmpeg ffmpegthumbs ffmpeg-libavutil ffmpeg-libavformat ffmpeg-libavdevice ffmpeg-libavfilter sqlite"
makedepends="
gnome-desktop-dev
libadwaita-dev
meson
gtk4.0-dev
gobject-introspection-dev
desktop-file-utils
appstream
rust
cargo
openssl-dev
pkgconf
ffmpeg-dev
ffmpeg-libavutil
ffmpeg-libavformat
ffmpeg-libavdevice
ffmpeg-libavfilter
clang20
gcc
clang20-dev
clang20-extra-tools
clang20-libclang
clang20-libs
musl-dev
sqlite-dev
libshumate-dev
libadwaita-dev
opencv-dev
"
source="$pkgname-$pkgver.tar.gz::https://github.com/blissd/fotema/archive/refs/tags/v$pkgver.tar.gz"
options="!check"
build() {
ls -lah
abuild-meson \
--buildtype=release \
. output
meson compile -C output
}
package() {
ls -lah
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
e86235940e45a5609e4c6984f4d36e0b050c742f0cc563d743347fc4dfeb0c2945f1b37401f00af2d216465b2118c4a57c5a6899ed4da8867b85f46f6f27eee2 fotema-2.0.2.tar.gz
"

33
edge/hunspell-pl/APKBUILD Executable file
View file

@ -0,0 +1,33 @@
# Contributor: ITmodulo <itmodulo@disroot.org>
# Maintainer: ITmodulo <itmodulo@disroot.org>
pkgname=hunspell-pl
pkgver=20250301
pkgrel=0
pkgdesc="Polish dictionary for Hunspell"
arch="noarch"
url='https://www.sjp.pl/slownik/ort/'
license="Apache-2.0"
makedepends="unzip enca"
depends="hunspell"
source="https://sjp.pl/sl/ort/sjp-myspell-pl-$pkgver.zip"
options="!check" # static files
prepare() {
default_prepare
unzip pl_PL.zip
enca -L pl -x utf8 pl_PL.aff
enca -L pl -x utf8 pl_PL.dic
# fix encoding in .aff files
sed -i "s/SET ISO8859-2/SET UTF-8/" pl_PL.aff
}
package() {
cd src/
install -dm755 "$pkgdir"/usr/share/hunspell
install -m644 pl_PL.aff "$pkgdir"/usr/share/hunspell
install -m644 pl_PL.dic "$pkgdir"/usr/share/hunspell
}
sha512sums="
9586a15e1eb5dca2ab5eb6892583857f4b36e3e1736d1d11b62c9f1890ab625a8a9425c403545f6cf32ab5188ca6e8d046a7129a1587ae3088ca0242c7eb11d1 sjp-myspell-pl-20250301.zip
"

View file

@ -0,0 +1,33 @@
# Contributor: ITmodulo <itmodulo@disroot.org>
# Maintainer: ITmodulo <itmodulo@disroot.org>
pkgname=supersonic-desktop
pkgver=0.16.0
pkgrel=0
pkgdesc="Full-featured, mpv-based music player for Subsonic and Jellyfin servers"
url="https://github.com/dweymouth/supersonic"
license="GPL-3.0-or-later"
arch="all"
makedepends="go mpv-dev libayatana-appindicator-dev libsecret-dev glib-dev libx11-dev"
depends="libayatana-appindicator libsecret"
source="$pkgname-$pkgver.tar.gz::https://github.com/dweymouth/supersonic/archive/refs/tags/v$pkgver.tar.gz"
options="!check" # not needed
build() {
cd "supersonic-$pkgver"
go build -ldflags="-s -w" -o bin/$pkgname
}
#check() {
# go test ./...
#}
package() {
cd "src/supersonic-$pkgver"
install -Dm755 bin/$pkgname "$pkgdir"/usr/bin/$pkgname
install -Dm644 res/appicon.png "$pkgdir"/usr/share/pixmaps/supersonic-desktop.png
install -Dm644 res/supersonic-desktop.desktop "$pkgdir"/usr/share/applications/supersonic-desktop.desktop
}
sha512sums="
e759025e4ba3c17ef78a0deaec92069af0e5e6b2794920427fba062386466784a6593bed714af6b48f0a73a49d296b711eb619f85fd2b88200a623dc587af268 supersonic-desktop-0.16.0.tar.gz
"

View file

@ -15,7 +15,7 @@ options="!check"
build() {
cd client
cmake -B build -G Ninja \
cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -B build -G Ninja \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \

View file

@ -1,7 +1,7 @@
# Contributor: ITmodulo <itmodulo@disroot.org>
# Maintainer: ITmodulo <itmodulo@disroot.org>
pkgname=owncloud-client
pkgver=6.0.0
pkgver=5.3.2
pkgrel=0
pkgdesc="ownCloud Desktop Client"
url="https://github.com/owncloud/client"
@ -10,12 +10,12 @@ license="GPL-2.0-or-later"
depends=
makedepends="samurai kdsingleapplication-dev qt6-qtbase-dev qt5-qtbase-dev extra-cmake-modules glib-dev cmake qt6-qttools-dev cmake-extras libayatana-appindicator-dev qt6-qtwebengine-dev qtkeychain-dev sqlite-dev qt6-qtquick3d-dev qt6-qtscxml-dev libre-graph-api-cpp-qt-client-dev "
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/owncloud/client/archive/v$pkgver-rc.1.tar.gz"
source="$pkgname-$pkgver.tar.gz::https://github.com/owncloud/client/archive/refs/tags/v$pkgver.tar.gz"
options="!check"
build() {
cd client-$pkgver-rc.1
cmake -B build -G Ninja \
cd client-$pkgver
cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -B build -G Ninja \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_PREFIX=/usr \
@ -26,9 +26,9 @@ build() {
}
package() {
cd src/client-$pkgver-rc.1
cd src/client-$pkgver
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
8ee48b0881022b5dde5136748637dfb5e525ff63d3fe1fd034c768df43d2463907f7eb6053dea314caf1f2918e890353d48c58bbfd531643653ced8920fbd14b owncloud-client-6.0.0.tar.gz
fb5e706a73d66a8f6bd663d1b04dda8be6717725a2e7ac9197f2db53c6e0b38c4b09cd166d32048d4c61c94567d4408b86b0f3ca97b4610ac6b3c0d3d2e66b8a owncloud-client-5.3.2.tar.gz
"

1
srcpkgs/RREADME.md Normal file
View file

@ -0,0 +1 @@
pmOS stable painfully laggs behind on my device so i switched to edge