blob: 1dbe0e2fccf3a58182a1974de7c98954e1f724d3 (
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
|
PORTNAME= helvum
DISTVERSION= 0.3.4
PORTREVISION= 9
CATEGORIES= multimedia
MAINTAINER= jbeich@FreeBSD.org
COMMENT= GTK patchbay for PipeWire
WWW= https://gitlab.freedesktop.org/ryuukyu/helvum
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT}
LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene \
libpipewire-0.3.so:multimedia/pipewire
USES= cargo desktop-file-utils gnome meson pkgconfig
USE_GITLAB= yes
USE_GNOME= cairo gtk40
GL_SITE= https://gitlab.freedesktop.org
GL_ACCOUNT= ryuukyu
GL_COMMIT= 094681637ec8f9f2acdb993230e10da88aa3fedb
MAKE_ENV= ${CARGO_ENV}
PLIST_FILES= bin/${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e 's,"llvm-config,&${LLVM_DEFAULT},' \
${WRKSRC}/cargo-crates/clang-sys-*/build/common.rs \
${WRKSRC}/cargo-crates/clang-sys-*/src/support.rs
# Make each cargo subcommand very verbose
@${REINPLACE_CMD} -e "/cargo_options =/s/ '--/&verbose', &verbose', &/" \
${WRKSRC}/src/meson.build
.include <bsd.port.options.mk>
.if ${OPSYS} != FreeBSD || ${OSVERSION} < 1300134
LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim
LDFLAGS+= -lepoll-shim
.endif
.include <bsd.port.mk>
|