[121029] trunk/dports/multimedia
mf2k at macports.org
mf2k at macports.org
Sat Jun 14 16:42:28 PDT 2014
Revision: 121029
https://trac.macports.org/changeset/121029
Author: mf2k at macports.org
Date: 2014-06-14 16:42:28 -0700 (Sat, 14 Jun 2014)
Log Message:
-----------
audacious audacious-core audacious-plugins: New ports. (#25260)
Added Paths:
-----------
trunk/dports/multimedia/audacious/
trunk/dports/multimedia/audacious/Portfile
trunk/dports/multimedia/audacious-core/
trunk/dports/multimedia/audacious-core/Portfile
trunk/dports/multimedia/audacious-core/files/
trunk/dports/multimedia/audacious-core/files/patch-buildsys.diff
trunk/dports/multimedia/audacious-plugins/
trunk/dports/multimedia/audacious-plugins/Portfile
trunk/dports/multimedia/audacious-plugins/files/
trunk/dports/multimedia/audacious-plugins/files/patch-buildsys.diff
trunk/dports/multimedia/audacious-plugins/files/patch-configure.ac-select-libsdl.diff
Added: trunk/dports/multimedia/audacious/Portfile
===================================================================
--- trunk/dports/multimedia/audacious/Portfile (rev 0)
+++ trunk/dports/multimedia/audacious/Portfile 2014-06-14 23:42:28 UTC (rev 121029)
@@ -0,0 +1,42 @@
+# -*- 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
Property changes on: trunk/dports/multimedia/audacious/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/multimedia/audacious-core/Portfile
===================================================================
--- trunk/dports/multimedia/audacious-core/Portfile (rev 0)
+++ trunk/dports/multimedia/audacious-core/Portfile 2014-06-14 23:42:28 UTC (rev 121029)
@@ -0,0 +1,91 @@
+# -*- 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}"
Property changes on: trunk/dports/multimedia/audacious-core/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/multimedia/audacious-core/files/patch-buildsys.diff
===================================================================
--- 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)
@@ -0,0 +1,29 @@
+--- 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=''
+ ;;
Added: trunk/dports/multimedia/audacious-plugins/Portfile
===================================================================
--- trunk/dports/multimedia/audacious-plugins/Portfile (rev 0)
+++ trunk/dports/multimedia/audacious-plugins/Portfile 2014-06-14 23:42:28 UTC (rev 121029)
@@ -0,0 +1,335 @@
+# -*- 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}"
Property changes on: trunk/dports/multimedia/audacious-plugins/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/multimedia/audacious-plugins/files/patch-buildsys.diff
===================================================================
--- 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)
@@ -0,0 +1,29 @@
+--- 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=''
+ ;;
Added: trunk/dports/multimedia/audacious-plugins/files/patch-configure.ac-select-libsdl.diff
===================================================================
--- 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)
@@ -0,0 +1,57 @@
+--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140614/7a65527d/attachment-0001.html>
More information about the macports-changes
mailing list