freebsd-ports/audio/zrythm/Makefile
Mark Linimon 5b793c56fb Fix build on GCC-based systems:
cc1: error: unrecognized command line option "-std=gnu11"

While here, pet portlint by sorting the (newly edited) USES.

Approved by:	portmgr (tier-2 blanket)
2019-12-11 09:46:49 +00:00

48 lines
1.6 KiB
Makefile

# $FreeBSD$
PORTNAME= zrythm
DISTVERSIONPREFIX= v
DISTVERSION= 0.5.097
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= https://gitlab.com/${PORTNAME}/${PORTNAME}/-/archive/${DISTVERSIONFULL}/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Modern music production system, also known as DAW
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= kf5-breeze-icons>0:x11-themes/kf5-breeze-icons
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
libgtop-2.0.so:devel/libgtop \
libjack.so:audio/jack \
liblilv-0.so:audio/lilv \
libportaudio.so:audio/portaudio \
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
RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \
kf5-breeze-icons>0:x11-themes/kf5-breeze-icons
USES= compiler:c11 gettext-tools gettext-runtime gnome libtool \
meson pkgconfig python:3.5+,build shebangfix xorg
#USE_GITLAB= yes # broken: doesn't require GL_COMMIT any more, see bug#242329
#GL_SITE= https://git.zrythm.org
SHEBANG_FILES= resources/gen-gtk-gresources-xml.py scripts/collect_translatables.sh scripts/meson_post_install.py
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 libxml2 pango
USE_XORG= x11
GLIB_SCHEMAS= org.zrythm.gschema.xml
INSTALLS_ICONS= yes
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>