aboutsummaryrefslogtreecommitdiff
path: root/graphics/qt5-pixeltool
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2016-01-24 18:10:14 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2016-01-24 18:10:14 +0000
commit4c67812e0161cb63098ede0c2645e53c5060ecd9 (patch)
tree66663b28c2c298161be86b00114ab18d6fad8670 /graphics/qt5-pixeltool
parent7b72d170ba3c89c7e408c333297d8ecfa3ba72f1 (diff)
Notes
Diffstat (limited to 'graphics/qt5-pixeltool')
-rw-r--r--graphics/qt5-pixeltool/Makefile2
-rw-r--r--graphics/qt5-pixeltool/files/patch-git_a685d8a20
-rw-r--r--graphics/qt5-pixeltool/files/patch-src__src.pro7
3 files changed, 24 insertions, 5 deletions
diff --git a/graphics/qt5-pixeltool/Makefile b/graphics/qt5-pixeltool/Makefile
index d6bced7cae9d..0932416f1af3 100644
--- a/graphics/qt5-pixeltool/Makefile
+++ b/graphics/qt5-pixeltool/Makefile
@@ -8,7 +8,7 @@ PKGNAMEPREFIX= qt5-
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt 5 screen magnifier
-USE_QT5= core network widgets buildtools_build
+USE_QT5= core gui widgets buildtools_build
QT_DIST= tools
USES= qmake
diff --git a/graphics/qt5-pixeltool/files/patch-git_a685d8a b/graphics/qt5-pixeltool/files/patch-git_a685d8a
new file mode 100644
index 000000000000..5f25c96cfd43
--- /dev/null
+++ b/graphics/qt5-pixeltool/files/patch-git_a685d8a
@@ -0,0 +1,20 @@
+commit a685d8ad61335ce9908bf5ce4d4cd63283965a83
+Author: Raphael Kubo da Costa <rakuco@FreeBSD.org>
+Date: Tue Jan 19 15:19:49 2016 +0100
+
+ pixeltool: Stop depending on QtNetwork.
+
+ There is nothing in the code using the QtNetwork module, so stop
+ requiring it in the build system.
+
+ Change-Id: I1f7bc89a9589dc2510f38a11fc4b4aeb69d662bc
+ Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
+
+--- src/pixeltool/pixeltool.pro
++++ src/pixeltool/pixeltool.pro
+@@ -1,4 +1,4 @@
+-QT += widgets network
++QT += widgets
+
+ mac {
+ QMAKE_INFO_PLIST=Info_mac.plist
diff --git a/graphics/qt5-pixeltool/files/patch-src__src.pro b/graphics/qt5-pixeltool/files/patch-src__src.pro
index 966cb3496f48..81e5d1f3852c 100644
--- a/graphics/qt5-pixeltool/files/patch-src__src.pro
+++ b/graphics/qt5-pixeltool/files/patch-src__src.pro
@@ -3,7 +3,7 @@ missing dependencies.
--- src/src.pro
+++ src/src.pro
-@@ -1,38 +1,2 @@
+@@ -1,37 +1,2 @@
TEMPLATE = subdirs
-
-qtHaveModule(widgets) {
@@ -14,13 +14,13 @@ missing dependencies.
- pixeltool \
- qtestlib \
- designer
--# unix:!mac:!embedded:!qpa:SUBDIRS += qtconfig
-
- linguist.depends = designer
- }
-}
-
--SUBDIRS += linguist
+-SUBDIRS += linguist \
+- qtplugininfo
-if(!android|android_app):!ios: SUBDIRS += qtpaths
-
-mac {
@@ -39,7 +39,6 @@ missing dependencies.
-
-qtNomakeTools( \
- pixeltool \
-- qtconfig \
- macdeployqt \
-)
+SUBDIRS = pixeltool