2019-02-16 19:36:29 +00:00
# $FreeBSD$
PORTNAME = zrythm
2019-04-08 20:03:44 +00:00
DISTVERSIONPREFIX = v
2021-03-01 19:21:13 +00:00
DISTVERSION = 1.0.0-alpha.13.0.4
2021-03-05 09:52:05 +00:00
PORTREVISION = 1
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
2020-09-15 18:56:21 +00:00
BUILD_DEPENDS = help2man:misc/help2man \
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 \
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 \
liblilv-0.so:audio/lilv \
2020-05-26 08:15:27 +00:00
libpcre.so:devel/pcre \
2019-02-16 19:36:29 +00:00
libportaudio.so:audio/portaudio \
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 \
2020-05-26 08:15:27 +00:00
libyaml.so:textproc/libyaml \
libzstd.so:archivers/zstd
2021-03-05 09:52:05 +00:00
RUN_DEPENDS = bash:shells/bash \
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
2020-05-26 08:15:27 +00:00
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
2019-04-08 20:03:44 +00:00
USE_XORG = x11
2020-05-26 08:15:27 +00:00
GLIB_SCHEMAS = org.zrythm.Zrythm.gschema.xml
2019-02-16 19:36:29 +00:00
INSTALLS_ICONS = yes
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 >