2019-02-16 19:36:29 +00:00
PORTNAME = zrythm
2019-04-08 20:03:44 +00:00
DISTVERSIONPREFIX = v
2021-10-02 19:57:47 +00:00
DISTVERSION = 1.0.0-alpha.25.1.22
2019-02-16 19:36:29 +00:00
CATEGORIES = audio
MAINTAINER = yuri@FreeBSD.org
COMMENT = Modern music production system, also known as DAW
2020-09-15 18:26:42 +00:00
LICENSE = AGPLv3
2019-02-16 19:36:29 +00:00
LICENSE_FILE = ${ WRKSRC } /COPYING
2021-03-06 08:13:43 +00:00
BUILD_DEPENDS = bash:shells/bash \
help2man:misc/help2man \
2021-05-04 16:52:48 +00:00
${ LOCALBASE } /lib/libbacktrace.a:devel/libbacktrace \
2020-05-26 08:15:27 +00:00
kf5-breeze-icons>0:x11-themes/kf5-breeze-icons
LIB_DEPENDS = libaudec.so:audio/libaudec \
libavcodec.so:multimedia/ffmpeg \
libcyaml.so:textproc/libcyaml \
2019-05-12 17:22:07 +00:00
libgtop-2.0.so:devel/libgtop \
2020-05-26 08:15:27 +00:00
libcgraph.so:graphics/graphviz \
2021-08-09 00:06:24 +00:00
libcurl.so:ftp/curl \
2020-09-15 18:56:21 +00:00
libfftw3_threads.so:math/fftw3 \
libfftw3f_threads.so:math/fftw3-float \
2020-05-26 08:15:27 +00:00
libguile-2.2.so:lang/guile2 \
2019-02-16 19:36:29 +00:00
libjack.so:audio/jack \
2021-08-09 00:06:24 +00:00
libjson-glib-1.0.so:devel/json-glib \
2019-02-16 19:36:29 +00:00
liblilv-0.so:audio/lilv \
2020-05-26 08:15:27 +00:00
libpcre.so:devel/pcre \
2021-05-04 16:52:48 +00:00
libpcre2-8.so:devel/pcre2 \
2019-02-16 19:36:29 +00:00
libportaudio.so:audio/portaudio \
2021-05-04 16:52:48 +00:00
libpulse.so:audio/pulseaudio \
2020-09-14 19:02:38 +00:00
libreproc.so:devel/reproc \
2020-05-26 08:15:27 +00:00
librubberband.so:audio/rubberband \
2019-02-16 19:36:29 +00:00
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 \
2021-08-02 18:47:32 +00:00
libvamp-hostsdk.so:audio/vamp-plugin-sdk \
2021-06-03 23:12:42 +00:00
libxxhash.so:devel/xxhash \
2020-05-26 08:15:27 +00:00
libyaml.so:textproc/libyaml \
libzstd.so:archivers/zstd
2021-03-06 08:13:43 +00:00
RUN_DEPENDS = gsettings-desktop-schemas>= 0:devel/gsettings-desktop-schemas \
2019-02-16 19:36:29 +00:00
kf5-breeze-icons>0:x11-themes/kf5-breeze-icons
2021-05-04 16:52:48 +00:00
USES = compiler:c11 desktop-file-utils gettext-tools gettext-runtime gnome libtool localbase:ldflags \
2020-05-26 08:15:27 +00:00
meson pkgconfig python:3.5+,build shared-mime-info shebangfix xorg
USE_GITHUB = yes
USE_GNOME = atk cairo gdkpixbuf2 glib20 gtk30 gtksourceview3 libxml2 pango
2019-04-08 20:03:44 +00:00
USE_XORG = x11
2021-05-04 16:52:48 +00:00
SHEBANG_FILES = scripts/collect_translatables.sh
2020-05-26 08:15:27 +00:00
GLIB_SCHEMAS = org.zrythm.Zrythm.gschema.xml
2021-05-04 16:52:48 +00:00
2019-02-16 19:36:29 +00:00
2020-09-15 18:26:42 +00:00
LDFLAGS += ${ LOCALBASE } /lib/libfftw3_threads.so ${ LOCALBASE } /lib/libfftw3f_threads.so # these libs are required but aren't returned by pkg-config for fftw3
2020-09-14 19:02:38 +00:00
BINARY_ALIAS = git = false python3 = ${ PYTHON_CMD }
2020-05-26 08:15:27 +00:00
2019-06-15 03:33:46 +00:00
post-patch : # https://git.zrythm.org/zrythm/zrythm/issues/299
@${ REINPLACE_CMD } 's|<malloc.h>|<stdlib.h>|' ${ WRKSRC } /ext/midilib/src/*.c
2019-02-16 19:36:29 +00:00
. i n c l u d e < b s d . p o r t . m k >