4b40a1921c
-Allow dragging from some disabled widgets. -Added an option (to Kvantum Manager) for setting the toolbar icon size to the font height if possible. -Don't style vertical toolbars because, otherwise, they might look ugly. -Always check if the drag manager is deleted after it sends mouse events (to prevent any crash). -Increased the drag distance and delay when dragging is done from buttons. -Try to do less calculations to get widget sizes by not consulting QCommonStyle as far as possible. -Draw view-items independently of QCommonStyle to apply all size settings correctly. -Always reserve the vertical space for a single-line text in view-items. QCommonStyle is inconsistent in this regard and may create a tiny item editor when the text is empty. Qt doesn't give enough info to QStyle for knowing whether the editor is active. -Ignore a view-item's custom brush when it's selected (as QCommonStyle does). -Cleaned up the code of transient scrollbar animation (and fixed a rare case, where a transient scrollbar might not disappear after app startup — as in kcharselect). -Fixed a small problem in (Krita's) KisSliderSpinBox.
36 lines
998 B
Makefile
36 lines
998 B
Makefile
# $NetBSD: Makefile,v 1.11 2021/03/12 09:40:14 pin Exp $
|
|
|
|
DISTNAME= Kvantum-0.19.0
|
|
PKGNAME= ${DISTNAME:tl}
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=tsujan/}
|
|
GITHUB_TAG= V${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pin@NetBSD.org
|
|
HOMEPAGE= https://github.com/tsujan/Kvantum/
|
|
COMMENT= SVG-based theme engine for Qt and KDE
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/Kvantum
|
|
USE_CMAKE= yes
|
|
USE_TOOLS+= gmake
|
|
USE_LANGUAGES= c c++
|
|
|
|
CONFIGURE_DIRS= build
|
|
CMAKE_ARG_PATH= ..
|
|
|
|
CMAKE_ARGS+= -DCMAKE_INSTALL_PREFIX=${PREFIX}
|
|
|
|
pre-configure:
|
|
${MKDIR} -p ${WRKSRC}/build
|
|
|
|
TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools
|
|
|
|
.include "../../x11/qt5-qtbase/buildlink3.mk"
|
|
.include "../../x11/qt5-qtsvg/buildlink3.mk"
|
|
.include "../../x11/qt5-qtx11extras/buildlink3.mk"
|
|
.include "../../x11/kwindowsystem/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|