lemoa: update to 0.3.0.

This commit is contained in:
Bnyro 2023-07-13 18:21:06 +02:00 committed by Duncan Overbruck
parent cf96a6d743
commit 71ae3be24b

View file

@ -1,19 +1,20 @@
# Template file for 'lemoa'
pkgname=lemoa
version=0.2.0
version=0.3.0
revision=1
build_style=meson
build_helper=rust
hostmakedepends="pkg-config rust cargo desktop-file-utils glib-devel gtk-update-icon-cache"
makedepends="rust-std gtk4-devel libadwaita-devel"
hostmakedepends="pkg-config cargo desktop-file-utils glib-devel gtk-update-icon-cache"
makedepends="rust-std gtk4-devel libglib-devel libadwaita-devel"
short_desc="Gtk client for Lemmy"
maintainer="Bnyro <bnyro@tutanota.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/lemmygtk/lemoa"
changelog="https://github.com/lemmygtk/lemoa/releases"
distfiles="https://github.com/lemmygtk/lemoa/releases/download/v${version}/lemoa-${version}.tar.xz"
checksum=602974f62557f2476e0b7d081d9c727fec748e833d8c6e4cc112e9208c09a7c2
checksum=cc3665dd42faf90d1b394fc4c7b67ae0baff5b6379d6082c61bdf3c868fd84cd
pre_build() {
post_patch() {
if [ "$CROSS_BUILD" ]; then
vsed -i src/meson.build \
-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"