diff options
Diffstat (limited to 'multimedia/mkvtoolnix/options.mk')
-rw-r--r-- | multimedia/mkvtoolnix/options.mk | 37 |
1 files changed, 10 insertions, 27 deletions
diff --git a/multimedia/mkvtoolnix/options.mk b/multimedia/mkvtoolnix/options.mk index 8528d76d1b9..c8579506673 100644 --- a/multimedia/mkvtoolnix/options.mk +++ b/multimedia/mkvtoolnix/options.mk @@ -1,36 +1,19 @@ -# $NetBSD: options.mk,v 1.1 2011/03/20 13:19:44 adam Exp $ +# $NetBSD: options.mk,v 1.2 2016/09/08 16:18:01 joerg Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.mkvtoolnix -PKG_SUPPORTED_OPTIONS= # empty -PKG_OPTIONS_OPTIONAL_GROUPS= gui -PKG_OPTIONS_GROUP.gui= wxwidgets +PKG_SUPPORTED_OPTIONS= gui PKG_SUGGESTED_OPTIONS= # empty .include "../../mk/bsd.options.mk" -PLIST_VARS+= gui +PLIST_SRC= ${PLIST_SRC_DFLT} -.if !empty(PKG_OPTIONS:Mqt) || !empty(PKG_OPTIONS:Mwxwidgets) -PLIST.gui= yes -CONFIGURE_ARGS+= --enable-gui +.if !empty(PKG_OPTIONS:Mgui) +PLIST_SRC+= PLIST.gui +CONFIGURE_ARGS+= --enable-qt MOC=${QTDIR}/bin/moc +CONFIGURE_ARGS+= UIC=${QTDIR}/bin/uic RCC=${QTDIR}/bin/rcc +USE_TOOLS+= pkg-config +.include "../../x11/qt5-qtbase/buildlink3.mk" .else -CONFIGURE_ARGS+= --disable-gui -.endif - -#.if !empty(PKG_OPTIONS:Mqt) -#CONFIGURE_ARGS+= --enable-qt -#. include "../../x11/qt4-libs/buildlink3.mk" -#. include "../../x11/qt4-tools/buildlink3.mk" -#.else -#CONFIGURE_ARGS+= --disable-qt -#.endif - -.if !empty(PKG_OPTIONS:Mwxwidgets) -CONFIGURE_ARGS+= --enable-wxwidgets -. include "../../databases/shared-mime-info/mimedb.mk" -. include "../../graphics/hicolor-icon-theme/buildlink3.mk" -. include "../../sysutils/desktop-file-utils/desktopdb.mk" -. include "../../x11/wxGTK28/buildlink3.mk" -.else -CONFIGURE_ARGS+= --disable-wxwidgets +CONFIGURE_ARGS+= --disable-qt .endif |