add edge
Some checks failed
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Failing after 57s
Some checks failed
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Failing after 57s
This commit is contained in:
parent
ee5739cbbe
commit
b0b097f3cb
7 changed files with 130 additions and 12 deletions
56
.gitea/workflows/release_arm64v8-edge.yml
Executable file
56
.gitea/workflows/release_arm64v8-edge.yml
Executable file
|
@ -0,0 +1,56 @@
|
||||||
|
name: "Release Alpine apk for ARM64v8"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- release
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
compilation-arm64v8:
|
||||||
|
runs-on: aarch-64-alpine-edge
|
||||||
|
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: |
|
||||||
|
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 edge; 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/edge/main/aarch64/'
|
||||||
|
su - runner -c 'rm -rf hole/edge/main/aarch64/*'
|
||||||
|
su - runner -c 'cp packages/srcpkgs/aarch64/* hole/edge/main/aarch64/'
|
||||||
|
su - runner -c 'ls -lah /home/runner/hole/edge/main/aarch64/'
|
|
@ -7,23 +7,23 @@ pkgdesc="Pocophone F1 tweaked camera"
|
||||||
url="https://gitlab.com/NekoCWD/cameractrl"
|
url="https://gitlab.com/NekoCWD/cameractrl"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
arch="all"
|
arch="all"
|
||||||
makedepends="blueprint-compiler vala build-base linux-headers git libgudev-dev gtk4.0-dev gtk4-layer-shell-dev libadwaita-dev meson"
|
makedepends="desktop-file-utils blueprint-compiler vala build-base linux-headers git libgudev-dev gtk4.0-dev gtk4-layer-shell-dev libadwaita-dev meson"
|
||||||
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/NekoCWD/cameractrl/-/archive/master/cameractrl-master.tar.gz"
|
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/NekoCWD/cameractrl/-/archive/master/cameractrl-master.tar.gz"
|
||||||
|
options="!check" # not needed
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "CameraCtl-master"
|
cd "cameractrl-master"
|
||||||
|
abuild-meson . output
|
||||||
|
meson compile -C output
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
# check() {
|
||||||
go test ./...
|
#
|
||||||
}
|
# }
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "CameraCtl-master"
|
cd src/cameractrl-master
|
||||||
install -Dm755 bin/$pkgname "$pkgdir"/usr/bin/$pkgname
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||||
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="
|
sha512sums="
|
||||||
f0ddf35086c52103cadf183ef9b35b1e785f6031db47b369bb6a52edc5d87eae91f7e56a4cbf63fa49b1ee923aceb26a3de5ab01ca824afaba4e6d8e93a135e7 CameraCtl-0.0.1.tar.gz
|
f0ddf35086c52103cadf183ef9b35b1e785f6031db47b369bb6a52edc5d87eae91f7e56a4cbf63fa49b1ee923aceb26a3de5ab01ca824afaba4e6d8e93a135e7 CameraCtl-0.0.1.tar.gz
|
27
not_ready/folio/APKBUILD
Normal file
27
not_ready/folio/APKBUILD
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
pkgname=folio
|
||||||
|
pkgver=0.48.7
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Code Intelligence for Vala"
|
||||||
|
url="https://github.com/vala-lang/vala-language-server"
|
||||||
|
arch="all"
|
||||||
|
license="LGPL-2.1-or-later"
|
||||||
|
makedepends="meson vala json-glib-dev glib-dev libgee-dev jsonrpc-glib-dev scdoc"
|
||||||
|
subpackages="$pkgname-dbg $pkgname-doc"
|
||||||
|
source="https://github.com/vala-lang/vala-language-server/releases/download/$pkgver/vala-language-server-$pkgver.tar.xz"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
abuild-meson . output
|
||||||
|
meson compile -C output
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
meson test --no-rebuild --print-errorlogs -C output
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
c8249f23c8234aa69809421716abcfcf8d8454b0d92595342b461194186729794b6a3a0e88e4f60e3de2ab183234ffffec53ac2602f3d2b29ad29994c38c47b3 vala-language-server-0.48.7.tar.xz
|
||||||
|
"
|
35
not_ready/turnon/APKBUILD
Executable file
35
not_ready/turnon/APKBUILD
Executable file
|
@ -0,0 +1,35 @@
|
||||||
|
pkgname=turnon
|
||||||
|
pkgver=2.5.2
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="Turn on devices in your network on GNOME (wake on lan)"
|
||||||
|
url="https://github.com/swsnr/turnon"
|
||||||
|
arch="all !loongarch64"
|
||||||
|
license="MPL-2.0"
|
||||||
|
makedepends="make sed openssl-dev rustup glib-dev gtk4.0-dev graphene-dev blueprint-compiler-dev libadwaita-dev"
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://github.com/swsnr/turnon/archive/refs/tags/v$pkgver.tar.gz"
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
default_prepare
|
||||||
|
rustup-init --default-toolchain stable -y
|
||||||
|
source ~/.cargo/env
|
||||||
|
cargo fetch --target="$CTARGET" --locked
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
source ~/.cargo/env
|
||||||
|
SKIP_BLUEPRINT=0 cargo build -p hctl --frozen --release
|
||||||
|
make msgfmt
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
source ~/.cargo/env
|
||||||
|
cargo test --release --frozen
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
source ~/.cargo/env
|
||||||
|
make DESTPREFIX="${pkgdir}/usr" install
|
||||||
|
}
|
||||||
|
sha512sums="
|
||||||
|
67a372a79eb6aa492609044411720c7f0d9f2916ea41a10747518e2cf806007649025c6633276291efde4d92d55786541828d00cd0b96d7a9235cb42f0fa6739 turnon-2.5.2.tar.gz
|
||||||
|
"
|
|
@ -1,7 +1,7 @@
|
||||||
# Contributor: ITmodulo <itmodulo@disroot.org>
|
# Contributor: ITmodulo <itmodulo@disroot.org>
|
||||||
# Maintainer: ITmodulo <itmodulo@disroot.org>
|
# Maintainer: ITmodulo <itmodulo@disroot.org>
|
||||||
pkgname=supersonic-desktop
|
pkgname=supersonic-desktop
|
||||||
pkgver=0.14.0
|
pkgver=0.15.2
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Full-featured, mpv-based music player for Subsonic and Jellyfin servers"
|
pkgdesc="Full-featured, mpv-based music player for Subsonic and Jellyfin servers"
|
||||||
url="https://github.com/dweymouth/supersonic"
|
url="https://github.com/dweymouth/supersonic"
|
||||||
|
@ -29,5 +29,5 @@ package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
15a09b7521494bd55cfbd1f52632547505e74a52ae27ba0407aa7698ae6f041591601a6039d8e2e2b8c7d82ae1fcb0cdf359710fa9b588b838ac733cca0fabce supersonic-desktop-0.14.0.tar.gz
|
f208a03bc63a912465d98a5e0707801c2370c5cd543315888b9485148b6af1580bab2e97866bea00ffa08f38d7cec041b0c8c02f1ba812c4665ef860a511c564 supersonic-desktop-0.15.2.tar.gz
|
||||||
"
|
"
|
||||||
|
|
Loading…
Add table
Reference in a new issue