51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile.inc,v 1.11 2010/11/19 07:23:13 espie Exp $
|
|
|
|
CATEGORIES ?= multimedia devel
|
|
|
|
HOMEPAGE ?= http://gstreamer.freedesktop.org/
|
|
|
|
# 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
|
|
P = multimedia/gstreamer-${VERSION}
|
|
|
|
USE_GMAKE ?= Yes
|
|
USE_LIBTOOL ?= Yes
|
|
# avoid compiling plugins as static libraries
|
|
LIBTOOL_FLAGS ?= --tag=disable-static
|
|
|
|
BUILD_DEPENDS += devel/bison
|
|
|
|
AUTOCONF_VERSION ?= 2.62
|
|
CONFIGURE_STYLE ?= autoconf
|
|
|
|
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
|
|
--localstatedir=/var/db \
|
|
--with-default-audiosink=libsndiosink \
|
|
--with-default-audiosrc=libsndiosrc \
|
|
--with-default-videosink=xvimagesink \
|
|
--with-default-videosrc=v4l2src \
|
|
--with-default-visualizer=goom \
|
|
--disable-silent-rules \
|
|
--disable-introspection \
|
|
--disable-valgrind \
|
|
--disable-static
|
|
|
|
CPPFLAGS += -I${LOCALBASE}/include \
|
|
-I${LOCALBASE}/include/libpng \
|
|
-I${X11BASE}/include
|
|
LDFLAGS += -L${LOCALBASE}/lib \
|
|
-L${X11BASE}/lib
|
|
|
|
CONFIGURE_ENV += CPPFLAGS="${CPPFLAGS}" \
|
|
LDFLAGS="${LDFLAGS}"
|