void-packages/srcpkgs/fractal/template
2018-11-06 19:53:08 +01:00

23 lines
907 B
Bash

# Template file for 'fractal'
pkgname=fractal
version=3.30.0
revision=2
build_style=meson
hostmakedepends="rust cargo pkg-config"
makedepends="gtk+3-devel glib-devel libressl-devel gstreamer1-devel
cairo-devel gettext-devel gst-plugins-base1-devel gst-plugins-bad1-devel
gtksourceview-devel pango-devel gspell-devel gmp-devel"
nocross=rust
short_desc="Matrix Messaging Client for GNOME"
maintainer="Cameron Nemo <camerontnorman@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://wiki.gnome.org/Apps/Fractal"
distfiles="https://gitlab.gnome.org/World/fractal/-/archive/$version/$pkgname-$version.tar.gz"
checksum=aa3645ff971525b059fa85da26e4afd5532e348acf6b161b706e2482894f63b3
pre_build() {
cargo update --package petgraph --precise 0.4.13
export GETTEXT_BIN_DIR=/usr/bin
export GETTEXT_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib/gettext"
export GETTEXT_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include"
}