From adcb9bc4dcfb977329c921894561e0aa412613da Mon Sep 17 00:00:00 2001 From: Olivier Duchateau Date: Fri, 27 May 2016 03:29:35 +0000 Subject: [PATCH] Update to 0.3.9 PR: 209678 Submitted by: (maintainer) --- audio/wildmidi/Makefile | 19 +++++++++++-------- audio/wildmidi/distinfo | 4 ++-- audio/wildmidi/pkg-plist | 2 +- 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