1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/audio/zrythm/Makefile

62 lines
2.0 KiB
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= zrythm
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.0-alpha.13.0.4
PORTREVISION= 1
CATEGORIES= audio
MAINTAINER= yuri@FreeBSD.org
COMMENT= Modern music production system, also known as DAW
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= 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= bash:shells/bash \
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>