aboutsummaryrefslogtreecommitdiff
path: root/depends/packages
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2019-09-16 13:25:15 +0800
committerfanquake <fanquake@gmail.com>2019-09-16 13:25:25 +0800
commit4d45577c4314fd7075094d5b3384b4b86100c125 (patch)
treecd3c3c0ccd97e74b317da70a4d1006819dda8db9 /depends/packages
parentb0a7a76c9d2e2aea686178016e114dc74264b9ff (diff)
build: remove unnecessary macOS qt patching
Patching in kCGMouseButtonLeft should not be required. Looks like this hasn't been needed since qt 5.5 or so: https://codereview.qt-project.org/c/qt/qtbase/+/115138
Diffstat (limited to 'depends/packages')
-rw-r--r--depends/packages/qt.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/depends/packages/qt.mk b/depends/packages/qt.mk
index 57208a678a..b34d9cb10e 100644
--- a/depends/packages/qt.mk
+++ b/depends/packages/qt.mk
@@ -158,7 +158,6 @@ define $(package)_preprocess_cmds
sed -i.old "s/src_plugins.depends = src_sql src_network/src_plugins.depends = src_network/" qtbase/src/src.pro && \
sed -i.old "s|X11/extensions/XIproto.h|X11/X.h|" qtbase/src/plugins/platforms/xcb/qxcbxsettings.cpp && \
sed -i.old -e 's/if \[ "$$$$XPLATFORM_MAC" = "yes" \]; then xspecvals=$$$$(macSDKify/if \[ "$$$$BUILD_ON_MAC" = "yes" \]; then xspecvals=$$$$(macSDKify/' -e 's|/bin/pwd|pwd|' qtbase/configure && \
- sed -i.old 's/CGEventCreateMouseEvent(0, kCGEventMouseMoved, pos, 0)/CGEventCreateMouseEvent(0, kCGEventMouseMoved, pos, kCGMouseButtonLeft)/' qtbase/src/plugins/platforms/cocoa/qcocoacursor.mm && \
mkdir -p qtbase/mkspecs/macx-clang-linux &&\
cp -f qtbase/mkspecs/macx-clang/Info.plist.lib qtbase/mkspecs/macx-clang-linux/ &&\
cp -f qtbase/mkspecs/macx-clang/Info.plist.app qtbase/mkspecs/macx-clang-linux/ &&\