1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/multimedia/gstreamer1-qt/Makefile
Niclas Zeising 0fae2e9e0e Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
2018-09-11 18:34:27 +00:00

49 lines
1.2 KiB
Makefile

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