2012-03-21 12:13:25 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.41 2012/03/21 16:13:25 dcoppa Exp $
|
2006-12-27 11:49:25 -05:00
|
|
|
|
2010-12-19 13:17:55 -05:00
|
|
|
SHARED_ONLY = Yes
|
2006-12-27 11:49:25 -05:00
|
|
|
|
2012-03-21 12:13:25 -04:00
|
|
|
COMMENT = input and output plugins for audacious
|
2006-12-27 11:49:25 -05:00
|
|
|
|
2012-03-20 15:10:56 -04:00
|
|
|
V = 3.2
|
2010-12-19 13:17:55 -05:00
|
|
|
DISTNAME = audacious-plugins-$V
|
2012-03-21 12:13:25 -04:00
|
|
|
REVISION = 0
|
2008-04-01 20:39:19 -04:00
|
|
|
|
2010-12-19 13:17:55 -05:00
|
|
|
CATEGORIES = audio multimedia
|
2006-12-27 11:49:25 -05:00
|
|
|
|
2010-12-19 13:17:55 -05:00
|
|
|
HOMEPAGE = http://audacious-media-player.org/
|
2006-12-27 11:49:25 -05:00
|
|
|
|
|
|
|
# GPL
|
2009-01-24 21:07:06 -05:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
2010-12-19 13:17:55 -05:00
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
2009-01-24 21:07:06 -05:00
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2006-12-27 11:49:25 -05:00
|
|
|
|
2011-09-28 10:58:38 -04:00
|
|
|
WANTLIB += GL X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
|
2012-03-20 15:10:56 -04:00
|
|
|
WANTLIB += Xrandr Xrender atk-1.0 audcore audgui cairo cairo-gobject
|
|
|
|
WANTLIB += expat fontconfig freetype gdk-3
|
2011-06-27 09:38:30 -04:00
|
|
|
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
|
2012-03-20 15:10:56 -04:00
|
|
|
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
|
2011-09-28 10:58:38 -04:00
|
|
|
WANTLIB += xcb-render xcb-shm z ${MODGETTEXT_WANTLIB}
|
2012-03-21 12:13:25 -04:00
|
|
|
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
|
2008-04-01 20:39:19 -04:00
|
|
|
|
2012-03-20 15:10:56 -04:00
|
|
|
MASTER_SITES = http://distfiles.audacious-media-player.org/
|
2006-12-27 11:49:25 -05:00
|
|
|
|
2012-03-20 15:10:56 -04:00
|
|
|
EXTRACT_SUFX = .tar.bz2
|
2006-12-27 11:49:25 -05:00
|
|
|
|
2011-04-21 03:04:56 -04:00
|
|
|
MODULES = devel/gettext
|
|
|
|
|
2012-03-21 12:13:25 -04:00
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
2008-04-01 20:39:19 -04:00
|
|
|
|
2012-03-21 12:13:25 -04:00
|
|
|
RUN_DEPENDS = audio/audacious>=${V}
|
2010-11-14 19:22:45 -05:00
|
|
|
|
2012-03-21 12:13:25 -04:00
|
|
|
LIB_DEPENDS = audio/faad \
|
2010-11-14 19:22:45 -05:00
|
|
|
audio/flac \
|
|
|
|
audio/lame \
|
|
|
|
audio/libcdio \
|
2010-12-19 13:17:55 -05:00
|
|
|
audio/libcue \
|
2012-03-21 12:13:25 -04:00
|
|
|
audio/libmodplug \
|
2010-12-19 13:17:55 -05:00
|
|
|
audio/libsamplerate \
|
2010-11-14 19:22:45 -05:00
|
|
|
audio/libsndfile \
|
|
|
|
audio/libvorbis \
|
2012-03-20 15:10:56 -04:00
|
|
|
audio/mpg123 \
|
2010-11-14 19:22:45 -05:00
|
|
|
audio/wavpack \
|
2011-04-21 03:04:56 -04:00
|
|
|
devel/libnotify>=0.7.2 \
|
2010-11-14 19:22:45 -05:00
|
|
|
devel/sdl \
|
|
|
|
net/curl \
|
|
|
|
net/neon \
|
2011-04-21 03:04:56 -04:00
|
|
|
textproc/libxml \
|
2012-03-20 15:10:56 -04:00
|
|
|
x11/gtk+3 \
|
|
|
|
x11/dbus-glib
|
2006-12-27 11:49:25 -05:00
|
|
|
|
2010-12-19 13:17:55 -05:00
|
|
|
USE_GMAKE = Yes
|
2009-01-24 21:07:06 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE = autoconf
|
2011-05-12 03:34:54 -04:00
|
|
|
AUTOCONF_VERSION = 2.68
|
2009-01-24 21:07:06 -05:00
|
|
|
CONFIGURE_ARGS += --enable-ipv6 \
|
|
|
|
--enable-sndio \
|
2008-04-01 20:39:19 -04:00
|
|
|
--disable-pulse \
|
|
|
|
--disable-adplug \
|
|
|
|
--disable-sid \
|
2009-01-24 21:07:06 -05:00
|
|
|
--disable-oss \
|
2008-04-01 20:39:19 -04:00
|
|
|
--disable-alsa \
|
|
|
|
--disable-amidiplug \
|
|
|
|
--disable-mms \
|
|
|
|
--disable-mtp_up \
|
2012-03-21 12:13:25 -04:00
|
|
|
--disable-ffaudio \
|
|
|
|
--disable-jack \
|
|
|
|
--disable-bs2b
|
2008-04-01 20:39:19 -04:00
|
|
|
|
2012-03-21 12:13:25 -04:00
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
|
2008-04-01 20:39:19 -04:00
|
|
|
|
2010-12-19 13:17:55 -05:00
|
|
|
NO_REGRESS = Yes
|
2009-01-24 21:07:06 -05:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@mkdir -p ${WRKSRC}/src/sndio
|
|
|
|
@cp ${FILESDIR}/{Makefile,sndio.c} ${WRKSRC}/src/sndio
|
2006-12-27 11:49:25 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|