pkgsrc-wip/qt4-gstreamer/options.mk
Blue Rats db36028b4c Import qt4-gstreamer-0.10.2 as wip/qt4-gstreamer.
QtGStreamer is a set of libraries and plugins providing C++ bindings for
GStreamer with a Qt-style API plus some helper classes for integrating GStreamer
better in Qt applications.

Currently, it consists of the following parts:

* QtGLib - Library providing C++/Qt bindings for parts of the GLib and GObject
  APIs, a base on which QtGStreamer is built.
* QtGStreamer - Library providing C++/Qt bindings for GStreamer
* QtGStreamerUi - Library providing integration with QtGui.
* QtGStreamerUtils - Library providing some high level utility classes.

In addition, it provides GStreamer elements for drawing video on widgets,
graphics items and QML items.

This is the Qt4 version of qt-gstreamer.
2013-05-12 01:12:32 +00:00

25 lines
590 B
Makefile

# $NetBSD: options.mk,v 1.1 2013/05/12 01:12:32 othyro Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.qt-gstreamer
PKG_SUPPORTED_OPTIONS= debug static tests # XXX doc
PKG_SUGGESTED_OPTIONS+= tests
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Debug
.else
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
.endif
.if !empty(PKG_OPTIONS:Mstatic)
CMAKE_ARGS+= -DQTGSTREAMER_STATIC=ON
.else
CMAKE_ARGS+= -DQTGSTREAMER_STATIC=OFF
.endif
.if !empty(PKG_OPTIONS:Mtests)
CMAKE_ARGS+= -DQTGSTREAMER_TESTS=ON
.else
CMAKE_ARGS+= -DQTGSTREAMER_TESTS=OFF
.endif