mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 00:12:56 +02:00
fractal: update to 11.1
Also orphan the package per the maintainer's request.
This commit is contained in:
parent
a70dc0333c
commit
a58fffc7ec
1 changed files with 27 additions and 15 deletions
|
@ -1,25 +1,37 @@
|
|||
# Template file for 'fractal'
|
||||
pkgname=fractal
|
||||
version=4.4.2
|
||||
revision=3
|
||||
version=11.1
|
||||
revision=1
|
||||
build_style=meson
|
||||
build_helper="rust"
|
||||
hostmakedepends="cargo pkg-config glib-devel gettext"
|
||||
makedepends="gtk+3-devel libglib-devel openssl-devel gstreamer1-devel
|
||||
cairo-devel gettext-devel gst-plugins-base1-devel gst-plugins-bad1-devel
|
||||
gst1-editing-services-devel gtksourceview4-devel pango-devel gspell-devel
|
||||
gmp-devel libsecret-devel libhandy-devel rust-std gst1-editing-services-devel python3-devel"
|
||||
build_helper=rust
|
||||
hostmakedepends="cargo clang desktop-file-utils gettext glib-devel
|
||||
gtk4-update-icon-cache nodejs pkg-config"
|
||||
makedepends="gst-plugins-base1-devel gtksourceview5-devel libadwaita-devel
|
||||
libseccomp-devel libshumate-devel pipewire-devel rust-std xdg-desktop-portal
|
||||
libwebp-devel"
|
||||
depends="glycin-loaders"
|
||||
short_desc="Matrix Messaging Client for GNOME"
|
||||
maintainer="Cameron Nemo <cam@nohom.org>"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://wiki.gnome.org/Apps/Fractal"
|
||||
changelog="https://gitlab.gnome.org/World/fractal/-/releases"
|
||||
distfiles="https://gitlab.gnome.org/World/fractal/-/archive/${version}/fractal-${version}.tar.gz"
|
||||
checksum=7872f050bf1c5904b93ba518b542bcb6fc80c557966645101103060098ddf6d0
|
||||
checksum=64b84201976818d148a20351e4fcccc426739ccbfba485b911ca7625c559338f
|
||||
|
||||
export PATH="$PATH:$XBPS_BUILDDIR/${pkgname}-${version}/node_modules/.bin"
|
||||
|
||||
post_patch() {
|
||||
[ -z "$CROSS_BUILD" ] && return 0
|
||||
|
||||
vsed -i scripts/cargo.sh \
|
||||
-e 's;"$CARGO_TARGET_DIR";&/${RUST_TARGET};' \
|
||||
-e '/CARGO_HOME/d'
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
vsed -i src/meson.build \
|
||||
-e "s%rust_target /%'${RUST_TARGET}' / &%"
|
||||
fi
|
||||
}
|
||||
|
||||
pre_configure() {
|
||||
npm i sass
|
||||
}
|
||||
|
||||
# NOTE: explicitly prevent rebuild: https://gitlab.gnome.org/GNOME/fractal/-/issues/1327
|
||||
do_install() {
|
||||
meson install -C build --destdir $DESTDIR --no-rebuild
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue