<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[121029] trunk/dports/multimedia</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/121029">121029</a></dd>
<dt>Author</dt> <dd>mf2k@macports.org</dd>
<dt>Date</dt> <dd>2014-06-14 16:42:28 -0700 (Sat, 14 Jun 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>audacious audacious-core audacious-plugins: New ports. (#25260)</pre>
<h3>Added Paths</h3>
<ul>
<li>trunk/dports/multimedia/audacious/</li>
<li><a href="#trunkdportsmultimediaaudaciousPortfile">trunk/dports/multimedia/audacious/Portfile</a></li>
<li>trunk/dports/multimedia/audacious-core/</li>
<li><a href="#trunkdportsmultimediaaudaciouscorePortfile">trunk/dports/multimedia/audacious-core/Portfile</a></li>
<li>trunk/dports/multimedia/audacious-core/files/</li>
<li><a href="#trunkdportsmultimediaaudaciouscorefilespatchbuildsysdiff">trunk/dports/multimedia/audacious-core/files/patch-buildsys.diff</a></li>
<li>trunk/dports/multimedia/audacious-plugins/</li>
<li><a href="#trunkdportsmultimediaaudaciouspluginsPortfile">trunk/dports/multimedia/audacious-plugins/Portfile</a></li>
<li>trunk/dports/multimedia/audacious-plugins/files/</li>
<li><a href="#trunkdportsmultimediaaudaciouspluginsfilespatchbuildsysdiff">trunk/dports/multimedia/audacious-plugins/files/patch-buildsys.diff</a></li>
<li><a href="#trunkdportsmultimediaaudaciouspluginsfilespatchconfigureacselectlibsdldiff">trunk/dports/multimedia/audacious-plugins/files/patch-configure.ac-select-libsdl.diff</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsmultimediaaudaciousPortfile"></a>
<div class="addfile"><h4>Added: trunk/dports/multimedia/audacious/Portfile (0 => 121029)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/multimedia/audacious/Portfile         (rev 0)
+++ trunk/dports/multimedia/audacious/Portfile        2014-06-14 23:42:28 UTC (rev 121029)
</span><span class="lines">@@ -0,0 +1,42 @@
</span><ins>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name audacious
+
+# Please keep audacious, audacious-core and audacious-plugins synchronized.
+version 3.5
+revision 0
+
+license BSD GPL-2+
+categories multimedia
+platforms darwin
+maintainers ionic.de:ionic
+supported_archs noarch
+
+description Meta port for audacious-core and audacious-plugins. Please check \
+ the variants on both audacious-core and audacious-plugins.
+long_description This is a meta port pulling both audacious-core and audacious-plugins. \
+ In order to customize your build, please check the available variants \
+ on audacious-core and audacious-plugins. Pass those variants when \
+ installing this meta port. \
+ Failure to do so will leave you with a default set of variants, \
+ enabling most features.
+
+homepage http://www.audacious-media-player.org/
+master_sites
+distfiles
+
+depends_lib port:audacious-core \
+ port:audacious-plugins
+
+use_configure no
+build {}
+
+destroot {
+ xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
+ system "echo audacious > ${destroot}${prefix}/share/doc/${name}/stub"
+}
+
+livecheck.type none
</ins><span class="cx">Property changes on: trunk/dports/multimedia/audacious/Portfile
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnkeywords"></a>
<div class="addfile"><h4>Added: svn:keywords</h4></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<a id="trunkdportsmultimediaaudaciouscorePortfile"></a>
<div class="addfile"><h4>Added: trunk/dports/multimedia/audacious-core/Portfile (0 => 121029)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/multimedia/audacious-core/Portfile         (rev 0)
+++ trunk/dports/multimedia/audacious-core/Portfile        2014-06-14 23:42:28 UTC (rev 121029)
</span><span class="lines">@@ -0,0 +1,91 @@
</span><ins>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name audacious-core
+set real_name audacious
+
+# Please keep audacious, audacious-core and audacious-plugins synchronized.
+version 3.5
+revision 0
+
+license BSD
+categories multimedia
+platforms darwin
+maintainers ionic.de:ionic
+homepage http://www.audacious-media-player.org/
+description Audacious is an advanced audio player.
+long_description ${description} It is free, lightweight, based on GTK3, \
+ runs on Linux and many other *nix platforms. The player focuses on audio quality \
+ and supports a wide range of audio codecs. \
+ Its advanced audio playback engine is considerably more powerful than GStreamer. \
+ Audacious is a fork of Beep Media Player (BMP), which itself forked from XMMS.
+
+# Maintainer-only helper for testing changes quickly and easily.
+#fetch.type git
+#git.url git://github.com/Ionic/${real_name}
+#git.branch ${real_name}-${version}-buildfix
+
+master_sites http://distfiles.audacious-media-player.org
+distname ${real_name}-${version}
+use_bzip2 yes
+checksums rmd160 7b801aa2ab8236bcd52dd1e9564d9d4c64ec83a8 \
+ sha256 4180a1a922b42ef2b1fe47c708a226e03e7400b35e04ece4b2e73c01c5d42514
+
+patchfiles patch-buildsys.diff
+
+depends_build path:bin/pkg-config:pkgconfig \
+ path:bin/aclocal:automake \
+ path:bin/autom4te:autoconf
+
+depends_lib port:libiconv \
+ port:gettext \
+ path:lib/pkgconfig/dbus-1.pc:dbus \
+ path:lib/pkgconfig/glib-2.0.pc:glib2 \
+ path:lib/pkgconfig/gtk-3.0.pc:gtk3
+
+# Note: rpath is required on Mac OS X.
+configure.args --enable-nls \
+ --enable-rpath \
+ --enable-dbus \
+ --disable-chardet \
+ --disable-valgrind
+
+use_autoreconf yes
+autoreconf.cmd ./autogen.sh
+autoreconf.args
+
+platform darin {
+ if {[info exists configure.cxx_stdlib] &&
+ ${configure.cxx_stdlib} -ne {} &&
+ ${configure.cxx_stdlib} == "libc++"} {
+ if {${os.major} > 10} {
+ configure.ldflags-append "-mmacosx-version-min=10.7"
+ }
+ else {
+ ui_error "libc++ is only supported on OS X 10.7 and up for this port."
+ error "libc++ supported on >= 10.7 only."
+ }
+ }
+ else {
+ configure.ldflags-append "-mmacosx-version-min=10.5"
+ }
+}
+
+post-destroot {
+ xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${real_name}
+ file rename ${destroot}${prefix}/share/${real_name}/AUTHORS \
+ ${destroot}${prefix}/share/${real_name}/COPYING \
+ ${destroot}${prefix}/share/doc/${real_name}
+}
+
+# Needs libguess, which is currently not ported.
+#variant chardet description {Try to handle non-UTF8 chinese/japanese/korean ID3 tags} {
+# configure.args-replace --disable-chardet \
+# --enable-chardet
+#}
+
+livecheck.type regex
+livecheck.url ${master_sites}
+livecheck.regex "${real_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
</ins><span class="cx">Property changes on: trunk/dports/multimedia/audacious-core/Portfile
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnkeywords"></a>
<div class="addfile"><h4>Added: svn:keywords</h4></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<a id="trunkdportsmultimediaaudaciouscorefilespatchbuildsysdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/multimedia/audacious-core/files/patch-buildsys.diff (0 => 121029)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/multimedia/audacious-core/files/patch-buildsys.diff         (rev 0)
+++ trunk/dports/multimedia/audacious-core/files/patch-buildsys.diff        2014-06-14 23:42:28 UTC (rev 121029)
</span><span class="lines">@@ -0,0 +1,29 @@
</span><ins>+--- buildsys.mk.in.old        2014-05-10 20:05:12.000000000 +0200
++++ buildsys.mk.in        2014-05-10 20:06:01.000000000 +0200
+@@ -107,7 +107,6 @@
+
+ MO_FILES = ${LOCALES:.po=.mo}
+
+-.SILENT:
+ .SUFFIXES:
+ .SUFFIXES: .beam .c .c.dep .cc .cc.dep .class .cxx .cxx.dep .d .erl .lib.o .java .mo .m .m.dep .mm .mm.dep .o .plugin.o .po .py .pyc .rc .S .S.dep .xpm
+ .PHONY: all subdirs pre-depend depend install install-extra uninstall uninstall-extra clean distclean locales ${SUBDIRS}
+--- m4/buildsys.m4.old        2014-05-10 20:05:12.000000000 +0200
++++ m4/buildsys.m4        2014-05-10 20:05:47.000000000 +0200
+@@ -109,14 +109,14 @@
+                 darwin*)
+                         AC_MSG_RESULT(Darwin)
+                         LIB_CFLAGS='-fPIC -DPIC'
+-                        LIB_LDFLAGS='-dynamiclib -current_version ${LIB_MAJOR}.${LIB_MINOR} -compatibility_version ${LIB_MAJOR}'
++                        LIB_LDFLAGS='-dynamiclib -current_version ${LIB_MAJOR}.${LIB_MINOR} -compatibility_version ${LIB_MAJOR} -Wl,-install_name,${libdir}/$''@'
+                         LIB_PREFIX='lib'
+                         LIB_SUFFIX='.dylib'
+                         LDFLAGS_RPATH='-Wl,-rpath,${libdir}'
+                         PLUGIN_CFLAGS='-fPIC -DPIC'
+                         PLUGIN_LDFLAGS='-bundle -undefined dynamic_lookup'
+                         PLUGIN_SUFFIX='.bundle'
+-                        INSTALL_LIB='&& ${INSTALL} -m 755 $$i ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib && install_name_tool -id ${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$$i'
++                        INSTALL_LIB='&& ${INSTALL} -m 755 $$i ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$$i'
+                         UNINSTALL_LIB='&& rm -f ${DESTDIR}${libdir}/$$i ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib'
+                         CLEAN_LIB=''
+                         ;
</ins></span></pre></div>
<a id="trunkdportsmultimediaaudaciouspluginsPortfile"></a>
<div class="addfile"><h4>Added: trunk/dports/multimedia/audacious-plugins/Portfile (0 => 121029)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/multimedia/audacious-plugins/Portfile         (rev 0)
+++ trunk/dports/multimedia/audacious-plugins/Portfile        2014-06-14 23:42:28 UTC (rev 121029)
</span><span class="lines">@@ -0,0 +1,335 @@
</span><ins>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name audacious-plugins
+
+# Please keep audacious, audacious-core and audacious-plugins synchronized.
+version 3.5
+revision 0
+
+# FIXME: probably more licenses involved here...
+license BSD GPL-2+
+categories multimedia
+platforms darwin
+maintainers ionic.de:ionic
+homepage http://www.audacious-media-player.org/
+description Adds I/O, audio decoding, audio transforming and UI plugins.
+long_description This ports bundles most of the functionality for audacious. \
+ ${description}
+
+# Maintainer-only helper for testing changes quickly and easily.
+#fetch.type git
+#git.url git://github.com/Ionic/audacious-plugins
+#git.branch ${name}-${version}-buildfix
+
+master_sites http://distfiles.audacious-media-player.org
+use_bzip2 yes
+checksums rmd160 e04f24b7e67fe592ca8ad54d7ad507c0a16b0f09 \
+ sha256 11bc39e5e386b218db62122411de15363cd5795f2e86ea7989d10d640f2dd4d2
+
+patchfiles patch-buildsys.diff \
+ patch-configure.ac-select-libsdl.diff
+
+depends_build path:bin/pkg-config:pkgconfig \
+ path:bin/aclocal:automake \
+ path:bin/autom4te:autoconf
+
+depends_lib port:audacious-core \
+ port:gettext\
+ port:libxml2 \
+ path:lib/pkgconfig/glib-2.0.pc:glib2 \
+ path:lib/pkgconfig/gtk-3.0.pc:gtk3 \
+ path:lib/pkgconfig/gdk-x11-3.0.pc:gtk3 \
+ port:neon \
+
+depends_run port:unzip
+
+# Note: rpath is required on Mac OS X.
+# sdlout is the only working audio output plugin at the moment on OS X.
+# Try PulseAudio at your own risk.
+configure.args --enable-nls \
+ --enable-xsf \
+ --enable-psf \
+ --enable-hotkey \
+ --enable-songchange \
+ --enable-statusicon \
+ --enable-neon \
+ --enable-filewriter \
+ --enable-rpath \
+ --enable-gtkui \
+ --enable-skins \
+ --enable-lyricwiki \
+ --disable-console \
+ --disable-pulse \
+ --disable-sdlout \
+ --disable-mp3 \
+ --disable-gnomeshortcuts \
+ --disable-lirc \
+ --disable-aosd \
+ --disable-aosd-xcomp \
+ --disable-notify \
+ --disable-mpris2 \
+ --disable-adplug \
+ --disable-vorbis \
+ --disable-flacng \
+ --disable-wavpack \
+ --disable-aac \
+ --disable-sndfile \
+ --disable-modplug \
+ --disable-ffaudio \
+ --disable-jack \
+ --disable-sid \
+ --disable-oss4 \
+ --disable-alsa \
+ --disable-sndio \
+ --disable-amidiplug \
+ --disable-cdaudio \
+ --disable-scrobbler2 \
+ --disable-mms \
+ --disable-cue \
+ --disable-filewriter \
+ --disable-filewriter_mp3 \
+ --disable-filewriter_flac \
+ --disable-bs2b \
+ --disable-resample \
+ --disable-speedpitch \
+ --disable-soxr \
+ --disable-glspectrum
+
+default_variants +full +sdl1
+
+use_autoreconf yes
+autoreconf.cmd ./autogen.sh
+autoreconf.args
+
+platform darin {
+ if {[info exists configure.cxx_stdlib] &&
+ ${configure.cxx_stdlib} -ne {} &&
+ ${configure.cxx_stdlib} == "libc++"} {
+ if {${os.major} > 10} {
+ configure.ldflags-append "-mmacosx-version-min=10.7"
+ }
+ else {
+ ui_error "libc++ is only supported on OS X 10.7 and up for this port."
+ error "libc++ supported on >= 10.7 only."
+ }
+ }
+ else {
+ configure.ldflags-append "-mmacosx-version-min=10.5"
+ }
+}
+
+post-destroot {
+ xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 0644 ${worksrcpath}/AUTHORS ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 0644 ${worksrcpath}/COPYING ${destroot}${prefix}/share/doc/${name}
+}
+
+variant console description {Add console game music decoder} {
+ depends_lib-append port:zlib
+ configure.args-replace --disable-console \
+ --enable-console
+}
+
+variant pulseaudio description {Add support for PulseAudio} {
+ depends_lib-append port:pulseaudio
+ configure.args-replace --disable-pulse \
+ --enable-pulse
+}
+
+variant mp3 description {Add support for reading MP3 files} {
+ depends_lib-append port:mpg123
+ configure.args-replace --disable-mp3 \
+ --enable-mp3
+}
+
+variant dbus description {Adds support for GNOME shortcuts and remote control via DBUS} {
+ depends_lib-append path:lib/pkgconfig/dbus-1.pc:dbus \
+ path:lib/pkgconfig/dbus-glib-1.pc:dbus-glib
+ configure.args-replace --disable-gnomeshortcuts \
+ --enable-gnomeshortcuts
+ configure.args-replace --disable-mpris2 \
+ --enable-mpris2
+}
+
+variant lirc description {Adds support for infrared devices via LIRC} {
+ depends_lib-append port:lirc
+ configure.args-replace --disable-lirc \
+ --enable-lirc
+}
+
+variant osd description {Adds OSD support via pangocairo} {
+ depends_lib-append port:xrender
+ configure.args-replace --disable-aosd \
+ --enable-aosd
+}
+
+variant osd_composite requires osd description {Enables X Composite support for OSD} {
+ depends_lib-append port:xorg-libXcomposite
+ configure.args-replace --disable-aosd-xcomp \
+ --enable-aosd-xcomp
+}
+
+variant notifications description {Adds support for notifications via libnotify} {
+ depends_lib-append port:libnotify
+ configure.args-replace --disable-notify \
+ --enable-notify
+}
+
+# libbinio not ported yet
+#variant adplug description {Adds support for various DOS game sounds} {
+# depends_lib-append port:libbinio
+# configure.args-replace --disable-adplug \
+# --enable-adplug
+#}
+
+variant vorbis description {Add support for the OggVorbis audio codec} {
+ depends_lib-append port:libvorbis
+ depends_lib-append port:libogg
+ configure.args-replace --disable-vorbis \
+ --enable-vorbis
+ configure.args-replace --disable-filewriter \
+ --enable-filewriter
+}
+
+variant flac description {Add support for FLAC: Free Lossless Audio Codec} {
+ depends_lib-append port:flac
+ configure.args-replace --disable-filewriter_flac \
+ --enable-filewriter_flac
+ configure.args-replace --disable-flacng \
+ --enable-flacng
+}
+
+variant wavpack description {Add support for wavpack audio compression tools} {
+ depends_lib-append port:wavpack
+ configure.args-replace --disable-wavpack \
+ --enable-wavpack
+}
+
+variant aac description {Add support for MPEG-4 AAC Audio} {
+ depends_lib-append port:faad2
+ configure.args-replace --disable-aac \
+ --enable-aac
+}
+
+variant sndfile description {Add support for libsndfile} {
+ depends_lib-append port:libsndfile
+ configure.args-replace --disable-sndfile \
+ --enable-sndfile
+}
+
+variant modplug description {Add support for MOD audio codec} {
+ depends_lib-append port:libmodplug
+ configure.args-replace --disable-modplug \
+ --enable-modplug
+}
+
+variant ffmpeg conflicts sdl2 description {Add support for decoding audio streams via ffmpeg} {
+ depends_lib-append path:lib/libavcodec.dylib:ffmpeg
+ configure.args-replace --disable-ffaudio \
+ --enable-ffaudio
+}
+
+variant jack description {Add support for the JACK Audio Connection Kit} {
+ depends_lib-append port:jack
+ configure.args-replace --disable-jack \
+ --enable-jack
+}
+
+# libsidplayfp not ported yet
+#variant sid description {Build with SID (Commodore 64 Audio) support} {
+# depends_lib-append port:SIDPLAY
+# configure.args-replace --disable-sid \
+# --enable-sid
+#}
+
+variant midi description {Add MIDI playback support via fluidsynth} {
+ depends_lib-append port:fluidsynth
+ configure.args-replace --disable-amidiplug \
+ --enable-amidiplug
+}
+
+# libcdio-paranoia not ported yet
+#variant cdaudio description {Add support for CDAudio-NG} {
+# depends_lib-append port:libcdio \
+# port:libcddb
+# configure.args-replace --disable-cdaudio \
+# --enable-cdaudio
+#}
+
+variant lastfm description {Add support for last.fm} {
+ depends_lib-append port:curl
+ configure.args-replace --disable-scrobbler2 \
+ --enable-scrobbler2
+}
+
+variant mms description {Add support for Microsoft Media Server (MMS) streams} {
+ depends_lib-append port:libmms
+ configure.args-replace --disable-mms \
+ --enable-mms
+}
+
+variant cue description {Add support for CUE sheets} {
+ depends_lib-append port:libcue
+ configure.args-replace --disable-cue \
+ --enable-cue
+}
+
+variant lame description {Add support for writing MP3 files} {
+ depends_lib-append port:lame
+ configure.args-replace --disable-filewriter_mp3 \
+ --enable-filewriter_mp3
+}
+
+variant transform description {Add support for audio transformation, most notably resampling, pitching and speed control} {
+ depends_lib-append port:libsamplerate
+ # enable, if soxr gets ported
+ # port:libsoxr
+ configure.args-replace --disable-resample \
+ --enable-resample
+ configure.args-replace --disable-speedpitch \
+ --enable-speedpitch
+ #configure.args-replace --disable-soxr \
+ # --enable-soxr
+}
+
+variant opengl description {Add support for spectrum visualization via OpenGL} {
+ depends_lib-append path:lib/libGL.dylib:mesa
+ configure.args-replace --disable-glspectrum \
+ --enable-glspectrum
+}
+
+variant sdl1 conflicts sdl2 description {Add SDL audio output via libsdl1} {
+ depends_lib-append port:libsdl
+ configure.args-replace --disable-sdlout \
+ --enable-sdlout
+ configure.args-append --with-libsdl=1
+}
+
+# ffmpeg is depending and using libsdl1. Loading both the ffmpeg and sdlout plugins
+# (when compiled with libsdl2) will hence lead to undefined behavior, as both
+# libsdl1 and libsdl2 expose functions with the same name.
+variant sdl2 conflicts sdl1 ffmpeg description {Add SDL audio output via libsdl2} {
+ depends_lib-append port:libsdl2
+ configure.args-replace --disable-sdlout \
+ --enable-sdlout
+ configure.args-append --with-libsdl=2
+}
+
+variant full requires console mp3 dbus lirc osd osd_composite notifications \
+ vorbis flac wavpack aac sndfile modplug midi lastfm mms \
+ cue lame transform opengl \
+ description {Build all plugins, except additional sound output plugins and potentially conflicting variants} {}
+
+if {[variant_isset jack]} {
+ notes "*** You have selected the JACK audio output plugin.
+*** To use this plugin, jackd needs to be started manually.
+*** The plugin is known to have issues leading to crackling sound output.
+*** Please don't report bugs against this plugin."
+}
+
+livecheck.type regex
+livecheck.url ${master_sites}
+livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
</ins><span class="cx">Property changes on: trunk/dports/multimedia/audacious-plugins/Portfile
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnkeywords"></a>
<div class="addfile"><h4>Added: svn:keywords</h4></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<a id="trunkdportsmultimediaaudaciouspluginsfilespatchbuildsysdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/multimedia/audacious-plugins/files/patch-buildsys.diff (0 => 121029)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/multimedia/audacious-plugins/files/patch-buildsys.diff         (rev 0)
+++ trunk/dports/multimedia/audacious-plugins/files/patch-buildsys.diff        2014-06-14 23:42:28 UTC (rev 121029)
</span><span class="lines">@@ -0,0 +1,29 @@
</span><ins>+--- buildsys.mk.in.old        2014-05-10 20:05:19.000000000 +0200
++++ buildsys.mk.in        2014-05-10 20:08:27.000000000 +0200
+@@ -107,7 +107,6 @@
+
+ MO_FILES = ${LOCALES:.po=.mo}
+
+-.SILENT:
+ .SUFFIXES:
+ .SUFFIXES: .beam .c .c.dep .cc .cc.dep .class .cxx .cxx.dep .d .erl .lib.o .java .mo .m .m.dep .mm .mm.dep .o .plugin.o .po .py .pyc .rc .S .S.dep .xpm
+ .PHONY: all subdirs pre-depend depend install install-extra uninstall uninstall-extra clean distclean locales ${SUBDIRS}
+--- m4/buildsys.m4.old        2014-05-10 20:05:19.000000000 +0200
++++ m4/buildsys.m4        2014-05-10 20:08:17.000000000 +0200
+@@ -109,14 +109,14 @@
+                 darwin*)
+                         AC_MSG_RESULT(Darwin)
+                         LIB_CFLAGS='-fPIC -DPIC'
+-                        LIB_LDFLAGS='-dynamiclib -current_version ${LIB_MAJOR}.${LIB_MINOR} -compatibility_version ${LIB_MAJOR}'
++                        LIB_LDFLAGS='-dynamiclib -current_version ${LIB_MAJOR}.${LIB_MINOR} -compatibility_version ${LIB_MAJOR} -Wl,-install_name,${libdir}/$''@'
+                         LIB_PREFIX='lib'
+                         LIB_SUFFIX='.dylib'
+                         LDFLAGS_RPATH='-Wl,-rpath,${libdir}'
+                         PLUGIN_CFLAGS='-fPIC -DPIC'
+                         PLUGIN_LDFLAGS='-bundle -undefined dynamic_lookup'
+                         PLUGIN_SUFFIX='.bundle'
+-                        INSTALL_LIB='&& ${INSTALL} -m 755 $$i ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib && install_name_tool -id ${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$$i'
++                        INSTALL_LIB='&& ${INSTALL} -m 755 $$i ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$$i'
+                         UNINSTALL_LIB='&& rm -f ${DESTDIR}${libdir}/$$i ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib'
+                         CLEAN_LIB=''
+                         ;
</ins></span></pre></div>
<a id="trunkdportsmultimediaaudaciouspluginsfilespatchconfigureacselectlibsdldiff"></a>
<div class="addfile"><h4>Added: trunk/dports/multimedia/audacious-plugins/files/patch-configure.ac-select-libsdl.diff (0 => 121029)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/multimedia/audacious-plugins/files/patch-configure.ac-select-libsdl.diff         (rev 0)
+++ trunk/dports/multimedia/audacious-plugins/files/patch-configure.ac-select-libsdl.diff        2014-06-14 23:42:28 UTC (rev 121029)
</span><span class="lines">@@ -0,0 +1,57 @@
</span><ins>+--- configure.ac.old
++++ configure.ac
+@@ -603,17 +603,47 @@ AC_ARG_ENABLE(sdlout,
+ [AS_HELP_STRING([--disable-sdlout], [disable SDL output plugin])],
+ [enable_sdlout=$enableval], [enable_sdlout=auto])
+
++if test "x$enable_sdlout" != "xno"; then
++ AC_ARG_WITH(libsdl,
++ [AS_HELP_STRING([--with-libsdl=VER], [select which SDL version to use. Set VER to 1 for libsdl1, to 2 for libsdl2. @<:@default=check@:>@])],
++ [case "x$withval" in
++ x1) ;;
++ x2) ;;
++ x*) withval=check;;
++ esac
++ with_libsdl=$withval], [with_libsdl=check])
++fi
++
++libsdl1_min="1.2.11";
++libsdl2_min="2.0";
++
+ have_sdlout=no
+ if test "x$enable_sdlout" != "xno"; then
+- PKG_CHECK_MODULES([SDL], [sdl2 >= 2.0],
+- [have_sdlout=yes
+- OUTPUT_PLUGINS="$OUTPUT_PLUGINS sdlout"],
+- [PKG_CHECK_MODULES([SDL], [sdl >= 1.2.11],
++ if test "x$with_libsdl" = "xcheck"; then
++ PKG_CHECK_MODULES([SDL], [sdl2 >= $libsdl2_min],
+ [have_sdlout=yes
+ OUTPUT_PLUGINS="$OUTPUT_PLUGINS sdlout"],
+- [if test "x$enable_sdlout" = "xyes"; then
+- AC_MSG_ERROR([Cannot find SDL development files (ver >= 1.2.11), but compilation of SDL output plugin has been explicitly requested; please install SDL dev files and run configure again])
+- fi])])
++ [PKG_CHECK_MODULES([SDL], [sdl >= $libsdl1_min],
++ [have_sdlout=yes
++ OUTPUT_PLUGINS="$OUTPUT_PLUGINS sdlout"],
++ [if test "x$enable_sdlout" = "xyes"; then
++ AC_MSG_ERROR([Cannot find SDL development files (ver >= $libsdl1_min), but compilation of SDL output plugin has been explicitly requested; please install SDL dev files and run configure again])
++ fi])])
++ elif test "x$with_libsdl" = "x1"; then
++ PKG_CHECK_MODULES([SDL], [sdl >= $libsdl1_min],
++ [have_sdlout=yes
++ OUTPUT_PLUGINS="$OUTPUT_PLUGINS sdlout"],
++ [if test "x$enable_sdlout" = "xyes"; then
++ AC_MSG_ERROR([Cannot find SDL1 development files (ver >= $libsdl1_min), but compilation of SDL output plugin has been explicitly requested; please install SDL1 dev files and run configure again])
++ fi])
++ elif test "x$with_libsdl" = "x2"; then
++ PKG_CHECK_MODULES([SDL], [sdl2 >= $libsdl2_min],
++ [have_sdlout=yes
++ OUTPUT_PLUGINS="$OUTPUT_PLUGINS sdlout"],
++ [if test "x$enable_sdlout" = "xyes"; then
++ AC_MSG_ERROR([Cannot find SDL2 development files (ver >= $libsdl2_min), but compilation of SDL output plugin has been explicitly requested; please install SDL2 dev files and run configure again])
++ fi])
++ fi
+ fi
+
+ dnl *** sndio output
</ins></span></pre>
</div>
</div>
</body>
</html>