Changeset View
Changeset View
Standalone View
Standalone View
audio/carla/Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $FreeBSD$ | |||||
PORTNAME= Carla | |||||
DISTVERSION= 1.9.7b-279 | |||||
DISTVERSIONSUFFIX= -g3758c005 | |||||
CATEGORIES= audio | |||||
MAINTAINER= yuri@FreeBSD.org | |||||
COMMENT= Audio LV2 plugin host for Jack and PulseAudio | |||||
LICENSE= GPLv2 | |||||
LICENSE_FILE= ${WRKSRC}/doc/GPL.txt | |||||
LIB_DEPENDS= liblo.so:audio/liblo \ | |||||
libsndfile.so:audio/libsndfile | |||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyliblo>0:audio/py-pyliblo | |||||
USES= compiler:c++11-lib desktop-file-utils gmake localbase pkgconfig pyqt:5 python:3 shared-mime-info tar:bz2 | |||||
USE_GITHUB= yes | |||||
tcberner: ^ seems a bit on the long side here, maybe break around pkgconfig | |||||
GH_ACCOUNT= falkTX | |||||
USE_PYQT= core_run gui_run sip_build svg_run xml_build widgets_run | |||||
USE_QT5= core gui widgets buildtools_build | |||||
Done Inline Actions'^ I would group these by _run resp _build. So USE_PYQT= core_run gui_run svg_run widgets_run \ sip_build xml_build tcberner: '^ I would group these by _run resp _build. So
```
USE_PYQT= core_run gui_run svg_run… | |||||
USE_GNOME= gtk20 gtk30 | |||||
USE_XORG= x11 | |||||
USE_LDCONFIG= ${PREFIX}/lib/carla | |||||
Done Inline Actions^ move USE_GNOME above USE_PYQT (so it's at least somewhat alphabetically sorted USE_GNOME, USE_PYQT, USE_QT) tcberner: ^ move USE_GNOME above USE_PYQT (so it's at least somewhat alphabetically sorted USE_GNOME… | |||||
Not Done Inline ActionsThis app is primarily Qt. It uses Gtk in a "secondary" way, only for plugin containers. yuri: This app is primarily Qt. It uses Gtk in a "secondary" way, only for plugin containers.
| |||||
MAKE_ARGS= BSD=true \ | |||||
HAVE_QT4=false \ | |||||
EXTERNAL_PLUGINS=false | |||||
OPTIONS_DEFINE= FFMPEG FLUIDSYNTH LINUXSAMPLER | |||||
OPTIONS_DEFAULT= FFMPEG FLUIDSYNTH LINUXSAMPLER | |||||
OPTIONS_MULTI= BACKEND | |||||
OPTIONS_MULTI_BACKEND= JACK PULSEAUDIO | |||||
Done Inline Actions^ OPTIONS_MULTI= has spaces tcberner: ^ OPTIONS_MULTI= has spaces | |||||
LINUXSAMPLER_DESC= Use LinuxSampler: a software audio sampler | |||||
BACKEND_DESC= Audio backend | |||||
Done Inline Actions^OPTIONS_MULTI_BACKEND has spaces tcberner: ^OPTIONS_MULTI_BACKEND has spaces | |||||
OPTIONS_DEFAULT+= JACK | |||||
matUnsubmitted Done Inline ActionsWhy +=? mat: Why `+=`? | |||||
yuriAuthorUnsubmitted Done Inline ActionsIt's nicer to group the audio backend options. OPTIONS_MULTI_BACKEND=JACK PULSEAUDIO is defined below the main options. yuri: It's nicer to group the audio backend options. `OPTIONS_MULTI_BACKEND=JACK PULSEAUDIO` is… | |||||
matUnsubmitted Done Inline ActionsWell, the variables are out of order anyway. mat: Well, the variables are out of order anyway. | |||||
FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg | |||||
FFMPEG_MAKE_ARGS_OFF= HAVE_FFMPEG=false | |||||
FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth | |||||
FLUIDSYNTH_MAKE_ARGS_OFF= HAVE_FLUIDSYNTH=false | |||||
LINUXSAMPLER_LIB_DEPENDS= liblinuxsampler.so:audio/linuxsampler | |||||
LINUXSAMPLER_MAKE_ARGS_OFF= HAVE_LINUXSAMPLER=false | |||||
JACK_RUN_DEPENDS= ${LOCALBASE}/lib/libjack.so:audio/jack | |||||
PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio | |||||
Done Inline Actionswhy not JACK_LIB_DEPENDS=libjack.so:audio/jack? tcberner: why not `JACK_LIB_DEPENDS=libjack.so:audio/jack`? | |||||
Done Inline ActionsIt's a run dependency. yuri: It's a run dependency. | |||||
PULSEAUDIO_MAKE_ARGS_OFF= HAVE_PULSEAUDIO=false | |||||
post-install: | |||||
@${REINPLACE_CMD} -i '' -e 's|^PYTHON=.*|PYTHON=${PYTHON_CMD}|' ${STAGEDIR}${PREFIX}/bin/carla* | |||||
devel-features: patch | |||||
@${ECHO} "Developer command: show build features" | |||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} features | |||||
.include <bsd.port.mk> |
^ seems a bit on the long side here, maybe break around pkgconfig