freebsd-ports/multimedia/gstreamer1-qt4/Makefile
Jan Beich a8713d15f4 devel/boost-*: update to 1.62.0
- Enable `long double` C99 math usage
- Switch 9.x back to building with GCC

Changes:	http://www.boost.org/users/history/
PR:		199601
Submitted by:	Chen Xu, bapt, amdmi3, truckman (based on)
Reviewed by:	rakuco (kde) (earlier version)
Exp-run by:	antoine (3 tries), truckman (consumers only, earlier versions)
Approved by:	bapt (office)
2016-11-23 12:45:46 +00:00

43 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= gstreamer1-qt
PORTVERSION= 1.2.0
PORTREVISION?= 3
CATEGORIES= multimedia
MASTER_SITES= http://gstreamer.freedesktop.org/src/qt-gstreamer/
PKGNAMESUFFIX?= 4
DISTNAME= qt-gstreamer-${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt ${PKGNAMESUFFIX} bindings for GStreamer 1.x multimedia library
LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
libgstreamer-1.0.so:multimedia/gstreamer1
CONFLICTS_INSTALL= gstreamer-qt${PKGNAMESUFFIX}-*
USES= bison cmake:outsource pathfix pkgconfig tar:xz
USE_GSTREAMER1= yes
USE_GL= gl
USE_GNOME= glib20
. if ${PKGNAMESUFFIX:M4}
USE_QT4= corelib gui opengl declarative script \
qmake_build moc_build rcc_build uic_build qtestlib_build
PLIST_SUB= QT4_ONLY="" QT5_ONLY="@comment "
. else
USE_QT5= buildtools_build qmake_build core gui network opengl \
qml quick testlib widgets
QTVER_SUFFIX= 5
PLIST_SUB= QT4_ONLY="@comment " QT5_ONLY=""
. endif
USE_LDCONFIG= yes
CMAKE_ARGS= -DUSE_GST_PLUGIN_DIR=off \
-DUSE_QT_PLUGIN_DIR=off \
-DQT_VERSION=${PKGNAMESUFFIX}
PLIST_SUB+= SHLIB_VER="${PORTVERSION}" \
QTVER_SUFFIX="${QTVER_SUFFIX}"
.include <bsd.port.mk>