aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorolivierd <olivierd@FreeBSD.org>2016-05-27 11:29:35 +0800
committerolivierd <olivierd@FreeBSD.org>2016-05-27 11:29:35 +0800
commit21e975d2bd82f97fc1e65b53f0d2c32e2353b9fd (patch)
tree3a41147d07e98da8dc629c337837922ca3c0fd79 /audio
parent00dfe3ab04bf1cf6f8d92c475867f3d60b09782c (diff)
downloadfreebsd-ports-gnome-21e975d2bd82f97fc1e65b53f0d2c32e2353b9fd.tar.gz
freebsd-ports-gnome-21e975d2bd82f97fc1e65b53f0d2c32e2353b9fd.tar.zst
freebsd-ports-gnome-21e975d2bd82f97fc1e65b53f0d2c32e2353b9fd.zip
Update to 0.3.9
PR: 209678 Submitted by: <liangtai.s16@gmail.com> (maintainer)
Diffstat (limited to 'audio')
-rw-r--r--audio/wildmidi/Makefile19
-rw-r--r--audio/wildmidi/distinfo4
-rw-r--r--audio/wildmidi/pkg-plist2
3 files changed, 14 insertions, 11 deletions
diff --git a/audio/wildmidi/Makefile b/audio/wildmidi/Makefile
index 4080660c3295..45a96459db14 100644
--- a/audio/wildmidi/Makefile
+++ b/audio/wildmidi/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= wildmidi
-PORTVERSION= 0.3.8
+PORTVERSION= 0.3.9
DISTVERSIONPREFIX= ${PORTNAME}-
CATEGORIES= audio
@@ -13,12 +13,13 @@ LICENSE= LGPL3
USE_GITHUB= yes
GH_ACCOUNT= Mindwerks
+
USES= gmake cmake:outsource
USE_LDCONFIG= yes
OPTIONS_SUB= yes
-OPTIONS_SINGLE= BACKEND
-OPTIONS_SINGLE_BACKEND= ALSA OSS OPENAL OPENALSOFT
+OPTIONS_RADIO= BACKEND
+OPTIONS_RADIO_BACKEND= ALSA OSS OPENAL OPENALSOFT
OPTIONS_DEFINE= PLAYER PLAYERSTATIC STATIC
OPTIONS_DEFAULT= ALSA PLAYER
@@ -27,7 +28,7 @@ STATIC_CMAKE_OFF= -DWANT_STATIC:BOOL=OFF
PLAYER_DESC= Simple player
PLAYERSTATIC_DESC= Simple player using STATIC libWildMidi
-BACKEND_DESC= Sound system PLAYER and PLAYERSTATIC uses
+BACKEND_DESC= Sound system PLAYER and PLAYERSTATIC use
PLAYER_CMAKE_ON= -DWANT_PLAYER:BOOL=ON
PLAYER_CMAKE_OFF= -DWANT_PLAYER:BOOL=OFF
PLAYERSTATIC_CMAKE_ON= -DWANT_PLAYERSTATIC:BOOL=ON
@@ -43,15 +44,17 @@ OPENALSOFT_DESC= OpenAL support
.if ${PORT_OPTIONS:MPLAYER} || ${PORT_OPTIONS:MPLAYERSTATIC}
LICENSE+= GPLv3
LICENSE_COMB= multi
-CMAKE_ARGS+= -DWANT_OPENAL:BOOL=OFF
-. if ${PORT_OPTIONS:MALSA}
-LIB_DEPENDS+= libasound.so:audio/alsa-lib
-. elif ${PORT_OPTIONS:MOPENALSOFT}
+. 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}
+LIB_DEPENDS+= libasound.so:audio/alsa-lib
+. endif
. endif
.endif
diff --git a/audio/wildmidi/distinfo b/audio/wildmidi/distinfo
index 2f87527451c9..afe3d65ae7a8 100644
--- a/audio/wildmidi/distinfo
+++ b/audio/wildmidi/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Mindwerks-wildmidi-wildmidi-0.3.8_GH0.tar.gz) = efd8c5194d066b93057bfb892e6c44f13048998f71d7aadc5514b859272762fc
-SIZE (Mindwerks-wildmidi-wildmidi-0.3.8_GH0.tar.gz) = 121690
+SHA256 (Mindwerks-wildmidi-wildmidi-0.3.9_GH0.tar.gz) = 9773496d7cfee06502c8e13eb20a20f021c666b4759bb78fdf7b2a64ffd66cb9
+SIZE (Mindwerks-wildmidi-wildmidi-0.3.9_GH0.tar.gz) = 121689
diff --git a/audio/wildmidi/pkg-plist b/audio/wildmidi/pkg-plist
index ca558628032e..16879c5f53f3 100644
--- a/audio/wildmidi/pkg-plist
+++ b/audio/wildmidi/pkg-plist
@@ -18,4 +18,4 @@ man/man3/WildMidi_OpenBuffer.3.gz
man/man3/WildMidi_SetOption.3.gz
man/man3/WildMidi_Shutdown.3.gz
man/man5/wildmidi.cfg.5.gz
-%%DATADIR%%/wildmidi.cfg.sample
+@sample %%DATADIR%%/wildmidi.cfg.sample