2009-03-05 03:11:56 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2009/03/05 08:11:56 ajacoutot Exp $
|
2008-09-26 08:01:43 -04:00
|
|
|
|
|
|
|
COMMENT= implementation of the Freedesktop sound theme spec.
|
|
|
|
|
2009-03-05 03:11:56 -05:00
|
|
|
DISTNAME= libcanberra-0.11
|
|
|
|
SHARED_LIBS += canberra 1.0 # .1.4
|
2008-11-19 03:06:03 -05:00
|
|
|
SHARED_LIBS += canberra-gtk 0.0 # .0.4
|
2008-09-26 08:01:43 -04:00
|
|
|
CATEGORIES= audio devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://0pointer.de/lennart/projects/libcanberra/
|
|
|
|
|
|
|
|
# LGPLv2.1
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
|
2008-11-19 03:06:03 -05:00
|
|
|
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
|
|
|
|
Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig \
|
|
|
|
freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 \
|
|
|
|
gthread-2.0 m ogg pango-1.0 pangocairo-1.0 pangoft2-1.0 \
|
2009-01-09 12:34:32 -05:00
|
|
|
pcre pixman-1 png pthread sndio xml2 z
|
2008-09-26 08:01:43 -04:00
|
|
|
|
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2009-01-09 12:34:32 -05:00
|
|
|
AUTOCONF_VERSION= 2.62
|
|
|
|
AUTOMAKE_VERSION= 1.9
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS} \
|
|
|
|
${MODGNU_AUTOCONF_DEPENDS} \
|
|
|
|
${MODGNU_AUTOMAKE_DEPENDS}
|
2008-10-24 09:26:14 -04:00
|
|
|
RUN_DEPENDS= ::devel/gconf2
|
2008-09-26 08:01:43 -04:00
|
|
|
LIB_DEPENDS= vorbis,vorbisfile::audio/libvorbis \
|
|
|
|
ltdl::devel/libtool,-ltdl \
|
2008-11-19 03:06:03 -05:00
|
|
|
gstreamer-0.10::multimedia/gstreamer-0.10/core \
|
|
|
|
gdk_pixbuf-2.0.>=1400.0,gdk-x11-2.0.>=1400.0,gtk-x11-2.0.>=1400.0::x11/gtk+2
|
2008-09-26 08:01:43 -04:00
|
|
|
|
2008-11-19 03:06:03 -05:00
|
|
|
USE_X11= Yes
|
2008-09-26 08:01:43 -04:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
2008-10-24 09:26:14 -04:00
|
|
|
CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/libcanberra \
|
|
|
|
--disable-schemas-install \
|
2008-12-14 10:10:15 -05:00
|
|
|
--localstatedir="/var" \
|
2009-01-09 12:34:32 -05:00
|
|
|
--enable-sndio \
|
2008-12-14 10:10:15 -05:00
|
|
|
--enable-gstreamer \
|
2009-01-09 12:34:32 -05:00
|
|
|
--disable-oss \
|
2008-12-14 10:10:15 -05:00
|
|
|
--disable-alsa \
|
|
|
|
--disable-pulse \
|
2009-03-05 03:11:56 -05:00
|
|
|
--disable-tdb \
|
|
|
|
--with-ltdl-include=${LOCALBASE}/include \
|
|
|
|
--with-ltdl-lib=${LOCALBASE}/lib \
|
|
|
|
--disable-ltdl-install \
|
|
|
|
--without-included-ltdl
|
2008-09-26 08:01:43 -04:00
|
|
|
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
CPPFLAGS="-I${LOCALBASE}/include"
|
|
|
|
|
2009-03-05 03:11:56 -05:00
|
|
|
pre-configure:
|
2009-01-09 12:34:32 -05:00
|
|
|
cp ${FILESDIR}/sndio.c ${WRKSRC}/src
|
|
|
|
cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
|
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} aclocal -I m4
|
|
|
|
cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
|
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} autoconf
|
|
|
|
cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
|
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} autoheader
|
|
|
|
cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
|
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} automake
|
|
|
|
|
2008-09-26 08:01:43 -04:00
|
|
|
.include <bsd.port.mk>
|