Revision: 149653 https://trac.macports.org/changeset/149653 Author: cal@macports.org Date: 2016-06-28 12:38:13 -0700 (Tue, 28 Jun 2016) Log Message: ----------- quassel: use qt5 Especially on high-DPI displays, Qt5 performs a lot better than Qt4. Unfortunately, our list of dependencies supporting Qt5 is not very long at the moment; notably we do not have phonon or dbusmenu-qt for Qt5 (although the latter seems to be used for clickable menus which seems to work without DBus on OS X). For QCA we only have a variant for Qt5 support, which would require using the active_variants PortGroup and manual user interaction. Since QCA is only needed for client-side encrypted IRC communication, which isn't widely used, I think we can get away without it for now. Modified Paths: -------------- trunk/dports/irc/quassel/Portfile Modified: trunk/dports/irc/quassel/Portfile =================================================================== --- trunk/dports/irc/quassel/Portfile 2016-06-28 19:10:30 UTC (rev 149652) +++ trunk/dports/irc/quassel/Portfile 2016-06-28 19:38:13 UTC (rev 149653) @@ -4,10 +4,11 @@ PortSystem 1.0 PortGroup cmake 1.0 PortGroup cxx11 1.0 -PortGroup qt4 1.0 +PortGroup qt5 1.0 name quassel version 0.12.4 +revision 1 categories irc license GPL-2 GPL-3 platforms darwin @@ -19,9 +20,8 @@ sha256 93e4e54cb3743cbe2e5684c2fcba94fd2bc2cd739f7672dee14341b49c29444d depends_lib-append \ - port:dbusmenu-qt \ + port:qt5-qtscript \ path:lib/libssl.dylib:openssl \ - port:phonon \ port:zlib use_bzip2 yes @@ -29,7 +29,6 @@ # Do not use git to find out the program version - there is no ".git" directory # in the source tarball patchfiles patch-scripts-build-macosx_makebundle.py.diff -# patch-render.diff post-patch { reinplace "s|@@VERSION@@|${version}|" \ @@ -41,16 +40,17 @@ configure.args -DWANT_CORE=OFF \ -DWANT_QTCLIENT=OFF \ -DWANT_MONO=OFF \ - -DWITH_KDE=OFF + -DWITH_KDE=OFF \ + -DUSE_QT5=ON if {${name} eq ${subport}} { description \ - Qt4 IRC client + Qt5 IRC client long_description \ Quassel IRC is a modern, cross-platform IRC client. This port installs \ the monolithic variant, which does not require a separate Quassel core. - depends_run-append port:qt4-mac-sqlite3-plugin + depends_run-append port:qt5-sqlite-plugin configure.args-replace -DWANT_MONO=OFF -DWANT_MONO=ON @@ -61,14 +61,17 @@ subport ${name}-client { description \ - Qt4 IRC client - client component + Qt5 IRC client - client component long_description \ Quassel IRC is a modern, cross-platform, distributed IRC client, \ meaning that one (or multiple) client(s) can attach to and detach from \ a central core - much like the popular combination of screen and a \ text-based IRC client such as WeeChat, but graphical. - depends_run-append port:qca-ossl + # QCA is needed for chat encryption, but we only have a variant for Qt5 + # QCA, so we'd have to use require_active_variants, which I think isn't + # worth the additional effort. + #depends_run-append port:qca-ossl configure.args-replace -DWANT_QTCLIENT=OFF -DWANT_QTCLIENT=ON
participants (1)
-
cal@macports.org