diff options
author | Li xin <lixin.fnst@cn.fujitsu.com> | 2016-05-10 08:36:43 +0300 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-05-18 21:29:57 +0200 |
commit | 27617dde3560e2fe97989670725eb19747a0f48d (patch) | |
tree | 58c94f61005b5939886e12e1234f8b74c780d1d8 /recipes-qt/qtchooser/qtchooser_git.bb | |
parent | ee697dda792764d491a77d8dd3709e743bbe5107 (diff) |
qtchooser: add new recipe
qtchooser is a wrapper used to select between Qt binary versions.
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qtchooser/qtchooser_git.bb')
-rw-r--r-- | recipes-qt/qtchooser/qtchooser_git.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-qt/qtchooser/qtchooser_git.bb b/recipes-qt/qtchooser/qtchooser_git.bb new file mode 100644 index 00000000..68b1c808 --- /dev/null +++ b/recipes-qt/qtchooser/qtchooser_git.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "Wrapper to select between Qt development binary versions" +HOMEPAGE = "http://macieira.org/qtchooser" +LICENSE = "LGPL-2.1 & Digia-Qt-LGPL-Exception-1.1 | GPL-3.0" +SRC_URI = "git://code.qt.io/qt/qtchooser.git;branch=master \ + file://0001-Makefile-install-the-man-dir.patch" + +LIC_FILES_CHKSUM = " \ + file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \ + file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \ + file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \ +" +S = "${WORKDIR}/git" +SRCREV = "4717841185d34bbe450e3b24445f2d35e3325a6a" +PV = "39+git${SRCREV}" + +inherit pkgconfig + +do_compile() { + oe_runmake +} + +do_install() { + oe_runmake install INSTALL_ROOT=${D} + #install configure file + install -d ${D}${sysconfdir}/xdg/qtchooser/ + install -m 0644 ${S}/tests/auto/qtchooser/testdata/config2/qtchooser/*.conf \ + ${D}${sysconfdir}/xdg/qtchooser/ + install -m 0644 ${S}/tests/auto/qtchooser/testdata/default/qtchooser/default.conf \ + ${D}${sysconfdir}/xdg/qtchooser/ +} |