diff options
| author | Samuli Piippo <samuli.piippo@digia.com> | 2014-01-23 13:37:29 +0200 |
|---|---|---|
| committer | Samuli Piippo <samuli.piippo@digia.com> | 2014-01-30 12:28:40 +0200 |
| commit | f9d3810c97a637bea23b36c71aafcd00b01670d6 (patch) | |
| tree | be08c9fbfc9aecc0373d42361c75bc9fa8ae0e19 | |
| parent | 20a3734c0da057a51aadc89e3dba163367611dc5 (diff) | |
| download | meta-boot2qt-f9d3810c97a637bea23b36c71aafcd00b01670d6.tar.gz | |
Recipe for hunspell
Add new recipe for hunspell and include it to image and toolchain
Change-Id: I724aca8e3da378a0b59e57a0b00f03e9137b48f0
Reviewed-by: Rainer Keller <rainer.keller@digia.com>
| -rw-r--r-- | recipes/hunspell/hunspell_1.3.2.bb | 51 | ||||
| -rw-r--r-- | recipes/images/b2qt-embedded-image.bb | 1 | ||||
| -rw-r--r-- | recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-target.bb | 1 |
3 files changed, 53 insertions, 0 deletions
diff --git a/recipes/hunspell/hunspell_1.3.2.bb b/recipes/hunspell/hunspell_1.3.2.bb new file mode 100644 index 0000000..c9d6aba --- /dev/null +++ b/recipes/hunspell/hunspell_1.3.2.bb | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | ############################################################################# | ||
| 2 | ## | ||
| 3 | ## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). | ||
| 4 | ## | ||
| 5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
| 6 | ## framework. | ||
| 7 | ## | ||
| 8 | ## $QT_BEGIN_LICENSE$ | ||
| 9 | ## Commercial License Usage Only | ||
| 10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
| 11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
| 12 | ## may use this file in accordance with the terms contained in said license | ||
| 13 | ## agreement. | ||
| 14 | ## | ||
| 15 | ## For further information use the contact form at | ||
| 16 | ## http://qt.digia.com/contact-us. | ||
| 17 | ## | ||
| 18 | ## | ||
| 19 | ## $QT_END_LICENSE$ | ||
| 20 | ## | ||
| 21 | ############################################################################# | ||
| 22 | |||
| 23 | DESCRIPTION = "Hunspell" | ||
| 24 | LICENSE = "LGPLv2" | ||
| 25 | LIC_FILES_CHKSUM = "file://${WORKDIR}/hunspell-${PV}/COPYING;md5=ed3a37b3ba6d6be3e08ab45987cf1b88" | ||
| 26 | |||
| 27 | SRC_URI = "http://downloads.sourceforge.net/hunspell/hunspell-${PV}.tar.gz \ | ||
| 28 | http://ftp.halifax.rwth-aachen.de/gentoo/distfiles/myspell-en_GB-20081002.zip \ | ||
| 29 | http://downloads.sourceforge.net/project/ayaspell/hunspell-ar/20080110/hunspell-ar_20080110.tar.gz \ | ||
| 30 | " | ||
| 31 | |||
| 32 | SRC_URI[md5sum] = "69990932920960eb765fd35883640124" | ||
| 33 | SRC_URI[sha256sum] = "88d9eebbe05de29d17f4420ebaec9249441ce01d61b5d6c7ecba040e250e2d91" | ||
| 34 | |||
| 35 | PR = "r0" | ||
| 36 | |||
| 37 | inherit autotools gettext | ||
| 38 | |||
| 39 | PACKAGES += "${PN}-dicts" | ||
| 40 | RRECOMMENDS_${PN} += "${PN}-dicts" | ||
| 41 | FILES_${PN}-dicts = "${datadir}/hunspell" | ||
| 42 | |||
| 43 | do_install_append() { | ||
| 44 | install -m 0755 -d ${D}${datadir}/hunspell | ||
| 45 | |||
| 46 | install -m 0755 ${WORKDIR}/hunspell-ar_20080110/ar.dic ${D}${datadir}/hunspell/ar_EG.dic | ||
| 47 | install -m 0755 ${WORKDIR}/hunspell-ar_20080110/ar.aff ${D}${datadir}/hunspell/ar_EG.aff | ||
| 48 | |||
| 49 | install -m 0755 ${WORKDIR}/en_GB.dic ${D}${datadir}/hunspell | ||
| 50 | install -m 0755 ${WORKDIR}/en_GB.aff ${D}${datadir}/hunspell | ||
| 51 | } | ||
diff --git a/recipes/images/b2qt-embedded-image.bb b/recipes/images/b2qt-embedded-image.bb index 3d092af..e7811cc 100644 --- a/recipes/images/b2qt-embedded-image.bb +++ b/recipes/images/b2qt-embedded-image.bb | |||
| @@ -76,6 +76,7 @@ IMAGE_INSTALL += "\ | |||
| 76 | tslib \ | 76 | tslib \ |
| 77 | tslib-calibrate \ | 77 | tslib-calibrate \ |
| 78 | alsa-utils-amixer \ | 78 | alsa-utils-amixer \ |
| 79 | hunspell \ | ||
| 79 | ${GSTREAMER_EXTRA_INSTALL} \ | 80 | ${GSTREAMER_EXTRA_INSTALL} \ |
| 80 | ${TOOLS_EXTRA_INSTALL} \ | 81 | ${TOOLS_EXTRA_INSTALL} \ |
| 81 | ${MACHINE_EXTRA_INSTALL} \ | 82 | ${MACHINE_EXTRA_INSTALL} \ |
diff --git a/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-target.bb b/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-target.bb index 809a654..58bed38 100644 --- a/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-target.bb +++ b/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-target.bb | |||
| @@ -46,5 +46,6 @@ RDEPENDS_${PN} += "\ | |||
| 46 | libxslt-dev \ | 46 | libxslt-dev \ |
| 47 | udev-dev \ | 47 | udev-dev \ |
| 48 | tslib-dev \ | 48 | tslib-dev \ |
| 49 | hunspell-dev \ | ||
| 49 | ${MACHINE_EXTRA_INSTALL_SDK} \ | 50 | ${MACHINE_EXTRA_INSTALL_SDK} \ |
| 50 | " | 51 | " |
