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
parent c1568adfa2
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/'

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
"

View file

@ -1,7 +1,7 @@
# Contributor: ITmodulo <itmodulo@disroot.org>
# Maintainer: ITmodulo <itmodulo@disroot.org>
pkgname=supersonic-desktop
pkgver=0.15.2
pkgver=0.16.0
pkgrel=0
pkgdesc="Full-featured, mpv-based music player for Subsonic and Jellyfin servers"
url="https://github.com/dweymouth/supersonic"
@ -29,5 +29,5 @@ package() {
}
sha512sums="
f208a03bc63a912465d98a5e0707801c2370c5cd543315888b9485148b6af1580bab2e97866bea00ffa08f38d7cec041b0c8c02f1ba812c4665ef860a511c564 supersonic-desktop-0.15.2.tar.gz
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