opnsense-ports/audio/fluida-lv2/Makefile

37 lines
1.0 KiB
Makefile

PORTNAME= fluida
DISTVERSIONPREFIX= v
DISTVERSION= 0.8
CATEGORIES= audio
PKGNAMESUFFIX= -lv2
MASTER_SITES= https://github.com/brummer10/Fluida.lv2/releases/download/v${DISTVERSION}/
DIST_SUBDIR= ${PORTNAME}
DISTNAME= Fluida_${DISTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Fluidsynth as LV2 plugin
WWW= https://github.com/brummer10/Fluida.lv2
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= lv2>0:audio/lv2 \
xxd:editors/vim
LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth
USES= compiler:c++11-lang gettext-runtime gmake gnome localbase pkgconfig xorg
USE_GNOME= cairo
USE_XORG= x11
USE_BINUTILS= yes # linking needs some GNU features, fails on 12 without this, see https://github.com/brummer10/GxPlugins.lv2/issues/9
ALL_TARGET=
PLIST_FILES= lib/lv2/Fluida.lv2/Fluida.so \
lib/lv2/Fluida.lv2/Fluida.ttl \
lib/lv2/Fluida.lv2/Fluida_ui.so \
lib/lv2/Fluida.lv2/manifest.ttl
post-patch: # /proc/cpuinfo is used to check SIMD support in CPU
@${REINPLACE_CMD} -e 's|/proc/cpuinfo|/dev/null|' ${WRKSRC}/Fluida/Makefile
.include <bsd.port.mk>