Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2019 08:44:00 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r496031 - head/audio/suil
Message-ID:  <201903170844.x2H8i0i3022665@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sun Mar 17 08:44:00 2019
New Revision: 496031
URL: https://svnweb.freebsd.org/changeset/ports/496031

Log:
  audio/suil: remove QT4/QT5 options (Qt4 deprecation)
  
  - while here switch to the proper way to depend on Qt
  - pet portlint
  
  Approved by:	portmgr (implicit)

Modified:
  head/audio/suil/Makefile
  head/audio/suil/pkg-plist

Modified: head/audio/suil/Makefile
==============================================================================
--- head/audio/suil/Makefile	Sun Mar 17 08:36:45 2019	(r496030)
+++ head/audio/suil/Makefile	Sun Mar 17 08:44:00 2019	(r496031)
@@ -3,7 +3,7 @@
 
 PORTNAME=	suil
 PORTVERSION=	0.10.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio
 MASTER_SITES=	http://download.drobilla.net/
 
@@ -18,23 +18,13 @@ LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2
 RUN_DEPENDS=	lv2>=1.14.0:audio/lv2
 
-USES=		gnome pkgconfig python:build tar:bzip2 waf
+USES=		compiler:c++11-lang gnome pkgconfig python:build qt:5 tar:bzip2 waf
 USE_GNOME=	atk cairo gdkpixbuf2 glib20 gtk20 gtk30 pango
+USE_QT=		core gui widgets
+USE_XORG=	x11
 USE_LDCONFIG=	yes
 
 PLIST_SUB=	SUILVERSION=${PORTVERSION}
-
-OPTIONS_DEFINE=		QT4 QT5
-OPTIONS_DEFAULT=	QT5
-OPTIONS_SUB=		yes
-QT4_CONFIGURE_OFF=	--no-qt4
-QT4_LIB_DEPENDS=	libQtCore.so:devel/qt4-corelib \
-			libQtGui.so:x11-toolkits/qt4-gui
-QT5_CONFIGURE_OFF=	--no-qt5
-QT5_LIB_DEPENDS=	libQt5Core.so:devel/qt5-core \
-			libQt5Gui.so:x11-toolkits/qt5-gui \
-			libQt5Widgets.so:x11-toolkits/qt5-widgets
-QT5_USES=	compiler:c++11-lang
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsuil-0.so.${PORTVERSION}

Modified: head/audio/suil/pkg-plist
==============================================================================
--- head/audio/suil/pkg-plist	Sun Mar 17 08:36:45 2019	(r496030)
+++ head/audio/suil/pkg-plist	Sun Mar 17 08:44:00 2019	(r496031)
@@ -2,13 +2,10 @@ include/suil-0/suil/suil.h
 lib/libsuil-0.so
 lib/libsuil-0.so.0
 lib/libsuil-0.so.%%SUILVERSION%%
-%%QT4%%lib/suil-0/libsuil_gtk2_in_qt4.so
-%%QT5%%lib/suil-0/libsuil_gtk2_in_qt5.so
-%%QT4%%lib/suil-0/libsuil_qt4_in_gtk2.so
-%%QT5%%lib/suil-0/libsuil_qt5_in_gtk2.so
+lib/suil-0/libsuil_gtk2_in_qt5.so
+lib/suil-0/libsuil_qt5_in_gtk2.so
 lib/suil-0/libsuil_x11_in_gtk2.so
 lib/suil-0/libsuil_x11_in_gtk3.so
-%%QT4%%lib/suil-0/libsuil_x11_in_qt4.so
-%%QT5%%lib/suil-0/libsuil_x11_in_qt5.so
+lib/suil-0/libsuil_x11_in_qt5.so
 lib/suil-0/libsuil_x11.so
 libdata/pkgconfig/suil-0.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903170844.x2H8i0i3022665>