qt-gstreamer 0.10.3 (2013-10-14) ================================== Additions: * Added Qt5 support. * Added GstDiscoverer bindings. * QGlib::Error can now be used in QGlib::Value * Added convenience constructors for QGst::ClockTime Fixes: * Fixed qtglvideosink painting on QGLFrameBufferObject * Fixed codegen compilation with bison 2.6 * Fixed example code in the QGst::Ui::GraphicsVideoSurface apidocs * Many fixes for windows support Build system fixes and enhancements: * Use recent cmake goodies: * CMakePackageConfigHelpers, which simplifies QtGStreamerConfig.cmake and adds version checking in find_package(QtGStreamer) * CMAKE_POSITION_INDEPENDENT_CODE, which eliminates issues with missing -fPIC / -fPIE * GNUInstallDirs, which adds automagic support for debian multiarch and also takes away the need for LIB_SUFFIX * .dll's are now installed in the correct place ($prefix/bin) on windows * cmake config files are now installed in $libdir/cmake/$package instead of $libdir/$package * Renamed signal.h to qglib_signal.h to avoid problems where the compiler mixes it up with the C <signal.h> * Determine whether to use OpenGLES or desktop OpenGL by looking at what Qt is using on the target system instead of guessing. Changes in dependencies: * CMake 2.8.9 is now required * Drop completely automoc dependency in favor of cmake's internal automoc * Qt5 can be used instead of Qt4. The resulting qt-gstreamer files will be co-installable with the ones built using Qt4.
45 lines
1.6 KiB
Makefile
45 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.2 2014/01/01 04:57:59 othyro Exp $
|
|
#
|
|
|
|
DISTNAME= qt-gstreamer-0.10.3
|
|
PKGNAME= ${DISTNAME:S/qt/qt4/1}
|
|
CATEGORIES= multimedia x11
|
|
MASTER_SITES= http://gstreamer.freedesktop.org/data/src/qt-gstreamer/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://gstreamer.freedesktop.org/data/src/qt-gstreamer/
|
|
COMMENT= C++ bindings (libraries and plugins) for GStreamer with a Qt-style API
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
USE_TOOLS+= gmake pkg-config
|
|
USE_CMAKE= yes
|
|
USE_LANGUAGES= c c++
|
|
GCC_REQD= 4.5
|
|
|
|
PKGCONFIG_OVERRIDE+= src/QGlib/QtGLib-2.0.pc.in
|
|
PKGCONFIG_OVERRIDE+= src/QGst/QtGStreamer-0.10.pc.in
|
|
PKGCONFIG_OVERRIDE+= src/QGst/QtGStreamerUtils-0.10.pc.in
|
|
PKGCONFIG_OVERRIDE+= src/QGst/QtGStreamerUi-0.10.pc.in
|
|
|
|
.include "options.mk"
|
|
|
|
CMAKE_ARGS+= -DQTGSTREAMER_EXAMPLES=ON -DUSE_GST_PLUGIN_DIR=ON
|
|
CMAKE_ARGS+= -DQTGSTREAMER_CODEGEN=OFF # XXX breaks cross-compile
|
|
CMAKE_ARGS+= -DUSE_QT_PLUGIN_DIR=OFF
|
|
CXXFLAGS+= -std=c++0x
|
|
|
|
BUILDLINK_ABI_DEPENDS.boost-headers+= boost-headers>=1.39
|
|
.include "../../devel/boost-headers/buildlink3.mk"
|
|
BUILDLINK_ABI_DEPENDS.qt4-libs+= qt4-libs>=4.7
|
|
.include "../../x11/qt4-libs/buildlink3.mk"
|
|
BUILDLINK_ABI_DEPENDS.gst-plugins0.10-base+= gst-plugins0.10-base>=0.10.36
|
|
.include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"
|
|
BUILDLINK_ABI_DEPENDS.gstreamer0.10+= gstreamer0.10>=0.10.33
|
|
.include "../../multimedia/gstreamer0.10/buildlink3.mk"
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
.include "../../x11/libICE/buildlink3.mk"
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|