diff --git a/recipes-support/libreoffice-dictionaries_25.2.3.bb b/recipes-support/libreoffice-dictionaries_25.2.3.bb new file mode 100644 index 0000000..25cfaa3 --- /dev/null +++ b/recipes-support/libreoffice-dictionaries_25.2.3.bb @@ -0,0 +1,27 @@ +# SPDX-FileCopyrightText: 2020 Volker Krause +# +# SPDX-License-Identifier: MIT + +DESCRIPTION = "LibreOffice Dictionaries" +LICENSE = "GPL-2.0-only & GPL-3.0-only" +LIC_FILES_CHKSUM = " \ + file://dictionaries/en/license.txt;md5=686e6cb566fd6382c9fcc7a557bf4544 \ + file://dictionaries/de/COPYING_GPLv3;md5=d32239bcb673463ab874e80d47fae504 \ +" + +SRC_URI = "https://download.documentfoundation.org/libreoffice/src/${PV}/libreoffice-dictionaries-${PV}.1.tar.xz" +SRC_URI[sha256sum] = "bf7bb02bb5ccce2de73bfc96b2df2edc0e493d7632911027267ad9ffa85e4103" + +S = "${WORKDIR}/libreoffice-${PV}.1" + +do_configure[noexec] = "1" +do_compile[noexec] = "1" +do_install() { + install -m 0755 -d ${D}${datadir}/hunspell + cp ${S}/dictionaries/*/*.dic ${D}/${datadir}/hunspell + cp ${S}/dictionaries/*/*.aff ${D}/${datadir}/hunspell +} + +FILES:${PN} = " \ + ${datadir}/hunspell \ +" diff --git a/recipes-support/libreoffice-dictionaries_7.3.4.1.bb b/recipes-support/libreoffice-dictionaries_7.3.4.1.bb deleted file mode 100644 index fc99c5d..0000000 --- a/recipes-support/libreoffice-dictionaries_7.3.4.1.bb +++ /dev/null @@ -1,29 +0,0 @@ -# SPDX-FileCopyrightText: 2020 Volker Krause -# -# SPDX-License-Identifier: MIT - -DESCRIPTION = "LibreOffice Dictionaries" -LICENSE = "GPL-2.0-only & GPL-3.0-only" -LIC_FILES_CHKSUM = " \ - file://en/license.txt;md5=686e6cb566fd6382c9fcc7a557bf4544 \ - file://de/COPYING_GPLv3;md5=d32239bcb673463ab874e80d47fae504 \ -" - -# tag libreoffice-7.3.4.1 -SRCREV = "b92a99281d240c70db591e78201ac0668092e936" -SRC_URI = " \ - git://anongit.freedesktop.org/libreoffice/dictionaries;nobranch=1 \ -" -S = "${WORKDIR}/git" - -do_configure[noexec] = "1" -do_compile[noexec] = "1" -do_install() { - install -m 0755 -d ${D}${datadir}/hunspell - cp ${S}/*/*.dic ${D}/${datadir}/hunspell - cp ${S}/*/*.aff ${D}/${datadir}/hunspell -} - -FILES:${PN} = " \ - ${datadir}/hunspell \ -"