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.7 | |||||
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= libfluidsynth.so:audio/fluidsynth \ | |||||
liblo.so:audio/liblo \ | |||||
libsndfile.so:audio/libsndfile | |||||
USES= compiler:c++11-lib desktop-file-utils gmake localbase python:3 pyqt:5 shared-mime-info shebangfix tar:bz2 | |||||
USE_GITHUB= yes | |||||
GH_ACCOUNT= falkTX | |||||
tcberner: ^ seems a bit on the long side here, maybe break around pkgconfig | |||||
GH_TAGNAME= b802c3e | |||||
USE_PYQT= core svg_run gui_run widgets_run xml | |||||
USE_QT5= core gui widgets | |||||
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_GL= gl | |||||
USE_XORG= x11 | |||||
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.
| |||||
USE_LDCONFIG= ${PREFIX}/lib/carla | |||||
MAKE_ARGS= BSD=true \ | |||||
HAVE_QT4=false \ | |||||
HAVE_PYQT=true HAVE_PYQT5=true \ | |||||
HAVE_PULSEAUDIO=true \ | |||||
MOC_QT5=${LOCALBASE}/lib/qt5/bin/moc \ | |||||
RCC_QT5=${LOCALBASE}/lib/qt5/bin/rcc \ | |||||
PYUIC=${LOCALBASE}/bin/pyuic5 \ | |||||
Done Inline Actions^ OPTIONS_MULTI= has spaces tcberner: ^ OPTIONS_MULTI= has spaces | |||||
PYRCC=${LOCALBASE}/bin/pyrcc5 \ | |||||
EXTERNAL_PLUGINS=false | |||||
Done Inline Actions^OPTIONS_MULTI_BACKEND has spaces tcberner: ^OPTIONS_MULTI_BACKEND has spaces | |||||
OPTIONS_DEFINE= FFMPEG JACK | |||||
Done Inline ActionsWhy +=? mat: Why `+=`? | |||||
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… | |||||
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= HAVE_FFMPEG=true | |||||
FFMPEG_MAKE_ARGS_OFF= HAVE_FFMPEG=false | |||||
JACK_RUN_DEPENDS= ${LOCALBASE}/lib/libjack.so:audio/jack | |||||
post-extract: | |||||
@${RM} `${FIND} ${WRKDIR} -name "*.orig"` | |||||
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. | |||||
post-install: | |||||
@${REINPLACE_CMD} -e 's|%%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