2011-09-09 17:19:44 +02:00
|
|
|
# $NetBSD: Makefile,v 1.74 2011/09/09 15:19:44 wiz Exp $
|
1998-11-04 09:01:31 +01:00
|
|
|
|
2008-11-20 18:42:27 +01:00
|
|
|
DISTNAME= esound-0.2.41
|
2000-06-09 09:23:20 +02:00
|
|
|
CATEGORIES= audio
|
2002-09-24 15:01:15 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/esound/0.2/}
|
2004-03-02 06:03:47 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
1998-11-04 09:01:31 +01:00
|
|
|
|
2008-01-19 10:16:17 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2000-06-09 09:23:20 +02:00
|
|
|
HOMEPAGE= http://www.tux.org/~ricdude/EsounD.html
|
2003-07-21 18:24:36 +02:00
|
|
|
COMMENT= The Enlightened sound daemon
|
2011-09-09 17:19:44 +02:00
|
|
|
LICENSE= gnu-lgpl-v2
|
1998-11-04 09:01:31 +01:00
|
|
|
|
2004-01-06 08:17:03 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
2006-11-05 18:06:43 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2004-01-06 08:17:03 +01:00
|
|
|
|
2001-04-07 00:41:37 +02:00
|
|
|
USE_LIBTOOL= YES
|
2007-03-01 15:19:29 +01:00
|
|
|
USE_TOOLS+= pkg-config
|
2004-02-14 19:26:26 +01:00
|
|
|
PKGCONFIG_OVERRIDE= esound.pc.in
|
1998-11-04 09:01:31 +01:00
|
|
|
|
2002-02-17 22:55:43 +01:00
|
|
|
GNU_CONFIGURE= YES
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
2008-07-30 12:24:40 +02:00
|
|
|
CONFIGURE_ENV+= ac_cv_prog_JW=false
|
2002-02-17 22:55:43 +01:00
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/esound
|
|
|
|
CONF_FILES= ${EGDIR}/esd.conf ${PKG_SYSCONFDIR}/esd.conf
|
|
|
|
|
2005-06-08 15:20:04 +02:00
|
|
|
.include "options.mk"
|
2003-08-01 19:10:40 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2004-10-11 20:02:59 +02:00
|
|
|
.if ${OPSYS} == "Interix"
|
|
|
|
# no sound output device, but can support a remote esound server
|
|
|
|
CONFIGURE_ARGS+= --disable-local-sound
|
|
|
|
.else
|
2006-03-09 22:04:39 +01:00
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
2004-10-11 20:02:59 +02:00
|
|
|
MAKE_ENV+= AM_CPPFLAGS='-DDEV_DSP=\"${DEVOSSAUDIO}\"'
|
2005-12-05 21:49:47 +01:00
|
|
|
SUBST_CLASSES+= oss
|
2004-03-02 06:03:47 +01:00
|
|
|
SUBST_STAGE.oss= post-patch
|
|
|
|
SUBST_FILES.oss= configure
|
|
|
|
SUBST_SED.oss= -e 's,-lossaudio,${LIBOSSAUDIO},g'
|
2006-04-22 11:22:05 +02:00
|
|
|
SUBST_MESSAGE.oss= Fixing oss.
|
2004-10-11 20:02:59 +02:00
|
|
|
.endif
|
2004-03-02 06:03:47 +01:00
|
|
|
|
2006-12-02 23:50:20 +01:00
|
|
|
LDFLAGS.IRIX+= -lm
|
|
|
|
|
2004-01-06 08:17:03 +01:00
|
|
|
.include "../../audio/libaudiofile/buildlink3.mk"
|
1998-11-04 09:01:31 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|