aboutsummaryrefslogtreecommitdiffstats
path: root/audio/wildmidi/Makefile
diff options
context:
space:
mode:
authorolivierd <olivierd@FreeBSD.org>2016-06-26 03:14:14 +0800
committerolivierd <olivierd@FreeBSD.org>2016-06-26 03:14:14 +0800
commit6bf789da06678c50ce6103f07b4a3f8ba3bdc7fb (patch)
tree38356558e58045adabbc67855ad2eb8b34c56902 /audio/wildmidi/Makefile
parentc132ee8dacdccb0af52279ca96de120f2232d681 (diff)
downloadfreebsd-ports-gnome-6bf789da06678c50ce6103f07b4a3f8ba3bdc7fb.tar.gz
freebsd-ports-gnome-6bf789da06678c50ce6103f07b4a3f8ba3bdc7fb.tar.zst
freebsd-ports-gnome-6bf789da06678c50ce6103f07b4a3f8ba3bdc7fb.zip
Update to 0.4.0
Changes: https://github.com/Mindwerks/wildmidi/releases/tag/wildmidi-0.4.0 PR: 210365 Submitted by: SimaMoto,RyoTa <liangtai.s16@gmail.com> (maintainer)
Diffstat (limited to 'audio/wildmidi/Makefile')
-rw-r--r--audio/wildmidi/Makefile21
1 files changed, 8 insertions, 13 deletions
diff --git a/audio/wildmidi/Makefile b/audio/wildmidi/Makefile
index 45a96459db14..525d95d38d20 100644
--- a/audio/wildmidi/Makefile
+++ b/audio/wildmidi/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= wildmidi
-PORTVERSION= 0.3.9
+PORTVERSION= 0.4.0
DISTVERSIONPREFIX= ${PORTNAME}-
CATEGORIES= audio
@@ -19,7 +19,7 @@ USE_LDCONFIG= yes
OPTIONS_SUB= yes
OPTIONS_RADIO= BACKEND
-OPTIONS_RADIO_BACKEND= ALSA OSS OPENAL OPENALSOFT
+OPTIONS_RADIO_BACKEND= ALSA OPENAL OSS
OPTIONS_DEFINE= PLAYER PLAYERSTATIC STATIC
OPTIONS_DEFAULT= ALSA PLAYER
@@ -33,28 +33,23 @@ PLAYER_CMAKE_ON= -DWANT_PLAYER:BOOL=ON
PLAYER_CMAKE_OFF= -DWANT_PLAYER:BOOL=OFF
PLAYERSTATIC_CMAKE_ON= -DWANT_PLAYERSTATIC:BOOL=ON
PLAYERSTATIC_CMAKE_OFF= -DWANT_PLAYERSTATIC:BOOL=OFF
+PLAYERSTATIC_IMPLIES= STATIC
ALSA_CMAKE_ON= -DWANT_ALSA:BOOL=ON
ALSA_CMAKE_OFF= -DWANT_ALSA:BOOL=OFF
+OPENAL_CMAKE_ON= -DWANT_OPENAL:BOOL=ON
+OPENAL_CMAKE_OFF= -DWANT_OPENAL:BOOL=OFF
OSS_CMAKE_ON= -DWANT_OSS:BOOL=ON
OSS_CMAKE_OFF= -DWANT_OSS:BOOL=OFF
-OPENALSOFT_DESC= OpenAL support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPLAYER} || ${PORT_OPTIONS:MPLAYERSTATIC}
LICENSE+= GPLv3
LICENSE_COMB= multi
-. if ${PORT_OPTIONS:MOPENALSOFT}
-LIB_DEPENDS+= libopenal.so:audio/openal-soft
-CMAKE_ARGS+= -DWANT_OPENAL:BOOL=ON
-. elif ${PORT_OPTIONS:MOPENAL}
-LIB_DEPENDS+= libopenal.so:audio/openal
-CMAKE_ARGS+= -DWANT_OPENAL:BOOL=ON
-. else
-CMAKE_ARGS+= -DWANT_OPENAL:BOOL=OFF
-. if ${PORT_OPTIONS:MALSA}
+. if ${PORT_OPTIONS:MOPENAL}
+USES+= openal:al
+. elif ${PORT_OPTIONS:MALSA}
LIB_DEPENDS+= libasound.so:audio/alsa-lib
-. endif
. endif
.endif