libreoffice-dictionaries: update download location

This commit is contained in:
Andreas Cord-Landwehr
2025-04-27 10:30:14 +02:00
parent 4bebe98c56
commit 796cb13a41
2 changed files with 27 additions and 29 deletions

View File

@@ -0,0 +1,27 @@
# SPDX-FileCopyrightText: 2020 Volker Krause <vkrause@kde.org>
#
# 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 \
"

View File

@@ -1,29 +0,0 @@
# SPDX-FileCopyrightText: 2020 Volker Krause <vkrause@kde.org>
#
# 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 \
"