openbsd-ports/multimedia/gstreamer-0.10/core/Makefile

46 lines
1.3 KiB
Makefile
Raw Normal View History

2010-07-22 15:14:49 -04:00
# $OpenBSD: Makefile,v 1.14 2010/07/22 19:14:49 ajacoutot Exp $
COMMENT = multimedia framework
2010-07-22 15:14:49 -04:00
V = 0.10.30
PKGNAME = gstreamer-${V}
DISTNAME = gstreamer-${V}
2010-07-22 15:14:49 -04:00
SHARED_LIBS += gstreamer-0.10 2.1 # .26.0
SHARED_LIBS += gstbase-0.10 2.1 # .26.0
SHARED_LIBS += gstcontroller-0.10 3.1 # .26.0
SHARED_LIBS += gstdataprotocol-0.10 2.1 # .26.0
SHARED_LIBS += gstcheck-0.10 1.1 # .26.0
SHARED_LIBS += gstnet-0.10 2.1 # .26.0
2010-07-22 15:14:49 -04:00
WANTLIB += c m pcre pthread z xml2 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += gthread-2.0
MASTER_SITES = ${MASTER_SITE_GST:=gstreamer/}
MODULES = devel/gettext
BUILD_DEPENDS = ::devel/flex
2010-07-22 15:14:49 -04:00
LIB_DEPENDS = ::textproc/libxml \
::devel/glib2
REGRESS_DEPENDS = ::${BASE_PKGPATH}
CONFIGURE_ENV += FLEX_PATH=${LOCALBASE}/bin/gflex \
ac_cv_path_PYTHON=""
# do not pick-up gmp nor gdl: for now, it is only used by
# tests/check/gst (which is not built) but better safe than sorry
CONFIGURE_ENV += ac_cv_lib_gmp___gmpz_init_set_d=no \
ac_cv_lib_gsl_gsl_rng_uniform_int=no
# autoconf check returns wrong value on powerpc leading to undefined
# references to `__multi3' and `__udivti3'
.if ${MACHINE_ARCH} == "powerpc"
CONFIGURE_ENV += gst_cv_uint128_t=no
.endif
.include <bsd.port.mk>