blob: da37d21d4a9025b31139f4b33cc695c84e98a949 (
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
|
PORTNAME= zrythm
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.0-alpha.13.1.1
CATEGORIES= audio
MAINTAINER= yuri@FreeBSD.org
COMMENT= Modern music production system, also known as DAW
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= bash:shells/bash \
help2man:misc/help2man \
kf5-breeze-icons>0:x11-themes/kf5-breeze-icons
LIB_DEPENDS= libaudec.so:audio/libaudec \
libavcodec.so:multimedia/ffmpeg \
libcyaml.so:textproc/libcyaml \
libgtop-2.0.so:devel/libgtop \
libcgraph.so:graphics/graphviz \
libfftw3_threads.so:math/fftw3 \
libfftw3f_threads.so:math/fftw3-float \
libguile-2.2.so:lang/guile2 \
libjack.so:audio/jack \
liblilv-0.so:audio/lilv \
libpcre.so:devel/pcre \
libportaudio.so:audio/portaudio \
libreproc.so:devel/reproc \
librubberband.so:audio/rubberband \
libsamplerate.so:audio/libsamplerate \
libserd-0.so:devel/serd \
libsmf.so:audio/libsmf \
libsndfile.so:audio/libsndfile \
libsord-0.so:devel/sord \
libasound.so:audio/alsa-lib \
libsratom-0.so:audio/sratom \
libsuil-0.so:audio/suil \
libyaml.so:textproc/libyaml \
libzstd.so:archivers/zstd
RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \
kf5-breeze-icons>0:x11-themes/kf5-breeze-icons
USES= compiler:c11 desktop-file-utils gettext-tools gettext-runtime gnome libtool \
meson pkgconfig python:3.5+,build shared-mime-info shebangfix xorg
USE_GITHUB= yes
SHEBANG_FILES= scripts/collect_translatables.sh
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 gtksourceview3 libxml2 pango
USE_XORG= x11
GLIB_SCHEMAS= org.zrythm.Zrythm.gschema.xml
INSTALLS_ICONS= yes
LDFLAGS+= ${LOCALBASE}/lib/libfftw3_threads.so ${LOCALBASE}/lib/libfftw3f_threads.so # these libs are required but aren't returned by pkg-config for fftw3
BINARY_ALIAS= git=false python3=${PYTHON_CMD}
post-patch: # https://git.zrythm.org/zrythm/zrythm/issues/299
@${REINPLACE_CMD} 's|<malloc.h>|<stdlib.h>|' ${WRKSRC}/ext/midilib/src/*.c
.include <bsd.port.mk>
|