From f9d3810c97a637bea23b36c71aafcd00b01670d6 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Thu, 23 Jan 2014 13:37:29 +0200 Subject: Recipe for hunspell Add new recipe for hunspell and include it to image and toolchain Change-Id: I724aca8e3da378a0b59e57a0b00f03e9137b48f0 Reviewed-by: Rainer Keller --- recipes/hunspell/hunspell_1.3.2.bb | 51 ++++++++++++++++++++++ recipes/images/b2qt-embedded-image.bb | 1 + ...-packagegroup-b2qt-embedded-toolchain-target.bb | 1 + 3 files changed, 53 insertions(+) create mode 100644 recipes/hunspell/hunspell_1.3.2.bb 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 @@ +############################################################################# +## +## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). +## +## This file is part of the Qt Enterprise Embedded Scripts of the Qt +## framework. +## +## $QT_BEGIN_LICENSE$ +## Commercial License Usage Only +## Licensees holding valid commercial Qt license agreements with Digia +## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, +## may use this file in accordance with the terms contained in said license +## agreement. +## +## For further information use the contact form at +## http://qt.digia.com/contact-us. +## +## +## $QT_END_LICENSE$ +## +############################################################################# + +DESCRIPTION = "Hunspell" +LICENSE = "LGPLv2" +LIC_FILES_CHKSUM = "file://${WORKDIR}/hunspell-${PV}/COPYING;md5=ed3a37b3ba6d6be3e08ab45987cf1b88" + +SRC_URI = "http://downloads.sourceforge.net/hunspell/hunspell-${PV}.tar.gz \ + http://ftp.halifax.rwth-aachen.de/gentoo/distfiles/myspell-en_GB-20081002.zip \ + http://downloads.sourceforge.net/project/ayaspell/hunspell-ar/20080110/hunspell-ar_20080110.tar.gz \ + " + +SRC_URI[md5sum] = "69990932920960eb765fd35883640124" +SRC_URI[sha256sum] = "88d9eebbe05de29d17f4420ebaec9249441ce01d61b5d6c7ecba040e250e2d91" + +PR = "r0" + +inherit autotools gettext + +PACKAGES += "${PN}-dicts" +RRECOMMENDS_${PN} += "${PN}-dicts" +FILES_${PN}-dicts = "${datadir}/hunspell" + +do_install_append() { + install -m 0755 -d ${D}${datadir}/hunspell + + install -m 0755 ${WORKDIR}/hunspell-ar_20080110/ar.dic ${D}${datadir}/hunspell/ar_EG.dic + install -m 0755 ${WORKDIR}/hunspell-ar_20080110/ar.aff ${D}${datadir}/hunspell/ar_EG.aff + + install -m 0755 ${WORKDIR}/en_GB.dic ${D}${datadir}/hunspell + install -m 0755 ${WORKDIR}/en_GB.aff ${D}${datadir}/hunspell +} 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 += "\ tslib \ tslib-calibrate \ alsa-utils-amixer \ + hunspell \ ${GSTREAMER_EXTRA_INSTALL} \ ${TOOLS_EXTRA_INSTALL} \ ${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} += "\ libxslt-dev \ udev-dev \ tslib-dev \ + hunspell-dev \ ${MACHINE_EXTRA_INSTALL_SDK} \ " -- cgit v1.2.3-54-g00ecf