17ae437480
input, output, visualization and effect plugins for audacious. based on a submission by Vlad Glagolev <stelzy at gmail.com>
78 lines
1.9 KiB
Makefile
78 lines
1.9 KiB
Makefile
# $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 <stelzy@gmail.com>
|
|
|
|
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 <bsd.port.mk>
|