diff --git a/x11-themes/qt6gtk2/Makefile b/x11-themes/qt6gtk2/Makefile index 82fc69e..fbf9c04 100644 --- a/x11-themes/qt6gtk2/Makefile +++ b/x11-themes/qt6gtk2/Makefile @@ -1,15 +1,16 @@ PORTNAME= qt6gtk2 -PORTVERSION= 0.3 -PORTREVISION= 1 +PORTVERSION= 0.5 CATEGORIES= x11-themes MAINTAINER= root@dc365.ru COMMENT= Qt6Gtk2 - GTK+2.0 integration plugins for Qt6 -WWW= https://github.com/trialuser02/qt6gtk2 +WWW= https://www.opencode.net/trialuser/qt6gtk2 -USE_GITHUB= yes -GH_ACCOUNT= trialuser02 -GH_PROJECT= qt6gtk2 +USE_GITLAB= yes +GL_SITE= https://www.opencode.net +GL_ACCOUNT= trialuser +GL_PROJECT= qt6gtk2 +GL_COMMIT= 8e019e8b67b4022d15a6c1344e42ca5b9bb9df40 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING diff --git a/x11-themes/qt6gtk2/distinfo b/x11-themes/qt6gtk2/distinfo index bff5611..83dfe5f 100644 --- a/x11-themes/qt6gtk2/distinfo +++ b/x11-themes/qt6gtk2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1739169346 -SHA256 (trialuser02-qt6gtk2-0.3_GH0.tar.gz) = 15ddd412336198b41383cc46260f2161de9100617b57d8f3de7ad5788e2f05a8 -SIZE (trialuser02-qt6gtk2-0.3_GH0.tar.gz) = 65979 +TIMESTAMP = 1750067242 +SHA256 (trialuser-qt6gtk2-8e019e8b67b4022d15a6c1344e42ca5b9bb9df40_GL0.tar.gz) = 6b266eb39130364f35d9a261289e944938c8603a166bb00ebfd0103890fc9e43 +SIZE (trialuser-qt6gtk2-8e019e8b67b4022d15a6c1344e42ca5b9bb9df40_GL0.tar.gz) = 66289 diff --git a/x11-themes/qt6gtk2/files/patch-src_qt6gtk2-style_qstylehelper__p.h b/x11-themes/qt6gtk2/files/patch-src_qt6gtk2-style_qstylehelper__p.h deleted file mode 100644 index 485c7a2..0000000 --- a/x11-themes/qt6gtk2/files/patch-src_qt6gtk2-style_qstylehelper__p.h +++ /dev/null @@ -1,40 +0,0 @@ ---- src/qt6gtk2-style/qstylehelper_p.h.orig 2025-06-11 06:41:16 UTC -+++ src/qt6gtk2-style/qstylehelper_p.h -@@ -43,6 +43,37 @@ - - QT_BEGIN_NAMESPACE - -+#if (QT_VERSION >= QT_VERSION_CHECK(6, 9, 0)) -+#define BEGIN_STYLE_PIXMAPCACHE(a) \ -+ QRect rect = option->rect; \ -+ QPixmap internalPixmapCache; \ -+ QPainter *p = painter; \ -+ const auto dpr = p->device()->devicePixelRatio(); \ -+ const QString unique = QStyleHelper::uniqueName((a), option, option->rect.size(), dpr); \ -+ int txType = painter->deviceTransform().type() | painter->worldTransform().type(); \ -+ const bool doPixmapCache = (!option->rect.isEmpty()) \ -+ && ((txType <= QTransform::TxTranslate) || (painter->deviceTransform().type() == QTransform::TxScale)); \ -+ if (doPixmapCache && QPixmapCache::find(unique, &internalPixmapCache)) { \ -+ painter->drawPixmap(option->rect.topLeft(), internalPixmapCache); \ -+ } else { \ -+ if (doPixmapCache) { \ -+ rect.setRect(0, 0, option->rect.width(), option->rect.height()); \ -+ internalPixmapCache = styleCachePixmap(option->rect.size(), dpr); \ -+ p = new QPainter(&internalPixmapCache); \ -+ } -+ -+ -+ -+#define END_STYLE_PIXMAPCACHE \ -+ if (doPixmapCache) { \ -+ p->end(); \ -+ delete p; \ -+ painter->drawPixmap(option->rect.topLeft(), internalPixmapCache); \ -+ QPixmapCache::insert(unique, internalPixmapCache); \ -+ } \ -+ } -+#endif -+ - class QPainter; - class QPixmap; - class QStyleOptionSlider;