blob: 09bb73da605d7b07e33092d9b52bda9edbcee272 (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
|
PORTNAME= helvum
DISTVERSION= 0.3.2
CATEGORIES= multimedia
PATCH_SITES= ${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/
PATCHFILES+= c17bc2674d4e.patch:-p1 # https://gitlab.freedesktop.org/ryuukyu/helvum/-/merge_requests/19
MAINTAINER= jbeich@FreeBSD.org
COMMENT= GTK patchbay for PipeWire
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 gnome meson pkgconfig python:build shebangfix
USE_GITLAB= yes
USE_GNOME= cairo gtk40
GL_SITE= https://gitlab.freedesktop.org
GL_ACCOUNT= ryuukyu
GL_COMMIT= c1ec56e115b4992969514c5c5d0950ae4170913a
SHEBANG_FILES= build-aux/cargo.sh build-aux/meson_post_install.py
bash_CMD= ${SH}
MAKE_ENV= ${CARGO_ENV}
PLIST_FILES= bin/${PORTNAME}
CARGO_CRATES= aho-corasick-0.7.15 \
ansi_term-0.11.0 \
anyhow-1.0.44 \
arrayvec-0.5.2 \
atty-0.2.14 \
autocfg-1.0.1 \
bindgen-0.59.1 \
bitflags-1.3.2 \
bitvec-0.19.5 \
cairo-rs-0.14.7 \
cairo-sys-rs-0.14.0 \
cc-1.0.70 \
cexpr-0.5.0 \
cfg-expr-0.8.1 \
cfg-expr-0.9.0 \
cfg-if-0.1.10 \
cfg-if-1.0.0 \
clang-sys-1.2.2 \
clap-2.33.3 \
cookie-factory-0.3.2 \
either-1.6.1 \
env_logger-0.8.4 \
env_logger-0.9.0 \
errno-0.2.7 \
errno-dragonfly-0.1.2 \
field-offset-0.3.4 \
funty-1.1.0 \
futures-channel-0.3.17 \
futures-core-0.3.17 \
futures-executor-0.3.17 \
futures-io-0.3.17 \
futures-task-0.3.17 \
futures-util-0.3.17 \
gdk-pixbuf-0.14.0 \
gdk-pixbuf-sys-0.14.0 \
gdk4-0.3.0 \
gdk4-sys-0.3.0 \
gio-0.14.6 \
gio-sys-0.14.0 \
glib-0.14.5 \
glib-macros-0.14.1 \
glib-sys-0.14.0 \
glob-0.3.0 \
gobject-sys-0.14.0 \
graphene-rs-0.14.0 \
graphene-sys-0.14.0 \
gsk4-0.3.0 \
gsk4-sys-0.3.0 \
gtk4-0.3.0 \
gtk4-macros-0.3.0 \
gtk4-sys-0.3.0 \
heck-0.3.3 \
hermit-abi-0.1.19 \
humantime-2.1.0 \
itertools-0.10.1 \
lazy_static-1.4.0 \
lazycell-1.3.0 \
lexical-core-0.7.6 \
libc-0.2.103 \
libloading-0.7.0 \
libspa-0.4.1 \
libspa-sys-0.4.1 \
log-0.4.14 \
memchr-2.3.4 \
memoffset-0.6.4 \
nix-0.14.1 \
nom-6.2.1 \
once_cell-1.8.0 \
pango-0.14.3 \
pango-sys-0.14.0 \
peeking_take_while-0.1.2 \
pest-2.1.3 \
pin-project-lite-0.2.7 \
pin-utils-0.1.0 \
pipewire-0.4.1 \
pipewire-sys-0.4.1 \
pkg-config-0.3.20 \
proc-macro-crate-1.1.0 \
proc-macro-error-1.0.4 \
proc-macro-error-attr-1.0.4 \
proc-macro2-1.0.29 \
quote-1.0.9 \
radium-0.5.3 \
regex-1.4.6 \
regex-syntax-0.6.25 \
rustc-hash-1.1.0 \
rustc_version-0.3.3 \
ryu-1.0.5 \
semver-0.11.0 \
semver-parser-0.10.2 \
serde-1.0.130 \
shlex-1.1.0 \
signal-0.7.0 \
slab-0.4.4 \
smallvec-1.7.0 \
static_assertions-1.1.0 \
strsim-0.8.0 \
strum-0.21.0 \
strum_macros-0.21.1 \
syn-1.0.77 \
system-deps-3.2.0 \
system-deps-4.0.0 \
tap-1.0.1 \
termcolor-1.1.2 \
textwrap-0.11.0 \
thiserror-1.0.29 \
thiserror-impl-1.0.29 \
toml-0.5.8 \
ucd-trie-0.1.3 \
unicode-segmentation-1.8.0 \
unicode-width-0.1.9 \
unicode-xid-0.2.2 \
vec_map-0.8.2 \
version-compare-0.0.11 \
version_check-0.9.3 \
void-1.0.2 \
which-3.1.1 \
winapi-0.3.9 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.5 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
wyz-0.2.0
post-patch:
# Make each cargo subcommand very verbose
@${REINPLACE_CMD} -e '/cargo/s/ --/&verbose&verbose&/' \
${WRKSRC}/build-aux/cargo.sh
.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>
|