openbsd-ports/multimedia/gstreamer-0.10/Makefile.inc
espie dcfeebd2dc all of gstreamer is happy with SEPARATE_BUILD.
patch it to compile and build the sunaudio plugin.
Not really functional yet, though...
2007-01-09 23:22:56 +00:00

43 lines
961 B
Makefile

# $OpenBSD: Makefile.inc,v 1.3 2007/01/09 23:22:56 espie Exp $
CATEGORIES?= multimedia devel
HOMEPAGE?= http://www.gstreamer.net/
# LGPL
PERMIT_PACKAGE_CDROM?= Yes
PERMIT_PACKAGE_FTP?= Yes
PERMIT_DISTFILES_CDROM?=Yes
PERMIT_DISTFILES_FTP?= Yes
MASTER_SITE_GST= http://gstreamer.freedesktop.org/src/
EXTRACT_SUFX?= .tar.bz2
VERSION= 0.10
SUBST_VARS+= VERSION
SHARED_ONLY= Yes
SEPARATE_BUILD?= simple
USE_GMAKE?= Yes
USE_LIBTOOL?= Yes
LIBTOOL_FLAGS?= --tag=disable-static
MODULES+= lang/python
BUILD_DEPENDS+= :bison-*:devel/bison
AUTOCONF_VERSION?= 2.60
CONFIGURE_STYLE?= autoconf
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--localstatedir=/var/db \
--with-cachedir=/var/db/gstreamer-${VERSION} \
--disable-debug \
--disable-valgrind \
--disable-static \
# --enable-gtk-doc
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib" \
MODPY_VERSION=${MODPY_VERSION}