From 1f8a5315f09ce8dfcab368af71c45e66caedf492 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Thu, 16 Mar 2017 12:39:22 +0200 Subject: fonts: add recipe for GNU FreeFonts ... and add FreeMono font to image. Task-number: AUTOSUITE-46 Change-Id: I22f519d09f600b6501fb7194199ad5dea831a76d Reviewed-by: Dominik Holland Reviewed-by: Nedim Hadzic --- recipes/fonts/ttf-freefont_20120503.bb | 49 ++++++++++++++++++++++ .../packagegroup-b2qt-embedded-base.bb | 1 + 2 files changed, 50 insertions(+) create mode 100644 recipes/fonts/ttf-freefont_20120503.bb diff --git a/recipes/fonts/ttf-freefont_20120503.bb b/recipes/fonts/ttf-freefont_20120503.bb new file mode 100644 index 0000000..abf9562 --- /dev/null +++ b/recipes/fonts/ttf-freefont_20120503.bb @@ -0,0 +1,49 @@ +############################################################################ +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +DESCRIPTION = "GNU FreeFont is a free family of scalable outline fonts" +HOMEPAGE = "http://savannah.gnu.org/projects/freefont" +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" + +require recipes-graphics/ttf-fonts/ttf.inc + +inherit allarch fontcache + +S = "${WORKDIR}/freefont-${PV}" + +SRC_URI = "http://ftp.gnu.org/gnu/freefont/freefont-ttf-${PV}.zip" + +SRC_URI[md5sum] = "879b76d2e3c8003d567b555743f39154" +SRC_URI[sha256sum] = "7c85baf1bf82a1a1845d1322112bc6ca982221b484e3b3925022e25b5cae89af" + +PACKAGES = "${PN}-sans ${PN}-mono ${PN}-serif" +FILES_${PN}-sans = "${datadir}/fonts/truetype/FreeSans*.ttf" +FILES_${PN}-mono = "${datadir}/fonts/truetype/FreeMono*.ttf" +FILES_${PN}-serif = "${datadir}/fonts/truetype/FreeSerif*.ttf" diff --git a/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb b/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb index 0309991..ecf77fc 100644 --- a/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb +++ b/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb @@ -44,6 +44,7 @@ RDEPENDS_${PN} = "\ ttf-opensans \ ttf-dejavu-common \ ttf-dejavu-sans \ + ttf-freefont-mono \ otf-noto \ dbus-session-init \ tzdata \ -- cgit v1.2.3-54-g00ecf