Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 21:36:36 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333729 - head/audio/sdl2_mixer
Message-ID:  <201311132136.rADLaaTG005433@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mva
Date: Wed Nov 13 21:36:36 2013
New Revision: 333729
URL: http://svnweb.freebsd.org/changeset/ports/333729

Log:
  - Add MP3 support via multimedia/smpeg2 (new option SMPEG)
  
  PR:		ports/183364
  Submitted by:	Vladimir Kondratiev <wulf@mail.mipt.ru>

Modified:
  head/audio/sdl2_mixer/Makefile

Modified: head/audio/sdl2_mixer/Makefile
==============================================================================
--- head/audio/sdl2_mixer/Makefile	Wed Nov 13 21:28:29 2013	(r333728)
+++ head/audio/sdl2_mixer/Makefile	Wed Nov 13 21:36:36 2013	(r333729)
@@ -2,7 +2,7 @@
 
 PORTNAME=	sdl2_mixer
 PORTVERSION=	2.0.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	audio
 MASTER_SITES=	http://www.libsdl.org/projects/SDL_mixer/release/
 DISTNAME=	SDL2_mixer-${PORTVERSION}
@@ -19,8 +19,8 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 CPPFLAGS+=	-I${LOCALBASE}/include
 USE_LDCONFIG=	yes
 
-OPTIONS_DEFINE=		FLUIDSYNTH FLAC VORBIS
-OPTIONS_DEFAULT=	FLUIDSYNTH MODPLUG FLAC VORBIS
+OPTIONS_DEFINE=		FLUIDSYNTH FLAC SMPEG VORBIS
+OPTIONS_DEFAULT=	FLUIDSYNTH MODPLUG FLAC SMPEG VORBIS
 OPTIONS_RADIO=		MOD
 OPTIONS_RADIO_MOD=	MIKMOD MODPLUG
 
@@ -28,6 +28,7 @@ FLUIDSYNTH_DESC=	Enable SoundFont2 Midi 
 MIKMOD_DESC=	Enable MOD music via libMikMod
 MODPLUG_DESC=	Enable MOD music via libModPlug
 FLAC_DESC=	Enable FLAC encoding support via flac
+SMPEG_DESC=	Enable MP3 music via SMPEG2
 VORBIS_DESC=	Enable Ogg Vorbis music
 
 MIKMOD_LIB_DEPENDS=		libmikmod.so:${PORTSDIR}/audio/libmikmod
@@ -43,6 +44,10 @@ FLUIDSYNTH_LIB_DEPENDS=		libfluidsynth.s
 FLUIDSYNTH_CONFIGURE_ON=	--enable-music-midi --enable-music-midi-fluidsynth
 FLUIDSYNTH_CONFIGURE_OFF=	--disable-music-midi --disable-music-midi-fluidsynth
 
+SMPEG_LIB_DEPENDS=		libsmpeg2.so:${PORTSDIR}/multimedia/smpeg2
+SMPEG_CONFIGURE_ON=		--enable-music-mp3 --enable-music-mp3-smpeg
+SMPEG_CONFIGURE_OFF=		--disable-music-mp3 --disable-music-mp3-smpeg
+
 VORBIS_LIB_DEPENDS=		libvorbis.so:${PORTSDIR}/audio/libvorbis
 VORBIS_CONFIGURE_ENABLE=	music-ogg
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311132136.rADLaaTG005433>