# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
git.url git://anongit.kde.org/qtcurve.git
if {${subport} eq "${name}-gtk2"} {
# the GTk2 branch barely evolves at all so QtCurve-gtk2 doesn't need to
# be updated every time the Qt version evolves.
git.branch 9cd0f0eb740f26b7e03244be64491da2c3f56569
git.branch 2bb3e383c12f46f0ad599386edc51972effc5930
version ${qtc_version}.27
description A set of widget styles for Qt4/KDE4, Qt5/KF5 and/or GTk2 based apps.
maintainers {gmail.com:rjvbertin @RJVB}
homepage http://kde-look.org/content/show.php?content=40492
master_sites http://quickgit.kde.org/?p=qtcurve.git
worksrcdir ${name}-${qtc_version}
if {${subport} ne "${name}-extra"} {
# Safeguard against installing a port variant for the still uncommitted KF5 ports
if {${subport} eq "${name}-qt5"} {
if {![variant_isset qtonly]} {
long_description The GTk2 version of the highly configurable QtCurve widget style for Qt
# QtCurve-gtk2 has pure and optional runtime dependencies on KDE4 (and KF5)
reinplace "s|kde4-config|${prefix}/bin/kde4-config|g" \
${worksrcpath}/gtk2/style/qt_settings.cpp
# standard post-arg, where to find the primary CMakeLists.txt file.
default configure.post_args {../${worksrcdir}}
default configure.dir {${workpath}/build}
default build.dir {${workpath}/build}