2009-08-10 02:29:51 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2009/08/10 06:29:52 kili Exp $
|
2008-02-15 10:52:02 -05:00
|
|
|
|
|
|
|
COMMENT= advanced music player
|
|
|
|
|
2009-02-09 17:13:39 -05:00
|
|
|
DISTNAME= aqualung-0.9beta10
|
2009-08-10 02:29:51 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2008-02-15 10:52:02 -05:00
|
|
|
CATEGORIES= audio
|
|
|
|
|
|
|
|
HOMEPAGE= http://aqualung.factorial.hu/
|
|
|
|
|
|
|
|
MAINTAINER= Jeremy Evans <openbsd@jeremyevans.net>
|
|
|
|
|
2008-03-25 14:09:14 -04:00
|
|
|
# GPLv2
|
2008-02-15 10:52:02 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aqualung/}
|
|
|
|
|
|
|
|
MODULES= devel/gettext
|
|
|
|
|
|
|
|
LIB_DEPENDS= gtk-x11-2.0,gdk-x11-2.0,gdk_pixbuf-2.0::x11/gtk+2 \
|
|
|
|
xml2::textproc/libxml \
|
2009-02-09 17:13:39 -05:00
|
|
|
lua::lang/lua \
|
2008-02-15 10:52:02 -05:00
|
|
|
mac::audio/mac \
|
|
|
|
mad::audio/libmad \
|
|
|
|
mpcdec::audio/libmpcdec \
|
|
|
|
FLAC::audio/flac \
|
|
|
|
avcodec,avformat,avutil::graphics/ffmpeg \
|
2009-01-27 19:20:57 -05:00
|
|
|
jack::audio/jack \
|
|
|
|
wavpack::audio/wavpack
|
2008-03-15 07:54:10 -04:00
|
|
|
|
|
|
|
RUN_DEPENDS= ::devel/desktop-file-utils
|
2008-02-15 10:52:02 -05:00
|
|
|
|
2008-03-25 14:09:14 -04:00
|
|
|
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
|
|
|
|
Xi Xinerama Xrandr Xrender atk-1.0 bz2 c cairo expat \
|
2009-01-23 12:42:14 -05:00
|
|
|
fontconfig freetype gio-2.0 glib-2.0 glitz gmodule-2.0 \
|
2009-01-27 19:20:57 -05:00
|
|
|
gobject-2.0 gthread-2.0 m mp3lame ogg pango-1.0 \
|
|
|
|
pangocairo-1.0 pangoft2-1.0 pixman-1 png pthread \
|
2009-08-10 02:29:51 -04:00
|
|
|
pthread-stubs samplerate sndfile sndio stdc++ vorbis \
|
|
|
|
vorbisenc vorbisfile xcb z
|
2008-02-15 10:52:02 -05:00
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ENV= LDFLAGS="-pthread -L${LOCALBASE}/lib -L${X11BASE}/lib" \
|
|
|
|
CFLAGS="${CFLAGS} -DOSS_DEVICE='\"/dev/audio\"' \
|
|
|
|
-DPTHREAD_MIN_PRIORITY=0 -DPTHREAD_MAX_PRIORITY=31 \
|
|
|
|
-I${LOCALBASE}/include"
|
|
|
|
|
2009-01-27 19:20:57 -05:00
|
|
|
# cddb, ifp (requires lib*) - no package
|
2008-02-15 10:52:02 -05:00
|
|
|
# cdda (requires libcdio) - no package
|
2008-03-23 23:15:27 -04:00
|
|
|
# ladspa (requires liblrdf) - no package
|
2008-02-15 10:52:02 -05:00
|
|
|
# mod (requires libmodplug) - no package
|
|
|
|
# speex (requires liboggz) - no package
|
|
|
|
CONFIGURE_ARGS= --with-flac \
|
2008-03-23 23:15:27 -04:00
|
|
|
--with-jack \
|
2008-02-15 10:52:02 -05:00
|
|
|
--with-lame \
|
|
|
|
--with-lavc \
|
|
|
|
--with-loop \
|
2009-02-09 17:13:39 -05:00
|
|
|
--with-lua \
|
2008-02-15 10:52:02 -05:00
|
|
|
--with-mac \
|
|
|
|
--with-mpc \
|
|
|
|
--with-mpeg \
|
|
|
|
--with-ogg \
|
|
|
|
--with-podcast \
|
|
|
|
--with-sndfile \
|
2009-02-09 17:13:39 -05:00
|
|
|
--with-sndio \
|
2008-02-15 10:52:02 -05:00
|
|
|
--with-src \
|
|
|
|
--with-systray \
|
|
|
|
--with-vorbisenc \
|
2009-01-27 19:20:57 -05:00
|
|
|
--with-wavpack \
|
2008-02-15 10:52:02 -05:00
|
|
|
--without-alsa \
|
|
|
|
--without-cdda \
|
|
|
|
--without-cddb \
|
|
|
|
--without-ifp \
|
|
|
|
--without-ladspa \
|
|
|
|
--without-mod \
|
2009-01-27 19:20:57 -05:00
|
|
|
--without-oss \
|
|
|
|
--without-speex
|
2008-02-15 10:52:02 -05:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
mv ${PREFIX}/share/aqualung/doc ${PREFIX}/share/doc/aqualung
|
2008-03-15 07:54:10 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
|
2009-01-28 18:50:47 -05:00
|
|
|
@${SUBST_CMD} -c ${FILESDIR}/aqualung.desktop \
|
|
|
|
${PREFIX}/share/applications/aqualung.desktop
|
|
|
|
@chown ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/applications/aqualung.desktop
|
2008-03-15 07:54:10 -04:00
|
|
|
|
2008-02-15 10:52:02 -05:00
|
|
|
.include <bsd.port.mk>
|