aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/audacious-plugins
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2006-04-01 00:10:03 +0800
committernovel <novel@FreeBSD.org>2006-04-01 00:10:03 +0800
commit40a95d9408676888fbf9a681a5549acadb39bdec (patch)
tree6694085b7dff9fd19f24743018e80d3a553670f5 /multimedia/audacious-plugins
parente9bb9a5d05dc9df7570b2f7fca4218e909cd8bea (diff)
downloadfreebsd-ports-gnome-40a95d9408676888fbf9a681a5549acadb39bdec.tar.gz
freebsd-ports-gnome-40a95d9408676888fbf9a681a5549acadb39bdec.tar.zst
freebsd-ports-gnome-40a95d9408676888fbf9a681a5549acadb39bdec.zip
- Improve plugins installation handling
- Disable broken flac plugin - Mark BROKEN on 4.x [1] - Minor clean-ups - Bump PORTREVISION PR: 94595 Submitted by: maintainer Reported by: David Le Brun <david@dyn-ns.net> pointyhat via kris [1]
Diffstat (limited to 'multimedia/audacious-plugins')
-rw-r--r--multimedia/audacious-plugins/Makefile25
-rw-r--r--multimedia/audacious-plugins/pkg-plist2
2 files changed, 21 insertions, 6 deletions
diff --git a/multimedia/audacious-plugins/Makefile b/multimedia/audacious-plugins/Makefile
index 50e90a5283ae..7dba44d3d990 100644
--- a/multimedia/audacious-plugins/Makefile
+++ b/multimedia/audacious-plugins/Makefile
@@ -7,6 +7,7 @@
PORTNAME= audacious
PORTVERSION= 0.2.2
+PORTREVISION= 1
CATEGORIES= multimedia audio
MASTER_SITES= http://audacious-media-player.org/release/ \
${MASTER_SITE_LOCAL}
@@ -19,13 +20,11 @@ COMMENT= A media player based on BMP and XMMS
LIB_DEPENDS= sndfile:${PORTSDIR}/audio/libsndfile \
musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz \
- curl.3:${PORTSDIR}/ftp/curl \
- FLAC:${PORTSDIR}/audio/flac
+ curl.3:${PORTSDIR}/ftp/curl
USE_GNOME= gtk20 libglade2
-WANT_GNOME= yes
+USE_GETTEXT= yes
USE_X_PREFIX= yes
-USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
INSTALLS_SHLIB= yes
@@ -34,18 +33,21 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
INPUT_PLUGINS="${INPUT_PLUGINS}" \
OUTPUT_PLUGINS="${OUTPUT_PLUGINS}" \
VISUALIZATION_PLUGINS="${VISUALIZATION_PLUGINS}"
+CONFIGURE_ARGS= --disable-jack --disable-flc --disable-adplug \
+ --disable-lirc --disable-alsa --disable-amidiplug
MAN1= audacious.1
PORTDOCS= README AUTHORS ChangeLog NEWS
INPUT_PLUGINS= cdaudio mpg123 wav tonegen wma console \
- sexypsf aac timidity flac
+ sexypsf aac timidity
OUTPUT_PLUGINS= OSS disk_writer
VISUALIZATION_PLUGINS= blur_scope
OPTIONS= VORBIS "Enable Ogg Vorbis input" on \
MODPLUG "Enable modplug input" off \
+ SID "Enable sid input" off \
MPC "Enable mpc input" off \
ESOUND "Enable Esound output" off \
ID3V2 "Enable id3v2 editing" off \
@@ -55,6 +57,10 @@ OPTIONS= VORBIS "Enable Ogg Vorbis input" on \
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 500000
+BROKEN="Does not build"
+.endif
+
.if !defined(WITHOUT_VORBIS)
LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis
INPUT_PLUGINS+= vorbis
@@ -73,6 +79,15 @@ PLIST_SUB+= MODPLUG="@comment "
CONFIGURE_ARGS+= --disable-modplug
.endif
+.if !defined(WITHOUT_SID)
+INPUT_PLUGINS+= sid
+PLIST_SUB+= SIDPLUGIN=""
+LIB_DEPENDS+= sidplay.1:${PORTSDIR}/audio/libsidplay
+.else
+PLIST_SUB+= SIDPLUGIN="@comment "
+CONFIGURE_ARGS+= --disable-sid
+.endif
+
.if !defined(WITHOUT_MPC)
INPUT_PLUGINS+= musepack
PLIST_SUB+= MPCPLUGIN=""
diff --git a/multimedia/audacious-plugins/pkg-plist b/multimedia/audacious-plugins/pkg-plist
index 6cc7984f3318..80a157f147c2 100644
--- a/multimedia/audacious-plugins/pkg-plist
+++ b/multimedia/audacious-plugins/pkg-plist
@@ -23,9 +23,9 @@ lib/audacious/Input/libtonegen.so
lib/audacious/Input/libaac.so
lib/audacious/Input/libtimidity.so
%%VORBISPLUGIN%%lib/audacious/Input/libvorbis.so
-lib/audacious/Input/libflac.so
%%MODPLUG%%lib/audacious/Input/libmodplug.so
%%MPCPLUGIN%%lib/audacious/Input/libmpc.so
+%%SIDPLUGIN%%lib/audacious/Input/libsid.so
lib/audacious/Input/libwav.so
lib/audacious/Input/libwma.so
lib/audacious/Output/libOSS.so