Skip to content

Commit

Permalink
Merge pull request #466 from mozilla-mobile/qt5.14
Browse files Browse the repository at this point in the history
Support QT 5.14
  • Loading branch information
bakulf committed Jan 18, 2021
2 parents 954845c + b591d90 commit f2c33b1
Show file tree
Hide file tree
Showing 80 changed files with 475 additions and 154 deletions.
89 changes: 89 additions & 0 deletions linux/debian/control.bionic
@@ -0,0 +1,89 @@
Source: mozillavpn
Section: net
Priority: optional
Maintainer: mozilla <vpn@mozilla.com>
Build-Depends: debhelper (>= 8.1.3),
cdbs,
quilt,
flex,
qt515base (>=5.15.2-1basyskom4),
qt515charts-no-lgpl (>=5.15.2-1basyskom1),
qt515declarative (>= 5.15.2-1basyskom1),
qt515graphicaleffects (>= 5.15.2-1basyskom1),
qt515imageformats (>= 5.15.2-1basyskom),
qt515networkauth-no-lgpl (>= 5.15.2-1basyskom1),
qt515quickcontrols2 (>=5.15.2-1basyskom1),
qt515svg (>=5.15.2-1basyskom1),
qt515tools (>=5.15.2-1basyskom1),
libxcb-render0-dev,
libxcb-image0-dev,
libxcb-shape0-dev,
libxcb-sync0-dev,
libxcb-render-util0-dev,
libxcb1-dev,
libxcb-xfixes0-dev,
libxcb-icccm4-dev,
libxcb1-dev,
libx11-xcb-dev,
libxcb-keysyms1-dev,
libxcb-image0-dev,
libxcb-shm0-dev,
libxcb-icccm4-dev,
libxcb-sync0-dev,
libxcb-xfixes0-dev,
libxrender-dev,
libxcb-shape0-dev,
libasound2-dev,
libaudio-dev,
libcups2-dev,
libdbus-1-dev,
libfreetype6-dev,
libgl1-mesa-dev [!armel !armhf] | libgl-dev [!armel !armhf],
libgles2-mesa-dev [armel armhf] | libgles2-dev [armel armhf],
libglib2.0-dev,
libglu1-mesa-dev [!armel !armhf] | libglu-dev [!armel !armhf],
libice-dev,
libjpeg-dev,
libmng-dev,
libpng-dev,
libsm-dev,
libsqlite3-dev,
libssl-dev,
libtiff5-dev,
libx11-dev,
libxcursor-dev,
libxext-dev,
libxft-dev,
libxi-dev,
libxinerama-dev,
libxmu-dev,
libxrandr-dev,
libxrender-dev,
libxt-dev,
libxv-dev,
zlib1g-dev,
libedit-dev,
libvulkan-dev,
libpolkit-gobject-1-dev
Standards-Version: 4.4.1
Homepage: https://vpn.mozilla.org/
Vcs-Git: https://github.com/mozilla-mobile/mozilla-vpn-client

Package: mozillavpn
Architecture: any
Depends: libpolkit-gobject-1-0 (>=0.105-20),
wireguard (>=1.0.20200513-1~18.04.2),
wireguard-tools (>=1.0.20200513-1~18.04.2),
libicu60 (>=60.2-3ubuntu3),
libxcb-xinerama0 (>=1.13-1),
resolvconf (>=1.79ubuntu10),
qt515base (>=5.15.2-1basyskom4),
qt515charts-no-lgpl (>=5.15.2-1basyskom1),
qt515declarative (>= 5.15.2-1basyskom1),
qt515graphicaleffects (>= 5.15.2-1basyskom1),
qt515imageformats (>= 5.15.2-1basyskom),
qt515networkauth-no-lgpl (>= 5.15.2-1basyskom1),
qt515quickcontrols2 (>=5.15.2-1basyskom1),
qt515svg (>=5.15.2-1basyskom1)
Description: A fast, secure and easy to use VPN. Built by the makers of Firefox.
Read more on https://vpn.mozilla.org
File renamed without changes.
104 changes: 104 additions & 0 deletions linux/debian/control.groovy
@@ -0,0 +1,104 @@
Source: mozillavpn
Section: net
Priority: optional
Maintainer: mozilla <vpn@mozilla.com>
Build-Depends: debhelper (>= 8.1.3),
cdbs,
quilt,
flex,
libqt5charts5-dev (>=5.14.2-2),
libqt5networkauth5-dev (>=5.14.2-2),
qt5-default (>=5.14.2+dfsg-6),
qtbase5-dev (>=5.14.2+dfsg-6),
qtbase5-dev-tools (>=5.14.2+dfsg-6),
qtdeclarative5-dev (>=5.14.2+dfsg-3ubuntu1),
qtdeclarative5-dev-tools (>=5.14.2+dfsg-3ubuntu1),
qt5-qmake-bin (>=5.14.2+dfsg-6),
qttools5-dev-tools (>=5.14.2-3),
libxcb-render0-dev,
libxcb-image0-dev,
libxcb-shape0-dev,
libxcb-sync0-dev,
libxcb-render-util0-dev,
libxcb1-dev,
libxcb-xfixes0-dev,
libxcb-icccm4-dev,
libxcb1-dev,
libx11-xcb-dev,
libxcb-keysyms1-dev,
libxcb-image0-dev,
libxcb-shm0-dev,
libxcb-icccm4-dev,
libxcb-sync0-dev,
libxcb-xfixes0-dev,
libxrender-dev,
libxcb-shape0-dev,
g++-4.6 (>= 4.6.0-7~) [armel],
libasound2-dev [linux-any],
libaudio-dev,
libcups2-dev,
libdbus-1-dev,
libfreetype6-dev,
libgl1-mesa-dev [!armel !armhf] | libgl-dev [!armel !armhf],
libgles2-mesa-dev [armel armhf] | libgles2-dev [armel armhf],
libglib2.0-dev,
libglu1-mesa-dev [!armel !armhf] | libglu-dev [!armel !armhf],
libice-dev,
libjpeg-dev,
libmng-dev,
libpng-dev,
libsm-dev,
libsqlite3-dev,
libssl-dev,
libtiff5-dev,
libx11-dev,
libxcursor-dev,
libxext-dev,
libxft-dev,
libxi-dev,
libxinerama-dev,
libxmu-dev,
libxrandr-dev,
libxrender-dev,
libxt-dev,
libxv-dev,
zlib1g-dev,
libedit-dev,
libvulkan-dev,
libpolkit-gobject-1-dev
Standards-Version: 4.4.1
Homepage: https://vpn.mozilla.org/
Vcs-Git: https://github.com/mozilla-mobile/mozilla-vpn-client

