diff --git a/audio/audacious-plugins/Makefile b/audio/audacious-plugins/Makefile new file mode 100644 index 00000000000..87c2440eb41 --- /dev/null +++ b/audio/audacious-plugins/Makefile @@ -0,0 +1,77 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2006/12/27 16:49:25 steven Exp $ + +SHARED_ONLY= Yes + +COMMENT-main= "input and output plugins for audacious" +COMMENT-arts= "arts helper and plugin for audacious" + +V= 1.2.5 +DISTNAME= audacious-plugins-$V +PKGNAME-main= ${DISTNAME} +PKGNAME-arts= audacious-arts-$V +CATEGORIES= audio multimedia + +MAINTAINER= Vlad Glagolev + +HOMEPAGE= http://audacious-media-player.org/ + +# GPL +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes + +MASTER_SITES= ${HOMEPAGE}release/ +EXTRACT_SUFX= .tgz + +MULTI_PACKAGES= -main + +PSEUDO_FLAVORS= no_arts +FLAVOR?= + +.if ${FLAVOR:Mno_arts} +CONFIGURE_ARGS+=--disable-arts +.else +MULTI_PACKAGES+=-arts +.endif + +USE_X11= Yes +NO_REGRESS= Yes + +WANTLIB= X11 Xext Xrender m z fontconfig freetype iconv intl \ + pango-1.0 pangocairo-1.0 pangoft2-1.0 atk-1.0 cairo \ + glib-2.0 gthread-2.0 gmodule-2.0 gobject-2.0 \ + gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 glitz png + +WANTLIB-main= ${WANTLIB} crypto ssl ossaudio stdc++ ogg usbhid xml2 +WANTLIB-arts= ${WANTLIB} c pthread + +BUILD_DEPENDS= ${RUN_DEPENDS-main} + +RUN_DEPENDS-main= :audacious->=1.2:audio/audacious +RUN_DEPENDS-arts= ::audio/audacious-plugins,-main + +LIB_DEPENDS-main= tag.>=6,tag_c.>=1:taglib->=1.4:audio/taglib \ + faad,mp4ff::audio/faad \ + audiofile::devel/libaudiofile \ + curl.>=5::net/curl \ + SDL.>=6::devel/sdl \ + vorbis.>=5,vorbisfile.>=4::audio/libvorbis \ + mpcdec.>=2::audio/libmpcdec \ + FLAC.>=7::audio/flac \ + esd.>=2::audio/esound \ + sndfile.>=1::audio/libsndfile +LIB_DEPENDS-arts= artsc.>=1::x11/kde/arts3 + +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS+= --enable-ipv6 \ + --with-dev-dsp=/dev/audio +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" \ + ac_cv_header_altivec_h=no + +pre-configure: + perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},' \ + ${WRKSRC}/src/aac/src/Makefile + +.include diff --git a/audio/audacious-plugins/distinfo b/audio/audacious-plugins/distinfo new file mode 100644 index 00000000000..a089a1422b2 --- /dev/null +++ b/audio/audacious-plugins/distinfo @@ -0,0 +1,4 @@ +MD5 (audacious-plugins-1.2.5.tgz) = 21d75a35024e81f7c5811baf5c8212e0 +RMD160 (audacious-plugins-1.2.5.tgz) = ce102649e5cf15239bcab5a204d368869dbe851d +SHA1 (audacious-plugins-1.2.5.tgz) = daa5df222e982f1a56115c455c1289b21f48f264 +SIZE (audacious-plugins-1.2.5.tgz) = 2339867 diff --git a/audio/audacious-plugins/patches/patch-configure b/audio/audacious-plugins/patches/patch-configure new file mode 100644 index 00000000000..ebea30c50f4 --- /dev/null +++ b/audio/audacious-plugins/patches/patch-configure @@ -0,0 +1,12 @@ +$OpenBSD: patch-configure,v 1.1.1.1 2006/12/27 16:49:25 steven Exp $ +--- configure.orig Tue Dec 26 12:17:53 2006 ++++ configure Tue Dec 26 12:18:01 2006 +@@ -4242,7 +4242,7 @@ _ACEOF + fi; + + +-INPUT_PLUGINS="tonegen console sexypsf wav cue alac" ++INPUT_PLUGINS="tonegen console sexypsf wav alac" + OUTPUT_PLUGINS="disk_writer" + EFFECT_PLUGINS="audiocompress ladspa voice_removal stereo_plugin echo_plugin" + GENERAL_PLUGINS="song_change alarm" diff --git a/audio/audacious-plugins/patches/patch-mk_init_mk b/audio/audacious-plugins/patches/patch-mk_init_mk new file mode 100644 index 00000000000..0cdbcdd087a --- /dev/null +++ b/audio/audacious-plugins/patches/patch-mk_init_mk @@ -0,0 +1,18 @@ +$OpenBSD: patch-mk_init_mk,v 1.1.1.1 2006/12/27 16:49:25 steven Exp $ +--- mk/init.mk.orig Mon Dec 25 09:36:45 2006 ++++ mk/init.mk Mon Dec 25 09:36:56 2006 +@@ -1,5 +1,5 @@ + # Shut up GNU make +-.SILENT: ++#.SILENT: + + OBJECTIVE_DIRECTORIES = + OBJECTIVE_LIBS = +@@ -16,5 +16,5 @@ SHOW_CFLAGS ?= $(VERBOSE) + LIBDIR = $(libdir) + BINDIR = $(bindir) + INCLUDEDIR = $(pkgincludedir) +-CFLAGS += -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/pkg/xorg/include +-CXXFLAGS += -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/pkg/xorg/include ++CFLAGS += -DHAVE_CONFIG_H ++CXXFLAGS += -DHAVE_CONFIG_H diff --git a/audio/audacious-plugins/patches/patch-src_aac_Makefile b/audio/audacious-plugins/patches/patch-src_aac_Makefile new file mode 100644 index 00000000000..191b3439df3 --- /dev/null +++ b/audio/audacious-plugins/patches/patch-src_aac_Makefile @@ -0,0 +1,11 @@ +$OpenBSD: patch-src_aac_Makefile,v 1.1.1.1 2006/12/27 16:49:25 steven Exp $ +--- src/aac/Makefile.orig Mon Dec 25 10:09:37 2006 ++++ src/aac/Makefile Mon Dec 25 10:10:53 2006 +@@ -1,6 +1,6 @@ + include ../../mk/rules.mk + include ../../mk/init.mk + +-SUBDIRS = mp4ff libfaad2 src ++SUBDIRS = src + + include ../../mk/objective.mk diff --git a/audio/audacious-plugins/patches/patch-src_aac_src_Makefile b/audio/audacious-plugins/patches/patch-src_aac_src_Makefile new file mode 100644 index 00000000000..76b94ef5f55 --- /dev/null +++ b/audio/audacious-plugins/patches/patch-src_aac_src_Makefile @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_aac_src_Makefile,v 1.1.1.1 2006/12/27 16:49:25 steven Exp $ +--- src/aac/src/Makefile.orig Mon Dec 25 10:11:34 2006 ++++ src/aac/src/Makefile Mon Dec 25 10:11:51 2006 +@@ -8,7 +8,7 @@ CFLAGS += $(PICFLAGS) + # override objective make's LIBDIR + LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR) + +-LDFLAGS += ../libfaad2/libfaad.a ../mp4ff/libmp4ff.a -lstdc++ ++LDFLAGS += -L!!LOCALBASE!!/lib -lfaad -lmp4ff -lstdc++ + + SOURCES = libmp4.c mp4_utils.c aac_utils.c tagging_mp4.c + diff --git a/audio/audacious-plugins/patches/patch-src_cdaudio_Makefile b/audio/audacious-plugins/patches/patch-src_cdaudio_Makefile new file mode 100644 index 00000000000..1eb393e8cb0 --- /dev/null +++ b/audio/audacious-plugins/patches/patch-src_cdaudio_Makefile @@ -0,0 +1,10 @@ +$OpenBSD: patch-src_cdaudio_Makefile,v 1.1.1.1 2006/12/27 16:49:25 steven Exp $ +--- src/cdaudio/Makefile.orig Mon Dec 25 10:31:44 2006 ++++ src/cdaudio/Makefile Mon Dec 25 10:31:59 2006 +@@ -10,5 +10,6 @@ SOURCES = cdaudio.c cddb.c cdinfo.c conf + OBJECTS = ${SOURCES:.c=.o} + + CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../intl -I../.. -I../.. ++LDFLAGS += -lossaudio + + include ../../mk/objective.mk diff --git a/audio/audacious-plugins/pkg/DESCR-arts b/audio/audacious-plugins/pkg/DESCR-arts new file mode 100644 index 00000000000..0c4f100ae01 --- /dev/null +++ b/audio/audacious-plugins/pkg/DESCR-arts @@ -0,0 +1 @@ +Arts helper and plugin for Audacious. diff --git a/audio/audacious-plugins/pkg/DESCR-main b/audio/audacious-plugins/pkg/DESCR-main new file mode 100644 index 00000000000..109a3a94a86 --- /dev/null +++ b/audio/audacious-plugins/pkg/DESCR-main @@ -0,0 +1,2 @@ +Audacious Plugins are the input, output, visualization and effect plugins +needed for Audacious. diff --git a/audio/audacious-plugins/pkg/PLIST-arts b/audio/audacious-plugins/pkg/PLIST-arts new file mode 100644 index 00000000000..bd5f1f0b31d --- /dev/null +++ b/audio/audacious-plugins/pkg/PLIST-arts @@ -0,0 +1,3 @@ +@comment $OpenBSD: PLIST-arts,v 1.1.1.1 2006/12/27 16:49:25 steven Exp $ +bin/audacious-arts-helper +lib/audacious/Output/libarts.so diff --git a/audio/audacious-plugins/pkg/PLIST-main b/audio/audacious-plugins/pkg/PLIST-main new file mode 100644 index 00000000000..8c9fe884e25 --- /dev/null +++ b/audio/audacious-plugins/pkg/PLIST-main @@ -0,0 +1,70 @@ +@comment $OpenBSD: PLIST-main,v 1.1.1.1 2006/12/27 16:49:25 steven Exp $ +include/audacious-plugins/ +lib/audacious/ +lib/audacious/Container/ +lib/audacious/Container/libm3u.so +lib/audacious/Container/libpls.so +lib/audacious/Container/libxspf.so +lib/audacious/Effect/ +lib/audacious/Effect/libaudiocompress.so +lib/audacious/Effect/libecho.so +lib/audacious/Effect/libladspa.so +lib/audacious/Effect/libstereo.so +lib/audacious/Effect/libvoice_removal.so +lib/audacious/General/ +lib/audacious/General/libalarm.so +lib/audacious/General/libscrobbler.so +lib/audacious/General/libsong_change.so +lib/audacious/Input/ +lib/audacious/Input/libaac.so +lib/audacious/Input/libalac.so +lib/audacious/Input/libcdaudio.so +lib/audacious/Input/libconsole.so +lib/audacious/Input/libflac.so +lib/audacious/Input/libmodplug.so +lib/audacious/Input/libmpc.so +lib/audacious/Input/libmpg123.so +lib/audacious/Input/libsexypsf.so +lib/audacious/Input/libtimidity.so +lib/audacious/Input/libtonegen.so +lib/audacious/Input/libvorbis.so +lib/audacious/Input/libwav.so +lib/audacious/Input/libwma.so +lib/audacious/Output/ +lib/audacious/Output/libESD.so +lib/audacious/Output/libOSS.so +lib/audacious/Output/libdisk_writer.so +lib/audacious/Output/libnull.so +lib/audacious/Output/libsun.so +lib/audacious/Visualization/ +lib/audacious/Visualization/libbscope.so +lib/audacious/Visualization/libparanormal.so +lib/audacious/Visualization/libspectrum.so +share/audacious-plugins/ +share/audacious-plugins/paranormal/ +share/audacious-plugins/paranormal/Presets/ +share/audacious-plugins/paranormal/Presets/aerdan_-_bloody_vortex.pnv +share/audacious-plugins/paranormal/Presets/aerdan_-_cloudscape.pnv +share/audacious-plugins/paranormal/Presets/aerdan_-_cloudscape2.pnv +share/audacious-plugins/paranormal/Presets/aerdan_-_dancing_snow.pnv +share/audacious-plugins/paranormal/Presets/aerdan_-_portal_to_hell.pnv +share/audacious-plugins/paranormal/Presets/aerdan_-_telestatic.pnv +share/audacious-plugins/paranormal/Presets/nenolod_-_beatscope.pnv +share/audacious-plugins/paranormal/Presets/nenolod_-_branchscope.pnv +share/audacious-plugins/paranormal/Presets/nenolod_-_bumblebees.pnv +share/audacious-plugins/paranormal/Presets/nenolod_-_cubism.pnv +share/audacious-plugins/paranormal/Presets/nenolod_-_flying_into_pastels.pnv +share/audacious-plugins/paranormal/Presets/nenolod_-_interlaced.pnv +share/audacious-plugins/paranormal/Presets/nenolod_-_phosphor_flame.pnv +share/audacious-plugins/paranormal/Presets/nenolod_-_psuedo_starfield.pnv +share/audacious-plugins/paranormal/Presets/nenolod_-_purple_flower.pnv +share/audacious-plugins/paranormal/Presets/nenolod_-_quakingscope.pnv +share/audacious-plugins/paranormal/Presets/nenolod_-_retroscope.pnv +share/audacious-plugins/paranormal/Presets/nenolod_-_rush.pnv +share/audacious-plugins/paranormal/Presets/nenolod_-_smoke.pnv +share/audacious-plugins/paranormal/Presets/nenolod_-_swarm.pnv +share/audacious-plugins/paranormal/Presets/nenolod_-_technicolour_nightmare.pnv +share/audacious-plugins/paranormal/Presets/nenolod_-_value_replace_fun.pnv +share/audacious-plugins/paranormal/Presets/nenolod_-_worms.pnv +share/audacious/images/audioscrobbler.png +share/audacious/images/audioscrobbler_badge.png