update hunspell-pl supersonic-desktop
All checks were successful
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Successful in 8m2s

This commit is contained in:
ITmodulo 2025-02-10 11:50:18 +01:00
commit ae6fb60914
10 changed files with 10 additions and 165 deletions

33
srcpkgs/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=20250201
pkgrel=0
pkgdesc="Polish dictionary for Hunspell"
arch="noarch"
url='https://www.sjp.pl/slownik/ort/'
license="GPL-3.0-or-later"
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="
3d0fdd52c1e03b7d1a3c2e646241ef979ab1708a2d9fd2670f0ced6b2e06a6ce6de719f057bfd03c8f2c927c374e23f5ae9a2f04167e4b8bfc22144faa94cf60 sjp-myspell-pl-20250201.zip
"

View file

@ -1,27 +0,0 @@
# 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
"

View file

@ -0,0 +1,32 @@
# Contributor: ITmodulo <itmodulo@disroot.org>
# Maintainer: ITmodulo <itmodulo@disroot.org>
pkgname=supersonic-desktop
pkgver=0.13.2
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"
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="
b4372f9765f12e95c357717467ef55cd9a84a362c5179365e393405121d7094339e09f8e69a7a813d2cbd55bc8fa71beeefd18203cd28df96d3259fc5b7652e5 supersonic-desktop-0.13.2.tar.gz
"