26 lines
990 B
Bash
26 lines
990 B
Bash
# Template file for 'newsflash'
|
|
pkgname=newsflash
|
|
version=1.4.2
|
|
revision=2
|
|
build_style=meson
|
|
build_helper=rust
|
|
hostmakedepends="cargo pkg-config glib-devel sqlite-devel gettext"
|
|
makedepends="rust-std webkit2gtk-devel libhandy1-devel openssl-devel"
|
|
short_desc="RSS feed reader that supports various web based services"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://gitlab.com/news-flash/news_flash_gtk"
|
|
# distfiles="https://gitlab.com/news-flash/news_flash_gtk/-/archive/$version/news_flash_gtk-$version.tar.gz"
|
|
# tag is gone upstream
|
|
distfiles="https://sources.voidlinux.org/newsflash-1.4.2/news_flash_gtk-1.4.2.tar.gz"
|
|
checksum=099318a6bc57e5e695352b2f3c7dd149c9b889f39cb9cbd58dc3f10f41d4948d
|
|
|
|
post_patch() {
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
vsed -i build-aux/cargo.sh \
|
|
-e 's,"$CARGO_TARGET_DIR"/,&${RUST_TARGET}/,'
|
|
fi
|
|
cargo update --package openssl-sys:0.9.63 --precise 0.9.91
|
|
cargo update --package openssl:0.10.34 --precise 0.10.56
|
|
}
|