qt5: factor <pkg>_SITE variable
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 15 Apr 2013 03:11:19 +0000 (03:11 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 15 Apr 2013 21:46:59 +0000 (23:46 +0200)
Each qt5 package was defining its own QT5<something>_SITE
variable. Unfortunately, the download location has slightly changed
for Qt 5.0.2, so we would have to change it for all packages. Instead,
we factor the <pkg>_SITE variable as QT5_SITE in package/qt5/qt5.mk,
just like we already do for QT5_VERSION.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 files changed:
package/qt5/qt5.mk
package/qt5/qt5base/qt5base.mk
package/qt5/qt5declarative/qt5declarative.mk
package/qt5/qt5graphicaleffects/qt5graphicaleffects.mk
package/qt5/qt5imageformats/qt5imageformats.mk
package/qt5/qt5jsbackend/qt5jsbackend.mk
package/qt5/qt5multimedia/qt5multimedia.mk
package/qt5/qt5quick1/qt5quick1.mk
package/qt5/qt5script/qt5script.mk
package/qt5/qt5svg/qt5svg.mk
package/qt5/qt5webkit/qt5webkit.mk
package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk

index 83cc0e1085a68f05b1854331fde3892086f398b1..c6bbbe0d58c1d75764cc6e779b804e08ef1fb15b 100644 (file)
@@ -1,4 +1,5 @@
 QT5_VERSION = 5.0.1
+QT5_SITE = http://releases.qt-project.org/qt5/$(QT5_VERSION)/submodules_tar/
 include package/qt5/*/*.mk
 
 define QT5_LA_PRL_FILES_FIXUP
index 303d255c983e0a0af63434ab9ece689e7125c0e9..bfc6c911e8c61378f39c35f3fc72cdb14a5f2aa2 100644 (file)
@@ -5,7 +5,7 @@
 #############################################################
 
 QT5BASE_VERSION = $(QT5_VERSION)
-QT5BASE_SITE = http://releases.qt-project.org/qt5/$(QT5BASE_VERSION)/submodules_tar/
+QT5BASE_SITE = $(QT5_SITE)
 QT5BASE_SOURCE = qtbase-opensource-src-$(QT5BASE_VERSION).tar.xz
 
 QT5BASE_DEPENDENCIES = host-pkgconf zlib pcre
index de200171032600c55184220717b14018c75114ae..e4dd74283d0d56f67814a02afdaf160e48f64ac7 100644 (file)
@@ -5,7 +5,7 @@
 #############################################################
 
 QT5DECLARATIVE_VERSION = $(QT5_VERSION)
-QT5DECLARATIVE_SITE = http://releases.qt-project.org/qt5/$(QT5DECLARATIVE_VERSION)/submodules_tar/
+QT5DECLARATIVE_SITE = $(QT5_SITE)
 QT5DECLARATIVE_SOURCE = qtdeclarative-opensource-src-$(QT5DECLARATIVE_VERSION).tar.xz
 QT5DECLARATIVE_DEPENDENCIES = qt5base qt5xmlpatterns qt5jsbackend
 QT5DECLARATIVE_INSTALL_STAGING = YES
index c4b7231aeaed74c81d2b8503a58f7d1f27fb43de..93aef534cb5edf84543f7d52499c5c7ad833a51c 100644 (file)
@@ -5,7 +5,7 @@
 #############################################################
 
 QT5GRAPHICALEFFECTS_VERSION = $(QT5_VERSION)
-QT5GRAPHICALEFFECTS_SITE = http://releases.qt-project.org/qt5/$(QT5GRAPHICALEFFECTS_VERSION)/submodules_tar/
+QT5GRAPHICALEFFECTS_SITE = $(QT5_SITE)
 QT5GRAPHICALEFFECTS_SOURCE = qtgraphicaleffects-opensource-src-$(QT5GRAPHICALEFFECTS_VERSION).tar.xz
 QT5GRAPHICALEFFECTS_DEPENDENCIES = qt5base qt5declarative
 QT5GRAPHICALEFFECTS_INSTALL_STAGING = YES
index 5130cfbb082010ea162a6b5e4d38a39a9983bbaf..77dfa8fefb944e77f198c5e8497968aeaf3daf7b 100644 (file)
@@ -5,7 +5,7 @@
 #############################################################
 
 QT5IMAGEFORMATS_VERSION = $(QT5_VERSION)
-QT5IMAGEFORMATS_SITE = http://releases.qt-project.org/qt5/$(QT5IMAGEFORMATS_VERSION)/submodules_tar/
+QT5IMAGEFORMATS_SITE = $(QT5_SITE)
 QT5IMAGEFORMATS_SOURCE = qtimageformats-opensource-src-$(QT5IMAGEFORMATS_VERSION).tar.xz
 QT5IMAGEFORMATS_DEPENDENCIES = qt5base
 QT5IMAGEFORMATS_INSTALL_STAGING = YES
index bc6a53af276d08ee3e8ee1355b311e08bc44131b..3c3c2c28c6f76adccb80142fdc7c02948026aa85 100644 (file)
@@ -5,7 +5,7 @@
 #############################################################
 
 QT5JSBACKEND_VERSION = $(QT5_VERSION)
-QT5JSBACKEND_SITE = http://releases.qt-project.org/qt5/$(QT5JSBACKEND_VERSION)/submodules_tar/
+QT5JSBACKEND_SITE = $(QT5_SITE)
 QT5JSBACKEND_SOURCE = qtjsbackend-opensource-src-$(QT5JSBACKEND_VERSION).tar.xz
 QT5JSBACKEND_DEPENDENCIES = qt5base
 QT5JSBACKEND_INSTALL_STAGING = YES
index 6725701ca36c4d0def2b488be3653fe3f66521f3..b08a9ab7a3ac6cab0c3cfcefcad2ccc132480b07 100644 (file)
@@ -5,7 +5,7 @@
 #############################################################
 
 QT5MULTIMEDIA_VERSION = $(QT5_VERSION)
-QT5MULTIMEDIA_SITE = http://releases.qt-project.org/qt5/$(QT5MULTIMEDIA_VERSION)/submodules_tar/
+QT5MULTIMEDIA_SITE = $(QT5_SITE)
 QT5MULTIMEDIA_SOURCE = qtmultimedia-opensource-src-$(QT5MULTIMEDIA_VERSION).tar.xz
 QT5MULTIMEDIA_DEPENDENCIES = qt5base qt5declarative
 QT5MULTIMEDIA_INSTALL_STAGING = YES
index 42b5895befa28a43c0f5c5065090ddb597752c9a..371eb621f29b97ea531da4db3727728c6524f600 100644 (file)
@@ -5,7 +5,7 @@
 #############################################################
 
 QT5QUICK1_VERSION = $(QT5_VERSION)
-QT5QUICK1_SITE = http://releases.qt-project.org/qt5/$(QT5QUICK1_VERSION)/submodules_tar/
+QT5QUICK1_SITE = $(QT5_SITE)
 QT5QUICK1_SOURCE = qtquick1-opensource-src-$(QT5QUICK1_VERSION).tar.xz
 QT5QUICK1_DEPENDENCIES = qt5base qt5xmlpatterns qt5script qt5declarative qt5jsbackend qt5webkit
 QT5QUICK1_INSTALL_STAGING = YES
index ec3359fb4e5fc680097d80df5caa3689cb334775..a090fda430fb140b9d72b112922cacb0f910b82c 100644 (file)
@@ -5,7 +5,7 @@
 #############################################################
 
 QT5SCRIPT_VERSION = $(QT5_VERSION)
-QT5SCRIPT_SITE = http://releases.qt-project.org/qt5/$(QT5SCRIPT_VERSION)/submodules_tar/
+QT5SCRIPT_SITE = $(QT5_SITE)
 QT5SCRIPT_SOURCE = qtscript-opensource-src-$(QT5SCRIPT_VERSION).tar.xz
 QT5SCRIPT_DEPENDENCIES = qt5base
 QT5SCRIPT_INSTALL_STAGING = YES
index 65fb04b748b81ea3733e4af5f27a735000b13857..fdcbfde30d613d2aa5cc1fd52784d1a9983006fe 100644 (file)
@@ -5,7 +5,7 @@
 #############################################################
 
 QT5SVG_VERSION = $(QT5_VERSION)
-QT5SVG_SITE = http://releases.qt-project.org/qt5/$(QT5SVG_VERSION)/submodules_tar/
+QT5SVG_SITE = $(QT5_SITE)
 QT5SVG_SOURCE = qtsvg-opensource-src-$(QT5SVG_VERSION).tar.xz
 QT5SVG_DEPENDENCIES = qt5base
 QT5SVG_INSTALL_STAGING = YES
index d577cf8bf2d08f4ba93d7bff97468a6824f59855..7366a30d2e00e6f10963a1f3b2885f731ca588e0 100644 (file)
@@ -5,7 +5,7 @@
 #############################################################
 
 QT5WEBKIT_VERSION = $(QT5_VERSION)
-QT5WEBKIT_SITE = http://releases.qt-project.org/qt5/$(QT5WEBKIT_VERSION)/submodules_tar/
+QT5WEBKIT_SITE = $(QT5_SITE)
 QT5WEBKIT_SOURCE = qtwebkit-opensource-src-$(QT5WEBKIT_VERSION).tar.xz
 QT5WEBKIT_DEPENDENCIES = qt5base sqlite host-ruby host-gperf
 QT5WEBKIT_INSTALL_STAGING = YES
index 3bd6aac5d2461ad742ca3939b37891e3f1df8127..7e2d671ff33da18ba22cc465e23826c707e71857 100644 (file)
@@ -5,7 +5,7 @@
 #############################################################
 
 QT5XMLPATTERNS_VERSION = $(QT5_VERSION)
-QT5XMLPATTERNS_SITE = http://releases.qt-project.org/qt5/$(QT5XMLPATTERNS_VERSION)/submodules_tar/
+QT5XMLPATTERNS_SITE = $(QT5_SITE)
 QT5XMLPATTERNS_SOURCE = qtxmlpatterns-opensource-src-$(QT5XMLPATTERNS_VERSION).tar.xz
 QT5XMLPATTERNS_DEPENDENCIES = qt5base
 QT5XMLPATTERNS_INSTALL_STAGING = YES