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'
|
# Template file for 'fractal'
|
||||||
pkgname=fractal
|
pkgname=fractal
|
||||||
version=4.4.2
|
version=11.1
|
||||||
revision=3
|
revision=1
|
||||||
build_style=meson
|
build_style=meson
|
||||||
build_helper="rust"
|
build_helper=rust
|
||||||
hostmakedepends="cargo pkg-config glib-devel gettext"
|
hostmakedepends="cargo clang desktop-file-utils gettext glib-devel
|
||||||
makedepends="gtk+3-devel libglib-devel openssl-devel gstreamer1-devel
|
gtk4-update-icon-cache nodejs pkg-config"
|
||||||
cairo-devel gettext-devel gst-plugins-base1-devel gst-plugins-bad1-devel
|
makedepends="gst-plugins-base1-devel gtksourceview5-devel libadwaita-devel
|
||||||
gst1-editing-services-devel gtksourceview4-devel pango-devel gspell-devel
|
libseccomp-devel libshumate-devel pipewire-devel rust-std xdg-desktop-portal
|
||||||
gmp-devel libsecret-devel libhandy-devel rust-std gst1-editing-services-devel python3-devel"
|
libwebp-devel"
|
||||||
|
depends="glycin-loaders"
|
||||||
short_desc="Matrix Messaging Client for GNOME"
|
short_desc="Matrix Messaging Client for GNOME"
|
||||||
maintainer="Cameron Nemo <cam@nohom.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://wiki.gnome.org/Apps/Fractal"
|
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"
|
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() {
|
post_patch() {
|
||||||
[ -z "$CROSS_BUILD" ] && return 0
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
vsed -i src/meson.build \
|
||||||
vsed -i scripts/cargo.sh \
|
-e "s%rust_target /%'${RUST_TARGET}' / &%"
|
||||||
-e 's;"$CARGO_TARGET_DIR";&/${RUST_TARGET};' \
|
fi
|
||||||
-e '/CARGO_HOME/d'
|
}
|
||||||
|
|
||||||
|
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