From owner-svn-ports-all@freebsd.org Wed Mar 9 05:18:52 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 384AAAC74C0; Wed, 9 Mar 2016 05:18:52 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ECC84D77; Wed, 9 Mar 2016 05:18:51 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u295Iow0073912; Wed, 9 Mar 2016 05:18:50 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u295IoEt073907; Wed, 9 Mar 2016 05:18:50 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201603090518.u295IoEt073907@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 9 Mar 2016 05:18:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r410689 - in head/audio: sdl2_mixer sdl2_mixer/files sdl_mixer X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2016 05:18:52 -0000 Author: jbeich Date: Wed Mar 9 05:18:50 2016 New Revision: 410689 URL: https://svnweb.freebsd.org/changeset/ports/410689 Log: audio/sdl{,2}_mixer: add TREMOR option TREMOR is enabled by default on platforms without hardware floating point. PR: 202689 Approved by: maintainer timeout (6 months) Added: head/audio/sdl2_mixer/files/ head/audio/sdl2_mixer/files/patch-dynamic__ogg.h (contents, props changed) head/audio/sdl2_mixer/files/patch-music__ogg.h (contents, props changed) Modified: head/audio/sdl2_mixer/Makefile (contents, props changed) head/audio/sdl_mixer/Makefile (contents, props changed) Modified: head/audio/sdl2_mixer/Makefile ============================================================================== --- head/audio/sdl2_mixer/Makefile Wed Mar 9 05:06:24 2016 (r410688) +++ head/audio/sdl2_mixer/Makefile Wed Mar 9 05:18:50 2016 (r410689) @@ -2,7 +2,7 @@ PORTNAME= sdl2_mixer PORTVERSION= 2.0.0 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= audio MASTER_SITES= http://www.libsdl.org/projects/SDL_mixer/release/ DISTNAME= SDL2_mixer-${PORTVERSION} @@ -19,10 +19,17 @@ LDFLAGS+= -L${LOCALBASE}/lib CPPFLAGS+= -I${LOCALBASE}/include USE_LDCONFIG= yes -OPTIONS_DEFINE= FLUIDSYNTH FLAC SMPEG VORBIS -OPTIONS_DEFAULT= FLUIDSYNTH MODPLUG FLAC SMPEG VORBIS -OPTIONS_RADIO= MOD +OPTIONS_DEFINE= FLUIDSYNTH FLAC SMPEG +OPTIONS_DEFAULT= FLUIDSYNTH MODPLUG FLAC SMPEG +OPTIONS_RADIO= MOD OGG OPTIONS_RADIO_MOD= MIKMOD MODPLUG +OPTIONS_RADIO_OGG= VORBIS TREMOR + +.if defined(MACHINE_CPU) && ${MACHINE_CPU:Msoftfp} +OPTIONS_DEFAULT+= TREMOR +.else +OPTIONS_DEFAULT+= VORBIS +.endif SMPEG_DESC= MP3 audio support via SMPEG2 @@ -46,6 +53,9 @@ SMPEG_CONFIGURE_OFF= --disable-music-mp VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis VORBIS_CONFIGURE_ENABLE= music-ogg +TREMOR_LIB_DEPENDS= libvorbisidec.so:${PORTSDIR}/audio/libtremor +TREMOR_CONFIGURE_ENABLE= music-ogg music-ogg-tremor + post-patch: @${REINPLACE_CMD} -e 's|\($$(prefix)/libdata/pkgconfig\)|$$(DESTDIR)\1|' \ ${WRKSRC}/Makefile.in Added: head/audio/sdl2_mixer/files/patch-dynamic__ogg.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/sdl2_mixer/files/patch-dynamic__ogg.h Wed Mar 9 05:18:50 2016 (r410689) @@ -0,0 +1,11 @@ +--- dynamic_ogg.h.orig 2013-08-10 17:39:55 UTC ++++ dynamic_ogg.h +@@ -21,7 +21,7 @@ + + #ifdef OGG_MUSIC + #ifdef OGG_USE_TREMOR +-#include ++#include + #else + #include + #endif Added: head/audio/sdl2_mixer/files/patch-music__ogg.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/sdl2_mixer/files/patch-music__ogg.h Wed Mar 9 05:18:50 2016 (r410689) @@ -0,0 +1,11 @@ +--- music_ogg.h.orig 2013-08-10 17:39:58 UTC ++++ music_ogg.h +@@ -26,7 +26,7 @@ + /* This file supports Ogg Vorbis music streams */ + + #ifdef OGG_USE_TREMOR +-#include ++#include + #else + #include + #endif Modified: head/audio/sdl_mixer/Makefile ============================================================================== --- head/audio/sdl_mixer/Makefile Wed Mar 9 05:06:24 2016 (r410688) +++ head/audio/sdl_mixer/Makefile Wed Mar 9 05:18:50 2016 (r410689) @@ -3,7 +3,7 @@ PORTNAME= sdl_mixer PORTVERSION= 1.2.12 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= audio MASTER_SITES= http://www.libsdl.org/projects/SDL_mixer/release/ DISTNAME= SDL_mixer-${PORTVERSION} @@ -20,10 +20,17 @@ LDFLAGS+= -L${LOCALBASE}/lib CPPFLAGS+= -I${LOCALBASE}/include USE_LDCONFIG= yes -OPTIONS_DEFINE= SMPEG FLAC VORBIS TIMIDITYPLUS -OPTIONS_DEFAULT= SMPEG FLAC VORBIS MIKMOD -OPTIONS_RADIO= MOD +OPTIONS_DEFINE= SMPEG FLAC TIMIDITYPLUS +OPTIONS_DEFAULT= SMPEG FLAC MIKMOD +OPTIONS_RADIO= MOD OGG OPTIONS_RADIO_MOD= MIKMOD MODPLUG +OPTIONS_RADIO_OGG= VORBIS TREMOR + +.if defined(MACHINE_CPU) && ${MACHINE_CPU:Msoftfp} +OPTIONS_DEFAULT+= TREMOR +.else +OPTIONS_DEFAULT+= VORBIS +.endif MIKMOD_DESC= Enable MOD music via libMikMod MODPLUG_DESC= Enable MOD music via libModPlug @@ -53,6 +60,9 @@ TIMIDITYPLUS_VARS= CONFIG_FILE=${LOCALB TIMIDITYPLUS_RUN_DEPENDS_OFF= ${LOCALBASE}/lib/timidity/timidity.cfg:${PORTSDIR}/audio/timidity TIMIDITYPLUS_VARS_OFF= CONFIG_FILE=${LOCALBASE}/lib/timidity/timidity.cfg +TREMOR_LIB_DEPENDS= libvorbisidec.so:${PORTSDIR}/audio/libtremor +TREMOR_CONFIGURE_ENABLE= music-ogg music-ogg-tremor + post-patch: @${REINPLACE_CMD} -e 's|\($$(prefix)/libdata/pkgconfig\)|$$(DESTDIR)\1|' \ ${WRKSRC}/Makefile.in