blob: cf4038b29651929bb6f6f5127cfb8f8a04f6eda0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
PORTNAME= fractal
DISTVERSION= 4.4.0
PORTREVISION= 18
CATEGORIES= net-im
MASTER_SITES= https://gitlab.gnome.org/World/fractal/uploads/${GL_HASH}/
PATCH_SITES= https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/
PATCHFILES+= 6fa1a23596d6.patch:-p1 # https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/867
MAINTAINER= vishwin@FreeBSD.org
COMMENT= GTK+ Matrix IM client
WWW= https://wiki.gnome.org/Apps/Fractal
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 \
libhandy-0.0.so:x11-toolkits/libhandy0
USES= cpe gettext gnome gstreamer meson pkgconfig python:3.5+,build ssl tar:xz
CPE_VENDOR= gnome
USE_GNOME= cairo gtk30 gtksourceview4
USE_GSTREAMER= bad editing-services
GL_HASH= d4168ac40fd681240964705e000dd353
BINARY_ALIAS= python3=${PYTHON_CMD}
GLIB_SCHEMAS= org.gnome.Fractal.gschema.xml
# for the gettext-sys crate
MAKE_ENV+= GETTEXT_BIN_DIR=${LOCALBASE}/bin \
GETTEXT_LIB_DIR=${LOCALBASE}/lib \
GETTEXT_INCLUDE_DIR=${LOCALBASE}/include \
RUSTFLAGS="${RUSTFLAGS} -C linker=${CC:Q} ${LDFLAGS:C/.+/-C link-arg=&/}"
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>
|