Add lemoa, add dialect, update gtkcord4
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Failing after 3h13m48s
Details
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Failing after 3h13m48s
Details
This commit is contained in:
parent
e318b57b8c
commit
9d170bbefe
|
@ -17,7 +17,7 @@ jobs:
|
|||
run: apk add bash git wget curl nodejs sshfs alpine-sdk abuild sudo
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Compile in sequence and upload
|
||||
- name: Set up environment and users
|
||||
run: |
|
||||
echo "user_allow_other" >> /etc/fuse.conf
|
||||
adduser runner -u 1001 -D -s /bin/bash -G wheel
|
||||
|
@ -30,14 +30,21 @@ jobs:
|
|||
mkdir -p /var/cache/distfiles
|
||||
chmod a+w /var/cache/distfiles
|
||||
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: |
|
||||
mv srcpkgs /home/runner && chown -R runner:runner /home/runner/srcpkgs
|
||||
su - runner -c 'export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"; cd srcpkgs/libsearpc; abuild -r'
|
||||
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 ./ | grep -v libsearpc); do cd $i && abuild -r; 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'
|
||||
|
|
|
@ -0,0 +1,42 @@
|
|||
# Contributor: ITmodulo <itmodulo@disroot.org>
|
||||
# Maintainer: ITmodulo <itmodulo@disroot.org>
|
||||
pkgname=dialect
|
||||
pkgver=2.2.0
|
||||
pkgrel=0
|
||||
pkgdesc="GTK/Libadwaita native translation app (LibreTranslate, Lingva) "
|
||||
arch="noarch"
|
||||
url="https://github.com/lemmygtk/lemoa"
|
||||
license="GPL-3.0-or-later"
|
||||
makedepends="cmake extra-cmake-modules gstreamer-dev gstreamer-tools desktop-file-utils pkgconf gtk4.0-dev libadwaita-dev meson ninja py3-gst py3-dbus-dev libsoup3-dev py3-gobject3-dev py3-gtts blueprint-compiler-dev appstream-glib-dev gobject-introspection-dev"
|
||||
subpackages="$pkgname-lang"
|
||||
source="
|
||||
$pkgname-$pkgver.tar.gz::https://github.com/dialect-app/$pkgname/archive/refs/tags/$pkgver.tar.gz
|
||||
po-$pkgver.tar.gz::https://github.com/dialect-app/po/archive/refs/tags/$pkgver.tar.gz
|
||||
"
|
||||
|
||||
prepare(){
|
||||
default_prepare
|
||||
rmdir po
|
||||
cd ..
|
||||
# Those are translations released same way same tag but in other repo
|
||||
mv po-$pkgver $pkgname-$pkgver/po
|
||||
cd $pkgname-$pkgver
|
||||
}
|
||||
|
||||
build() {
|
||||
abuild-meson . output
|
||||
meson compile -C output
|
||||
}
|
||||
|
||||
check() {
|
||||
meson test -C output --print-errorlogs
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
716509f55e3098895892005bc678a37ee87f2d9b2fcbdd95205e2c13e22966797d635f404b150fead4e7b8997513db8f53dadd1572ee0f33ec93af6b0158b6c8 dialect-2.2.0.tar.gz
|
||||
8186cfc7a74b7e9dd303a251fd8d70e8a92b72ba626d3b21089bc380687f9bdf9ba7d7d3ba6ed62f70f1f8f28bf6fd9eba8ae11aeeb2f129cbfbe8b0cd8dbb35 po-2.2.0.tar.gz
|
||||
"
|
|
@ -1,8 +1,8 @@
|
|||
# Contributor: ITmodulo <itmodulo@disroot.org>
|
||||
# Maintainer: ITmodulo <itmodulo@disroot.org>
|
||||
pkgname=gtkcord4
|
||||
pkgver=0.0.17
|
||||
pkgrel=1
|
||||
pkgver=0.0.18
|
||||
pkgrel=0
|
||||
pkgdesc="GTK4/Libadwaita native discord client written in Go"
|
||||
url="https://github.com/diamondburned/gtkcord4"
|
||||
license="GPL-3.0-or-later"
|
||||
|
@ -25,7 +25,6 @@ package() {
|
|||
install -Dm644 nix/xyz.diamondb.gtkcord4.desktop "$pkgdir"/usr/share/applications/gtkcord4.desktop
|
||||
}
|
||||
|
||||
|
||||
sha512sums="
|
||||
b0fcd144d2593a14ded6672e9db77b9508e8b395d68d481a7b346097f7036037c7f7feb850f35c4ff511d198c0a987dcb222920a4e0e37a062d18e5fae76c8e0 gtkcord4-0.0.17.tar.gz
|
||||
"
|
||||
a36c0e775bad20b1c532140cf3d36f68291a590a0e922b2d0df1b4fa23f7764048c8d086e6b4eff27eda5a15c29a5d1efe4795aa134bb8e287c00b4e45bc7c4b gtkcord4-0.0.18.tar.gz
|
||||
"
|
|
@ -0,0 +1,27 @@
|
|||
# Contributor: ITmodulo <itmodulo@disroot.org>
|
||||
# Maintainer: ITmodulo <itmodulo@disroot.org>
|
||||
pkgname=lemoa
|
||||
pkgver=0.5.1
|
||||
pkgrel=0
|
||||
pkgdesc="GTK/Libadwaita native client for Lemmy"
|
||||
arch="all !s390x !ppc64le !riscv64"
|
||||
url="https://github.com/lemmygtk/lemoa"
|
||||
license="GPL-3.0-or-later"
|
||||
makedepends="pkgconf cargo cargo-auditable desktop-file-utils gtk-update-icon-cache gtk4.0-dev libadwaita-dev glib-dev musl-dev meson ninja openssl-dev"
|
||||
source="https://github.com/lemmygtk/lemoa/releases/download/v${pkgver}/lemoa-${pkgver}.tar.xz"
|
||||
options="!check" # no checks
|
||||
|
||||
build() {
|
||||
cd $pkgname
|
||||
abuild-meson . output
|
||||
meson compile -C output
|
||||
}
|
||||
|
||||
package() {
|
||||
cd src/$pkgname
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
af6804a4061b4791b649450c54593e2478a8bf3ca4bb56680a580a89f158b00f8cefe228c0b0d1a7c39c783a2d4547d3b17651abbfe111082391747abe7ef333 lemoa-0.5.1.tar.xz
|
||||
"
|
|
@ -26,7 +26,7 @@ makedepends="
|
|||
fzf
|
||||
presage-dev
|
||||
appstream
|
||||
gtk+3.0-dev
|
||||
gtk+3.0-dev
|
||||
gobject-introspection-dev
|
||||
gi-docgen
|
||||
"
|
||||
|
|
Loading…
Reference in New Issue