Bug 183364 - [patch] audio/sdl2_mixer fix staging; add mp3 playback support
Summary: [patch] audio/sdl2_mixer fix staging; add mp3 playback support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Marcus von Appen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-27 13:50 UTC by Vladimir Kondratiev
Modified: 2013-11-13 21:40 UTC (History)
0 users

See Also:


Attachments
file.diff (1.70 KB, patch)
2013-10-27 13:50 UTC, Vladimir Kondratiev
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kondratiev 2013-10-27 13:50:00 UTC
1. Fix staging regexp so SDL2_mixer.pc installs in the right place
2. Add MP3 support via multimedia/smpeg2 (depends on ports/183360)

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-27 13:50:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mva

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-11-13 21:36:43 UTC
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
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Marcus von Appen freebsd_committer freebsd_triage 2013-11-13 21:37:17 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!