# Copyright 2014 David Heidelberger # Distributed under the terms of the GNU General Public License v2 SCM_REPOSITORY="git://anongit.kde.org/qtcurve" DOWNLOADS="" PLATFORMS="~amd64" require scm-git require cmake [ api=2 ] SUMMARY="QtCurve - Qt5/Qt4/GTK+2 widget styles" DESCRIPTION="This is a set of widget styles for Qt5/Qt4 and Gtk2 based apps." LICENCES="LGPL-2.1" SLOT="0" MYOPTIONS=" gtk2 [[ requires = X ]] qt4 [[ requires = X ]] qt5 X " DEPENDENCIES=" build: sys-devel/gettext gtk2? ( virtual/pkg-config ) X? ( virtual/pkg-config x11-proto/xcb-proto ) build+run: x11-libs/libxcb kde-frameworks/frameworkintegration kde-frameworks/kdelibs4support gtk2? ( x11-libs/gtk+:2 ) qt4? ( x11-libs/qt:4 ) qt5? ( x11-libs/qtbase:5 x11-libs/qtsvg:5 x11-libs/qtx11extras:5 ) X? ( x11-libs/libX11 ) " CMAKE_SRC_CONFIGURE_PARAMS+=( -DQTC_LOCALE_DIR:PATH=/usr/share/locale # We don't ship kde-workspace:4 anymore -DQTC_QT4_ENABLE_KDE:BOOL=FALSE # Disabled by default upstream -DQTC_QT5_ENABLE_QTQUICK2:BOOL=FALSE ) CMAKE_SRC_CONFIGURE_OPTIONS+=( 'X QTC_ENABLE_X11' ) CMAKE_SRC_CONFIGURE_OPTION_ENABLES+=( GTK2 QT4 QT5 ) CMAKE_SRC_CONFIGURE_TESTS+=( '-DENABLE_TEST:BOOL=TRUE -DENABLE_TEST:BOOL=FALSE' )