itmodulo
9d170bbefe
Some checks failed
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Failing after 3h13m48s
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
# 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
|
|
" |