pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/misc/qt6gtk2



Module Name:    pkgsrc
Committed By:   vins
Date:           Sat Sep  2 14:58:38 UTC 2023

Added Files:
        pkgsrc/misc/qt6gtk2: DESCR Makefile PLIST distinfo
        pkgsrc/misc/qt6gtk2/files: README

Log Message:
misc/qt6gtk2: import qt6gtk2-0.2

This package pulls in the additional GTK+2.0 widget style plugin for Qt6
and the GTK+2 platform theme.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/qt6gtk2/DESCR pkgsrc/misc/qt6gtk2/Makefile \
    pkgsrc/misc/qt6gtk2/PLIST pkgsrc/misc/qt6gtk2/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/qt6gtk2/files/README

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/misc/qt6gtk2/DESCR
diff -u /dev/null pkgsrc/misc/qt6gtk2/DESCR:1.1
--- /dev/null   Sat Sep  2 14:58:38 2023
+++ pkgsrc/misc/qt6gtk2/DESCR   Sat Sep  2 14:58:37 2023
@@ -0,0 +1,2 @@
+This package pulls in the additional GTK+2.0 widget style plugin for Qt6
+and the GTK+2 platform theme.
Index: pkgsrc/misc/qt6gtk2/Makefile
diff -u /dev/null pkgsrc/misc/qt6gtk2/Makefile:1.1
--- /dev/null   Sat Sep  2 14:58:38 2023
+++ pkgsrc/misc/qt6gtk2/Makefile        Sat Sep  2 14:58:37 2023
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1 2023/09/02 14:58:37 vins Exp $
+
+DISTNAME=      qt6gtk2-0.2
+CATEGORIES=    misc x11
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=trialuser02/}
+GITHUB_TAG=    ${PKGVERSION_NOREV}
+
+MAINTAINER=    vins%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/trialuser02/qt6ct/
+COMMENT=       GTK+2.0 integration plugins for Qt6
+LICENSE=       gnu-gpl-v2
+
+USE_LANGUAGES=         c c++
+USE_CXX_FEATURES+=     c++11
+USE_TOOLS=             pkg-config
+
+GCC_REQD+=     9 #qt6
+
+QMAKE_ARGS+=   qt6gtk2.pro
+QMAKE_ARGS+=   QMAKE_CXXFLAGS=${CXXFLAGS:Q}
+QMAKE_ARGS+=   PREFIX=${PREFIX}
+
+DOCDIR=                        share/doc/${PKGBASE}
+INSTALLATION_DIRS+=    ${DOCDIR}
+INSTALL_MAKE_FLAGS+=   INSTALL_ROOT=${DESTDIR}
+
+do-configure:
+       ${RUN}cd ${WRKSRC} &&                   \
+               ${SETENV} ${CONFIGURE_ENV}      \
+               ${QTDIR}/bin/qmake ${QMAKE_ARGS}
+
+post-install:
+       ${INSTALL_DATA} ${FILESDIR}/README      \
+               ${DESTDIR}${PREFIX}/${DOCDIR}/README
+
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+#.include "../../devel/cmake/build.mk"
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/misc/qt6gtk2/PLIST
diff -u /dev/null pkgsrc/misc/qt6gtk2/PLIST:1.1
--- /dev/null   Sat Sep  2 14:58:38 2023
+++ pkgsrc/misc/qt6gtk2/PLIST   Sat Sep  2 14:58:37 2023
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2023/09/02 14:58:37 vins Exp $
+qt6/plugins/platformthemes/libqt6gtk2.so
+qt6/plugins/styles/libqt6gtk2-style.so
+share/doc/qt6gtk2/README
Index: pkgsrc/misc/qt6gtk2/distinfo
diff -u /dev/null pkgsrc/misc/qt6gtk2/distinfo:1.1
--- /dev/null   Sat Sep  2 14:58:38 2023
+++ pkgsrc/misc/qt6gtk2/distinfo        Sat Sep  2 14:58:37 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/09/02 14:58:37 vins Exp $
+
+BLAKE2s (qt6gtk2-0.2.tar.gz) = 3ad750e14b608275a13d1df2cb781446b2791f7ccbf6acafadcb17568ad248a7
+SHA512 (qt6gtk2-0.2.tar.gz) = 0254ba0382a2eede80bf816514b055f69aef568ef87a06c9941bf769fa70206f6a39811dc82ae61d15741a716ab4fd2543ed166bb720c99c091e4204849bdb6e
+Size (qt6gtk2-0.2.tar.gz) = 65559 bytes

Index: pkgsrc/misc/qt6gtk2/files/README
diff -u /dev/null pkgsrc/misc/qt6gtk2/files/README:1.1
--- /dev/null   Sat Sep  2 14:58:38 2023
+++ pkgsrc/misc/qt6gtk2/files/README    Sat Sep  2 14:58:38 2023
@@ -0,0 +1,14 @@
++----------------------------------------------------------------------
+| GTK+2 initegration plugin for Qt6
++----------------------------------------------------------------------
+
+To enable the qt6gtk2 plugin, set the QT_QPA_PLATFORMTHEME environmental
+variable as follows:
+
+export QT_QPA_PLATFORMTHEME=gtk2
+
+Place this inside your ~/.profile and re-login for changes to take
+effect. 
+
+NOTE: Environment variable QT_STYLE_OVERRIDE should be removed before
+usage. 



Home | Main Index | Thread Index | Old Index