From d1883c50655130a7283e183c80eee654e5ecb6a1 Mon Sep 17 00:00:00 2001 From: Danilo Egea Gondolfo Date: Sun, 24 Feb 2019 12:39:25 +0000 Subject: [PATCH] - Fix options helpers. Should be QMAKE after the migration from cmake to qmake - Fix LICENSE While here - Use buildtools_build instead of buildtools PR: 235655 Submitted by: yuri --- audio/fmit/Makefile | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/audio/fmit/Makefile b/audio/fmit/Makefile index 3e334cc4cd48..552b0ecab213 100644 --- a/audio/fmit/Makefile +++ b/audio/fmit/Makefile @@ -4,43 +4,41 @@ PORTNAME= fmit PORTVERSION= 1.2.6 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MAINTAINER= danilo@FreeBSD.org COMMENT= Free Music Instrument Tuner -LICENSE= GPLv2 +LICENSE= GPLv2 LGPL21 +LICENSE_COMB= multi +LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING_GPL.txt +LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING_LGPL.txt LIB_DEPENDS= libfftw3.so:math/fftw3 USES= gl gnome pkgconfig qmake qt:5 tar:bzip2 -USE_QT= buildtools core gui opengl qmake_build multimedia network svg widgets +USE_QT= buildtools_build core gui opengl qmake_build multimedia network svg widgets USE_GL= gl glut -QMAKE_ARGS+= PREFIXSHORTCUT=${PREFIX} USE_GITHUB= yes GH_ACCOUNT= gillesdegottex -OPTIONS_DEFINE= ALSA JACK OSS PORTAUDIO +QMAKE_ARGS+= PREFIXSHORTCUT=${PREFIX} + +OPTIONS_DEFINE= ALSA JACK OSS PORTAUDIO OPTIONS_DEFAULT= JACK OSS -OPTIONS_SUB= yes +ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib +ALSA_QMAKE_ON= CONFIG+=acs_alsa -ALSA_LIB_DEPENDS= libasound.so.2:audio/alsa-lib -ALSA_CMAKE_ON= -DSOUNDSYSTEM_USE_ALSA:BOOL=true -ALSA_CMAKE_OFF= -DSOUNDSYSTEM_USE_ALSA:BOOL=false - -OSS_CMAKE_ON= -DSOUNDSYSTEM_USE_OSS:BOOL=true -OSS_CMAKE_OFF= -DSOUNDSYSTEM_USE_OSS:BOOL=false +OSS_QMAKE_ON= CONFIG+=acs_oss JACK_LIB_DEPENDS= libjack.so:audio/jack -JACK_CMAKE_ON= -DSOUNDSYSTEM_USE_JACK:BOOL=true -JACK_CMAKE_OFF= -DSOUNDSYSTEM_USE_JACK:BOOL=false +JACK_QMAKE_ON= CONFIG+=acs_jack PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio -PORTAUDIO_CMAKE_ON= -DSOUNDSYSTEM_USE_PORTAUDIO:BOOL=true -PORTAUDIO_CMAKE_OFF= -DSOUNDSYSTEM_USE_PORTAUDIO:BOOL=false +PORTAUDIO_QMAKE_ON= CONFIG+=acs_portaudio .include