qt5: factor <pkg>_SITE variable
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>
This commit is contained in:
parent
e59a641701
commit
0db6298cef
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user