1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/net-im/fractal/Makefile
Mikael Urankar 4e449e031e lang/rust: Update to 1.48.0
Changes: https://github.com/rust-lang/rust/releases/tag/1.48.0

Reviewed by:	jbeich
Tested by:	bdragon, jbeich, mikael
Differential Revision:	https://reviews.freebsd.org/D27293
2020-11-24 12:48:53 +00:00

47 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= fractal
DISTVERSION= 4.2.2
PORTREVISION= 12
CATEGORIES= net-im
MASTER_SITES= https://gitlab.gnome.org/World/fractal/uploads/${GL_HASH}/
MAINTAINER= greg@unrelenting.technology
COMMENT= GTK+ Matrix IM client
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
# gmake for the gettext-sys crate
BUILD_DEPENDS= cargo:lang/${RUST_DEFAULT} \
gmake:devel/gmake
LIB_DEPENDS= libdbus-1.so:devel/dbus \
libgmp.so:math/gmp \
libgspell-1.so:textproc/gspell \
libges-1.0.so:multimedia/gstreamer1-editing-services \
libhandy-0.0.so:x11-toolkits/libhandy0
USES= gettext gnome meson pkgconfig python:3.5+,build ssl tar:xz
USE_GNOME= cairo gtk30 gtksourceview4
USE_GSTREAMER1= bad
GL_HASH= 9f2b34d98cfe3c002f3afbfcbf14bc7c
BINARY_ALIAS= python3=${PYTHON_CMD}
GLIB_SCHEMAS= org.gnome.Fractal.gschema.xml
INSTALLS_ICONS= yes
# for the gettext-sys crate
MAKE_ENV+= GETTEXT_BIN_DIR=${LOCALBASE}/bin \
GETTEXT_LIB_DIR=${LOCALBASE}/lib \
GETTEXT_INCLUDE_DIR=${LOCALBASE}/include
post-patch:
# Disable vendor checksums
@${REINPLACE_CMD} -e 's/"files":{[^}]*}/"files":{}/' \
${WRKSRC}/vendor/*/.cargo-checksum.json
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fractal
.include <bsd.port.mk>