freebsd-ports/multimedia/gstreamer1-qt4/Makefile
Koop Mast 78bc328777 Fix the build with GStreamer 1.6.0.
Obtained from:	OpenBSD ports
2015-09-28 07:26:19 +00:00

32 lines
847 B
Makefile

# $FreeBSD$
PORTNAME= gstreamer
PORTVERSION= 1.2.0
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://gstreamer.freedesktop.org/src/qt-${PORTNAME}/
PKGNAMESUFFIX= 1-qt4
DISTNAME= qt-${PORTNAME}-${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt 4 bindings for GStreamer 1.x multimedia library
LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs
CONFLICTS_INSTALL= gstreamer-qt4-*
USES= bison cmake:outsource gmake pkgconfig tar:xz
USE_GSTREAMER1= yes
USE_QT4= corelib gui opengl declarative \
qmake_build moc_build rcc_build uic_build qtestlib_build
USE_LDCONFIG= yes
CMAKE_ARGS= -DUSE_GST_PLUGIN_DIR=off \
-DUSE_QT_PLUGIN_DIR=off
PLIST_SUB= SHLIB_VER="${PORTVERSION}"
post-patch:
${REINPLACE_CMD} -e 's|$${CMAKE_INSTALL_LIBDIR}/pkgconfig|libdata/pkgconfig|' \
${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>