Created attachment 187502 [details] svn diff of port files update to suil v0.10.0 adds support for for QT5 widgets in gtk2 and vice versa
Hi Michael To depend on Qt[45] you should use the USE_QT4=... and USE_QT5=... respectively functionnality. [But that will prohibit you from depending on different versions at the same time]. If the toolkit-parts can be built separately, how about creating slave-ports for them? mfg Tobias
You could also use options like OPTIONS_MULTI=TOOLKIT OPTIONS_MULTI_TOOLKIT=GTK2 GTK3 QT4 QT5 QT4_USE= QT4=corelib,gui [...] QT4_PREVENTS= QT5 [...]
I already thought about using options. However my conclusion was that in case you have to use this library, you very likely have a full featured desktop installation anyway using all of these toolkits already. So, if using options my default would definitely be using all toolkits. However I've not objections in opting out some of them. I'm just not sure how this can be reflected in the pkg-plist file!? Michael
You can mask plist entries via PLIST_SUBs https://www.freebsd.org/doc/en/books/porters-handbook/plist.html
Created attachment 187769 [details] svn diff of port files New version for the update. This allows now to disable QT4 or/and QT5 support.
I've also simplified stripping. You can strip all .so files with one command.
A commit references this bug: Author: amdmi3 Date: Fri Dec 8 17:44:33 UTC 2017 New revision: 455787 URL: https://svnweb.freebsd.org/changeset/ports/455787 Log: - Update to 0.10.0 - Optionize Qt4/Qt5 support PR: 223266 Submitted by: beerml@sigma6audio.de (maintainer) Changes: head/audio/suil/Makefile head/audio/suil/distinfo head/audio/suil/pkg-plist