summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorwiz <wiz>2008-10-20 09:32:19 +0000
committerwiz <wiz>2008-10-20 09:32:19 +0000
commit1f2f822198ee9503eb14b7ba30f31a5893377df0 (patch)
treea2c8b24877bbf85e459d0a2e9b086c0effb06a72 /audio
parent261fe61b9eb70af5e1cdf0cbd92b1c342fc56588 (diff)
downloadpkgsrc-1f2f822198ee9503eb14b7ba30f31a5893377df0.tar.gz
Initial import of wip/audacious-plugins-1.5.0, packaged by Johann Franz.
These are the basic plugins needed for the input, output, visualization, and effects of the Audacious media player.
Diffstat (limited to 'audio')
-rw-r--r--audio/audacious-plugins/DESCR2
-rw-r--r--audio/audacious-plugins/Makefile88
-rw-r--r--audio/audacious-plugins/PLIST111
-rw-r--r--audio/audacious-plugins/distinfo6
-rw-r--r--audio/audacious-plugins/options.mk58
-rw-r--r--audio/audacious-plugins/patches/patch-aa13
6 files changed, 278 insertions, 0 deletions
diff --git a/audio/audacious-plugins/DESCR b/audio/audacious-plugins/DESCR
new file mode 100644
index 00000000000..b51120e5b64
--- /dev/null
+++ b/audio/audacious-plugins/DESCR
@@ -0,0 +1,2 @@
+These are the basic plugins needed for the input, output, visualization,
+and effects of the Audacious media player.
diff --git a/audio/audacious-plugins/Makefile b/audio/audacious-plugins/Makefile
new file mode 100644
index 00000000000..8077aceac64
--- /dev/null
+++ b/audio/audacious-plugins/Makefile
@@ -0,0 +1,88 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/10/20 09:32:19 wiz Exp $
+#
+
+DISTNAME= audacious-plugins-1.5.0
+CATEGORIES= audio
+MASTER_SITES= http://distfiles.atheme.org/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= jfranz@bsdprojects.net
+HOMEPAGE= http://audacious-media-player.org/
+COMMENT= Plugins for Audacious media player
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= gmake intltool pkg-config
+USE_LIBTOOL= yes
+
+# This should avoid an error like: libstdc++.so.6: Undefined PLT symbol "_Unwind_GetIP" on NetBSD i386 and maybe amd64, with gcc4 at least.
+# This seems to happen when libstdc++ gets linked in with the plug-ins and the code is not compiled with g++.
+# For a similar problem see http://archive.netbsd.se/?ml=netbsd-java&a=2007-08&m=4912662 :
+LDFLAGS.NetBSD+= -lgcc_s
+
+# From audio/bmp/Makefile:
+# XXX Workaround a crash during shutdown that happens when dlclose(3)ing
+# any open plugin. libstdc++ gets dynamically linked in when the id3lib
+# library is loaded, and is the one causing problems. See PR pkg/26846
+# for more information.
+USE_LANGUAGES= c c++
+LDFLAGS.NetBSD+= -lstdc++ -lm
+
+# cdaudio plugin complains about missing OSS at runtime
+LDFLAGS+= ${LIBOSSAUDIO}
+
+# do not use pkgsrc' flac if it is installed
+CFLAGS+= -I. -I../flacng -Ilibflacng
+
+CONFIGURE_ARGS+= --disable-amidiplug --disable-evdevplug \
+ --disable-coreaudio --disable-projectm \
+ --disable-gnomeshortcuts
+
+.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
+
+.if ${OPSYS} == "NetBSD"
+RAWPART_cmd= /sbin/sysctl -n kern.rawpartition | ${TR} 0-9 a-j
+CONFIGURE_ARGS+= --with-dev-dsp=${DEVOSSSOUND} \
+ --with-cdda-device=/dev/rcd0${RAWPART_cmd:sh} \
+ --with-cdda-dir=/cdrom/
+PLIST_SUBST+= OSS=""
+PLIST_SUBST+= SUN=""
+.elif ${OPSYS} == "FreeBSD"
+PLIST_SUBST+= OSS=""
+PLIST_SUBST+= SUN="@comment "
+.elif ${OPSYS} == "DragonFly"
+PLIST_SUBST+= OSS=""
+PLIST_SUBST+= SUN="@comment "
+.elif ${OPSYS} == "SunOS"
+PLIST_SUBST+= OSS="@comment "
+PLIST_SUBST+= SUN=""
+#.elif ${OPSYS} == "Linux"
+#. include "../../wip/alsa-lib/buildlink3.mk"
+#PKG_SUPPORTED_OPTIONS+= lirc
+#. if !empty(PKG_OPTIONS:Mlirc)
+#CONFIGURE_ARGS+= --enable-lirc
+#. include "../../wip/lirc/buildlink3.mk"
+#. endif
+.endif
+
+.include "../../audio/audacious/buildlink3.mk"
+.include "../../audio/libcddb/buildlink3.mk"
+.include "../../audio/libmad/buildlink3.mk"
+.include "../../audio/libmpcdec/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../audio/libsndfile/buildlink3.mk"
+.include "../../audio/taglib/buildlink3.mk"
+.include "../../audio/wavpack/buildlink3.mk"
+.include "../../audio/lame/buildlink3.mk"
+.include "../../devel/libbinio/buildlink3.mk"
+.include "../../devel/libmtp/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/imlib2/buildlink3.mk"
+.include "../../misc/libcdio/buildlink3.mk"
+.include "../../multimedia/libogg/buildlink3.mk"
+.include "../../net/libmms/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../www/neon/buildlink3.mk"
+.include "../../x11/libXcomposite/buildlink3.mk"
+.include "../../mk/oss.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/audacious-plugins/PLIST b/audio/audacious-plugins/PLIST
new file mode 100644
index 00000000000..63663e5a08f
--- /dev/null
+++ b/audio/audacious-plugins/PLIST
@@ -0,0 +1,111 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/10/20 09:32:19 wiz Exp $
+lib/audacious/Container/m3u.so
+lib/audacious/Container/pls.so
+lib/audacious/Container/xspf.so
+lib/audacious/Effect/audiocompress.so
+lib/audacious/Effect/echo.so
+lib/audacious/Effect/ladspa.so
+lib/audacious/Effect/sndstretch.so
+lib/audacious/Effect/stereo.so
+lib/audacious/Effect/voice_removal.so
+lib/audacious/General/alarm.so
+lib/audacious/General/aosd.so
+lib/audacious/General/hotkey.so
+lib/audacious/General/mtp_up.so
+lib/audacious/General/scrobbler.so
+lib/audacious/General/song_change.so
+lib/audacious/General/statusicon.so
+lib/audacious/Input/aac.so
+lib/audacious/Input/adplug.so
+lib/audacious/Input/alac.so
+lib/audacious/Input/cdaudio-ng.so
+lib/audacious/Input/console.so
+lib/audacious/Input/cuesheet.so
+lib/audacious/Input/demac.so
+lib/audacious/Input/flacng.so
+lib/audacious/Input/madplug.so
+lib/audacious/Input/metronom.so
+lib/audacious/Input/modplug.so
+lib/audacious/Input/musepack.so
+lib/audacious/Input/sexypsf.so
+${SID}lib/audacious/Input/sid.so
+${MIDI}lib/audacious/Input/libtimidity.so
+lib/audacious/Input/sndfile.so
+lib/audacious/Input/tonegen.so
+lib/audacious/Input/tta.so
+lib/audacious/Input/vorbis.so
+lib/audacious/Input/vtx.so
+lib/audacious/Input/wavpack.so
+lib/audacious/Input/wma.so
+lib/audacious/Output/OSS.so
+lib/audacious/Output/filewriter.so
+${ESD}lib/audacious/Output/ESD.so
+${JACK}lib/audacious/Output/libjackout.so
+lib/audacious/Output/null.so
+${PULSE}lib/audacious/Output/libpulse_audio.so
+${SUN}lib/audacious/Output/sun.so
+lib/audacious/Transport/lastfm.so
+lib/audacious/Transport/mms.so
+lib/audacious/Transport/neon.so
+lib/audacious/Transport/stdio.so
+lib/audacious/Visualization/blur_scope.so
+lib/audacious/Visualization/paranormal.so
+lib/audacious/Visualization/rocklight.so
+lib/audacious/Visualization/rootvis.so
+lib/audacious/Visualization/spectrum.so
+share/audacious/images/audioscrobbler.png
+share/audacious/images/audioscrobbler_badge.png
+share/audacious/paranormal/Presets/aerdan_-_bloody_vortex.pnv
+share/audacious/paranormal/Presets/aerdan_-_cloudscape.pnv
+share/audacious/paranormal/Presets/aerdan_-_cloudscape2.pnv
+share/audacious/paranormal/Presets/aerdan_-_dancing_snow.pnv
+share/audacious/paranormal/Presets/aerdan_-_portal_to_hell.pnv
+share/audacious/paranormal/Presets/aerdan_-_telestatic.pnv
+share/audacious/paranormal/Presets/nazca_-_smoke_on_the_water.pnv
+share/audacious/paranormal/Presets/nenolod_-_3d_wave.pnv
+share/audacious/paranormal/Presets/nenolod_-_aquamarine_dream.pnv
+share/audacious/paranormal/Presets/nenolod_-_beatscope.pnv
+share/audacious/paranormal/Presets/nenolod_-_branchscope.pnv
+share/audacious/paranormal/Presets/nenolod_-_bumblebees.pnv
+share/audacious/paranormal/Presets/nenolod_-_cubism.pnv
+share/audacious/paranormal/Presets/nenolod_-_flying_into_pastels.pnv
+share/audacious/paranormal/Presets/nenolod_-_interlaced.pnv
+share/audacious/paranormal/Presets/nenolod_-_kaliedoscope.pnv
+share/audacious/paranormal/Presets/nenolod_-_phosphor_flame.pnv
+share/audacious/paranormal/Presets/nenolod_-_psuedo_starfield.pnv
+share/audacious/paranormal/Presets/nenolod_-_purple_flower.pnv
+share/audacious/paranormal/Presets/nenolod_-_quakingscope.pnv
+share/audacious/paranormal/Presets/nenolod_-_quasar.pnv
+share/audacious/paranormal/Presets/nenolod_-_retroscope.pnv
+share/audacious/paranormal/Presets/nenolod_-_rush.pnv
+share/audacious/paranormal/Presets/nenolod_-_scopefun.pnv
+share/audacious/paranormal/Presets/nenolod_-_simple_yet_pretty.pnv
+share/audacious/paranormal/Presets/nenolod_-_smoke.pnv
+share/audacious/paranormal/Presets/nenolod_-_swarm.pnv
+share/audacious/paranormal/Presets/nenolod_-_technicolour_nightmare.pnv
+share/audacious/paranormal/Presets/nenolod_-_transform_fun.pnv
+share/audacious/paranormal/Presets/nenolod_-_trapped.pnv
+share/audacious/paranormal/Presets/nenolod_-_tunnel_vision.pnv
+share/audacious/paranormal/Presets/nenolod_-_value_replace_fun.pnv
+share/audacious/paranormal/Presets/nenolod_-_worms.pnv
+share/audacious/paranormal/Presets/ticpu_-_colored_beat-o-scope.pnv
+share/locale/ca/LC_MESSAGES/audacious-plugins.mo
+share/locale/cs/LC_MESSAGES/audacious-plugins.mo
+share/locale/cy/LC_MESSAGES/audacious-plugins.mo
+share/locale/de/LC_MESSAGES/audacious-plugins.mo
+share/locale/et/LC_MESSAGES/audacious-plugins.mo
+share/locale/fr/LC_MESSAGES/audacious-plugins.mo
+share/locale/ja/LC_MESSAGES/audacious-plugins.mo
+share/locale/ro/LC_MESSAGES/audacious-plugins.mo
+share/locale/ru/LC_MESSAGES/audacious-plugins.mo
+share/locale/sk/LC_MESSAGES/audacious-plugins.mo
+share/locale/tr/LC_MESSAGES/audacious-plugins.mo
+@dirrm share/audacious/paranormal/Presets
+@dirrm share/audacious/paranormal
+@dirrm lib/audacious/Visualization
+@dirrm lib/audacious/Transport
+@dirrm lib/audacious/Output
+@dirrm lib/audacious/Input
+@dirrm lib/audacious/General
+@dirrm lib/audacious/Effect
+@dirrm lib/audacious/Container
diff --git a/audio/audacious-plugins/distinfo b/audio/audacious-plugins/distinfo
new file mode 100644
index 00000000000..24de290a92b
--- /dev/null
+++ b/audio/audacious-plugins/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/10/20 09:32:19 wiz Exp $
+
+SHA1 (audacious-plugins-1.5.0.tgz) = 7cd157b0663674e6c271cb0353fb91e068f91f7e
+RMD160 (audacious-plugins-1.5.0.tgz) = 0a44cdd99819b9769b5b260dc41d546278a64039
+Size (audacious-plugins-1.5.0.tgz) = 2961507 bytes
+SHA1 (patch-aa) = 40620dde9c06925bf5cb9a0370eeaa55ec3b1f4f
diff --git a/audio/audacious-plugins/options.mk b/audio/audacious-plugins/options.mk
new file mode 100644
index 00000000000..6e79c4f21fa
--- /dev/null
+++ b/audio/audacious-plugins/options.mk
@@ -0,0 +1,58 @@
+# $NetBSD: options.mk,v 1.1.1.1 2008/10/20 09:32:19 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.audacious-plugins
+PKG_SUPPORTED_OPTIONS= arts esound inet6 jack midi # pulse sid
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Msid)
+. include "../../wip/resid-builder/buildlink3.mk"
+PLIST_SUBST+= SID=""
+.else
+CONFIGURE_ARGS+= --disable-sid
+PLIST_SUBST+= SID="@comment "
+.endif
+
+.if !empty(PKG_OPTIONS:Marts)
+. include "../../audio/arts/buildlink3.mk"
+PLIST_SUBST+= ARTS=""
+.else
+CONFIGURE_ARGS+= --disable-arts
+PLIST_SUBST+= ARTS="@comment "
+.endif
+
+.if !empty(PKG_OPTIONS:Mesound)
+. include "../../audio/esound/buildlink3.mk"
+PLIST_SUBST+= ESD=""
+.else
+CONFIGURE_ARGS+= --disable-esd
+PLIST_SUBST+= ESD="@comment "
+.endif
+
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
+
+.if !empty(PKG_OPTIONS:Mjack)
+. include "../../audio/jack/buildlink3.mk"
+PLIST_SUBST+= JACK=""
+.else
+CONFIGURE_ARGS+= --disable-jack
+PLIST_SUBST+= JACK="@comment "
+.endif
+
+.if !empty(PKG_OPTIONS:Mmidi)
+BUILD_DEPENDS+= timidity>=0:../../audio/timidity
+PLIST_SUBST+= MIDI=""
+.else
+CONFIGURE_ARGS+= --disable-timidity
+PLIST_SUBST+= MIDI="@comment "
+.endif
+
+.if !empty(PKG_OPTIONS:Mpulse)
+. include "../../wip/pulseaudio/buildlink3.mk"
+PLIST_SUBST+= PULSE=""
+.else
+CONFIGURE_ARGS+= --disable-pulse
+PLIST_SUBST+= PULSE="@comment "
+.endif
diff --git a/audio/audacious-plugins/patches/patch-aa b/audio/audacious-plugins/patches/patch-aa
new file mode 100644
index 00000000000..4c99218a5a3
--- /dev/null
+++ b/audio/audacious-plugins/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/10/20 09:32:19 wiz Exp $
+
+--- src/mtp_up/mtp.c.orig 2008-03-13 22:22:36.000000000 +0000
++++ src/mtp_up/mtp.c
+@@ -199,7 +199,7 @@ gint upload_file(Tuple *from_tuple)
+ #if DEBUG
+ g_print("Uploading track '%s'\n",filename);
+ #endif
+- ret = LIBMTP_Send_Track_From_File(mtp_device, filename , gentrack, NULL , NULL, parent_id);
++ ret = LIBMTP_Send_Track_From_File(mtp_device, filename , gentrack, NULL , NULL);
+ LIBMTP_destroy_track_t(gentrack);
+ if (ret == 0)
+ g_print("Track upload finished!\n");