openbsd-ports/audio/audacious-plugins/Makefile
dcoppa 25cee56417 Various fixes following audacious' update.
- For audacious:

devel/mcs is no longer a dependency

"--disable-sse2" configure flag no longer exists

libexecinfo is useless (backtrace() isn't used anywhere)

fix libpthread linkage ("-lpthread" -> "-pthread")

fix WANTLIB

- For audacious-plugins:

zap jack subpackage, since now Jack2>=1.9.7 is required

remove configure flags that no longer exist

do not pick hidden dependencies up if they're installed

fix libpthread linkage ("-lpthread" -> "-pthread")

fix configure failing to correctly detect required libraries due
to undefined references (wrong linking)

pass "--disable-ffaudio" to configure since it wants a ffmpeg newer
than the one we have

fix WANTLIB and CONFIGURE_ENV

- For xmp:

zap audacious subpackage: it's broken beyond any repair with audacious-3.2

OK ajacoutot@
2012-03-21 16:13:25 +00:00

89 lines
2.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.41 2012/03/21 16:13:25 dcoppa Exp $
SHARED_ONLY = Yes
COMMENT = input and output plugins for audacious
V = 3.2
DISTNAME = audacious-plugins-$V
REVISION = 0
CATEGORIES = audio multimedia
HOMEPAGE = http://audacious-media-player.org/
# GPL
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += GL X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
WANTLIB += Xrandr Xrender atk-1.0 audcore audgui cairo cairo-gobject
WANTLIB += expat fontconfig freetype gdk-3
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += gthread-2.0 gtk-3 m pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pixman-1 png pthread pthread-stubs samplerate xcb
WANTLIB += xcb-render xcb-shm z ${MODGETTEXT_WANTLIB}
WANTLIB += FLAC SDL audtag cddb cdio cdio_cdda cue curl
WANTLIB += dbus-1 dbus-glib-1 faad modplug mp3lame mpg123 neon notify ogg
WANTLIB += sndfile sndio stdc++ vorbis vorbisenc vorbisfile wavpack xml2
MASTER_SITES = http://distfiles.audacious-media-player.org/
EXTRACT_SUFX = .tar.bz2
MODULES = devel/gettext
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = audio/audacious>=${V}
LIB_DEPENDS = audio/faad \
audio/flac \
audio/lame \
audio/libcdio \
audio/libcue \
audio/libmodplug \
audio/libsamplerate \
audio/libsndfile \
audio/libvorbis \
audio/mpg123 \
audio/wavpack \
devel/libnotify>=0.7.2 \
devel/sdl \
net/curl \
net/neon \
textproc/libxml \
x11/gtk+3 \
x11/dbus-glib
USE_GMAKE = Yes
CONFIGURE_STYLE = autoconf
AUTOCONF_VERSION = 2.68
CONFIGURE_ARGS += --enable-ipv6 \
--enable-sndio \
--disable-pulse \
--disable-adplug \
--disable-sid \
--disable-oss \
--disable-alsa \
--disable-amidiplug \
--disable-mms \
--disable-mtp_up \
--disable-ffaudio \
--disable-jack \
--disable-bs2b
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
NO_REGRESS = Yes
post-patch:
@mkdir -p ${WRKSRC}/src/sndio
@cp ${FILESDIR}/{Makefile,sndio.c} ${WRKSRC}/src/sndio
.include <bsd.port.mk>