openbsd-ports/audio/libcanberra/Makefile

48 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.3 2008/11/19 08:06:03 jasper Exp $
COMMENT= implementation of the Freedesktop sound theme spec.
2008-10-24 09:26:14 -04:00
DISTNAME= libcanberra-0.10
PKGNAME= ${DISTNAME}p0
SHARED_LIBS += canberra 0.1 # .1.3
SHARED_LIBS += canberra-gtk 0.0 # .0.4
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}
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 \
pcre pixman-1 png pthread xml2 z
MODULES= devel/gettext
2008-10-24 09:26:14 -04:00
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ::devel/gconf2
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
USE_X11= Yes
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 \
--localstatedir="/var"
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
.include <bsd.port.mk>