# $OpenBSD: Makefile,v 1.15 2010/04/30 09:32:01 ajacoutot Exp $ COMMENT= implementation of the Freedesktop sound theme spec. V= 0.24 DISTNAME= libcanberra-${V} PKGNAME= ${DISTNAME}p0 SHARED_LIBS += canberra 2.0 # .2.1 SHARED_LIBS += canberra-gtk 1.0 # .1.2 CATEGORIES= audio devel HOMEPAGE= http://0pointer.de/lennart/projects/libcanberra/ MAINTAINER= Antoine Jacoutot # LGPLv2.1 PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MASTER_SITES= ${HOMEPAGE} WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 WANTLIB += gthread-2.0 m ogg pango-1.0 pangocairo-1.0 pangoft2-1.0 WANTLIB += pcre pixman-1 png pthread sndio xml2 z WANTLIB += pthread-stubs xcb xcb-render xcb-render-util MODULES= devel/gettext \ devel/gconf2 MODGCONF2_SCHEMAS_DIR= libcanberra MODGCONF2_LIBDEP= No SUBST_VARS= V AUTOCONF_VERSION= 2.62 AUTOMAKE_VERSION= 1.9 BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \ ${MODGNU_AUTOMAKE_DEPENDS} LIB_DEPENDS= vorbis,vorbisfile::audio/libvorbis \ ltdl::devel/libtool,-ltdl \ 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 RUN_DEPENDS= :sound-theme-freedesktop->=0.6:audio/sound-theme-freedesktop USE_X11= Yes USE_LIBTOOL= Yes USE_GMAKE= Yes CONFIGURE_STYLE= gnu CONFIGURE_ARGS= ${CONFIGURE_SHARED} \ --localstatedir="/var" \ --enable-sndio \ --enable-gstreamer \ --disable-oss \ --disable-alsa \ --disable-pulse \ --disable-tdb \ --enable-gtk-doc=no CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" pre-configure: cp ${FILESDIR}/sndio.c ${WRKSRC}/src ${SUBST_CMD} ${WRKSRC}/src/sound-theme-spec.c \ ${WRKSRC}/src/test-canberra.c 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 .include