Package: mozillavpn
Architecture: any
Depends: libpolkit-gobject-1-0 (>=0.105-20ubuntu0.18.04.5),
wireguard (>=1.0.20200513-1~18.04.2),
wireguard-tools (>=1.0.20200513-1~18.04.2),
resolvconf (>=1.82),
libqt5charts5 (>=5.14.2-2),
libqt5quick5 (>=5.14.2+dfsg-3ubuntu1),
libqt5widgets5 (>=5.14.2+dfsg-6),
libqt5gui5 (>=5.14.2+dfsg-6),
libqt5qml5 (>=5.14.2+dfsg-3ubuntu1),
libqt5network5 (>=5.14.2+dfsg-6),
libqt5networkauth5 (>=5.14.2-2),
libqt5dbus5 (>=5.14.2+dfsg-6),
libqt5core5a (>=5.14.2+dfsg-6),
libqt5qmlmodels5 (>=5.14.2+dfsg-3ubuntu1),
libqt5svg5 (>=5.14.2-2),
libqt5quickcontrols2-5 (>=5.14.2+dfsg-2),
qml-module-qtcharts (>=5.14.2-2),
qml-module-qtgraphicaleffects (>=5.14.2-2),
qml-module-qtquick-controls (>=5.14.2-2),
qml-module-qtquick-controls2 (>=5.14.2+dfsg-2),
qml-module-qtquick-extras (>=5.14.2-2),
qml-module-qtquick-layouts (>=5.14.2+dfsg-3ubuntu1),
qml-module-qtquick-window2 (>=5.14.2+dfsg-3ubuntu1),
qml-module-qtquick2 (>=5.14.2+dfsg-3ubuntu1),
qml-module-qtqml-models2 (>=5.14.2+dfsg-3ubuntu1),
qml-module-qtqml (>=5.14.2+dfsg-3ubuntu1)
Description: A fast, secure and easy to use VPN. Built by the makers of Firefox.
Read more on https://vpn.mozilla.org


File renamed without changes.
18 changes: 18 additions & 0 deletions linux/debian/rules.prod.focal
@@ -0,0 +1,18 @@
#!/usr/bin/make -f

export DH_VERBOSE=1
export QTDIR := /opt/qt515
export PATH := $(QTDIR)/bin:$(PATH)
export LD_LIBRARY_PATH := $(QTDIR)/lib:$(LD_LIBRARY_PATH)

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

%:
dh $@ --warn-missing

override_dh_auto_configure:
qmake CONFIG+=production CONFIG-=debug CONFIG+=release CONFIG-=debug_and_release

override_dh_installdocs:

override_dh_installinfo:
15 changes: 15 additions & 0 deletions linux/debian/rules.prod.groovy
@@ -0,0 +1,15 @@
#!/usr/bin/make -f

export DH_VERBOSE=1

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

%:
dh $@ --warn-missing

override_dh_auto_configure:
qmake CONFIG+=production CONFIG-=debug CONFIG+=release CONFIG-=debug_and_release

override_dh_installdocs:

override_dh_installinfo:
18 changes: 18 additions & 0 deletions linux/debian/rules.stage.bionic
@@ -0,0 +1,18 @@
#!/usr/bin/make -f

export DH_VERBOSE=1
export QTDIR := /opt/qt515
export PATH := $(QTDIR)/bin:$(PATH)
export LD_LIBRARY_PATH := $(QTDIR)/lib:$(LD_LIBRARY_PATH)

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

%:
dh $@ --warn-missing

override_dh_auto_configure:
qmake CONFIG+=production CONFIG-=debug CONFIG+=release CONFIG-=debug_and_release

override_dh_installdocs:

override_dh_installinfo:
File renamed without changes.
15 changes: 15 additions & 0 deletions linux/debian/rules.stage.groovy
@@ -0,0 +1,15 @@
#!/usr/bin/make -f

export DH_VERBOSE=1

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

%:
dh $@ --warn-missing

override_dh_auto_configure:
qmake CONFIG-=debug CONFIG+=release CONFIG-=debug_and_release

override_dh_installdocs:

override_dh_installinfo:
4 changes: 2 additions & 2 deletions mozillavpn.pro
Expand Up @@ -2,11 +2,11 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

!versionAtLeast(QT_VERSION, 5.15.0) {
!versionAtLeast(QT_VERSION, 5.14.0) {
message("Cannot use Qt $${QT_VERSION}")

!android {
error("Use Qt 5.15 or newer")
error("Use Qt 5.14 or newer")
}
}

Expand Down

0 comments on commit f2c33b1

Please sign in to comment.