From 90e197fdff6967d0d11cf4cb129fc1c70522e5ec Mon Sep 17 00:00:00 2001
From: Akira Ohgaki <akiraohgaki@gmail.com>
Date: Thu, 23 Feb 2017 15:54:06 +0900
Subject: [PATCH] Package depends

---
 pkg/arch/PKGBUILD         | 2 +-
 pkg/fedora/ocs-url.spec   | 2 +-
 pkg/snap/snapcraft.yaml   | 1 -
 pkg/ubuntu/debian/control | 4 ++--
 4 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/pkg/arch/PKGBUILD b/pkg/arch/PKGBUILD
index f858616..69c1fba 100644
--- a/pkg/arch/PKGBUILD
+++ b/pkg/arch/PKGBUILD
@@ -7,7 +7,7 @@ pkgdesc='An install helper program for items served on OpenCollaborationServices
 arch=('i686' 'x86_64')
 url='https://github.com/ocs-url/ocs-url'
 license=('GPL3')
-depends=('qt5-base>=5.3.0' 'qt5-svg>=5.3.0' 'qt5-declarative>=5.3.0' 'qt5-quickcontrols>=5.3.0')
+depends=('qt5-base>=5.2.0' 'qt5-svg>=5.2.0' 'qt5-declarative>=5.2.0' 'qt5-quickcontrols>=5.2.0')
 #source=("https://github.com/ocs-url/ocs-url/archive/release-${pkgver}.tar.gz")
 source=("${pkgname}.tar.gz")
 md5sums=() #autofill using updpkgsums
diff --git a/pkg/fedora/ocs-url.spec b/pkg/fedora/ocs-url.spec
index 99e43e2..f4b9e46 100644
--- a/pkg/fedora/ocs-url.spec
+++ b/pkg/fedora/ocs-url.spec
@@ -9,7 +9,7 @@ URL: https://github.com/ocs-url/ocs-url
 #Source0: https://github.com/ocs-url/ocs-url/archive/release-%{version}.tar.gz
 Source0: %{name}.tar.gz
 
-Requires: qt5-qtbase >= 5.3.0, qt5-qtbase-gui >= 5.3.0, qt5-qtsvg >= 5.3.0, qt5-qtdeclarative >= 5.3.0, qt5-qtquickcontrols >= 5.3.0
+Requires: qt5-qtbase >= 5.2.0, qt5-qtbase-gui >= 5.2.0, qt5-qtsvg >= 5.2.0, qt5-qtdeclarative >= 5.2.0, qt5-qtquickcontrols >= 5.2.0
 BuildRequires: make, automake, gcc, gcc-c++, libtool, qt5-qtbase-devel, qt5-qtsvg-devel, qt5-qtdeclarative-devel, rpm-build
 
 %description
diff --git a/pkg/snap/snapcraft.yaml b/pkg/snap/snapcraft.yaml
index 5bb7027..895bf47 100644
--- a/pkg/snap/snapcraft.yaml
+++ b/pkg/snap/snapcraft.yaml
@@ -25,7 +25,6 @@ parts:
     stage-packages:
       - libqt5svg5
       - qml-module-qtquick-controls
-      - qml-module-qtquick-dialogs
     after:
       - desktop-qt5
 
diff --git a/pkg/ubuntu/debian/control b/pkg/ubuntu/debian/control
index 68f6e6c..59ec0c3 100644
--- a/pkg/ubuntu/debian/control
+++ b/pkg/ubuntu/debian/control
@@ -2,11 +2,11 @@ Source: ocs-url
 Section: web
 Priority: optional
 Maintainer: Akira Ohgaki <akiraohgaki@gmail.com>
-Build-Depends: build-essential (>= 11), qt5-default (>= 5.3.0), libqt5svg5-dev (>= 5.3.0), qtdeclarative5-dev (>= 5.3.0), devscripts (>= 2.14), debhelper (>= 9), fakeroot (>= 1.20)
+Build-Depends: build-essential (>= 11), qt5-default (>= 5.2.0), libqt5svg5-dev (>= 5.2.0), qtdeclarative5-dev (>= 5.2.0), devscripts (>= 2.14), debhelper (>= 9), fakeroot (>= 1.20)
 Standards-Version: 3.9.4
 
 Package: ocs-url
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libqt5svg5 (>= 5.3.0), qml-module-qtquick2 (>= 5.3.0) | qtdeclarative5-qtquick2-plugin (>= 5.3.0), qml-module-qtquick-window2 (>= 5.3.0) | qtdeclarative5-window-plugin (>= 5.3.0), qml-module-qtquick-controls (>= 5.3.0) | qtdeclarative5-controls-plugin (>= 5.3.0), qml-module-qtquick-dialogs (>= 5.3.0) | qtdeclarative5-dialogs-plugin (>= 5.3.0)
+Depends: ${shlibs:Depends}, ${misc:Depends}, libqt5svg5 (>= 5.2.0), qml-module-qtquick2 (>= 5.2.0) | qtdeclarative5-qtquick2-plugin (>= 5.2.0), qml-module-qtquick-window2 (>= 5.2.0) | qtdeclarative5-window-plugin (>= 5.2.0), qml-module-qtquick-controls (>= 5.2.0) | qtdeclarative5-controls-plugin (>= 5.2.0)
 Description: OCS-URL
  An install helper program for items served on OpenCollaborationServices (OCS).
-- 
GitLab