diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-12-04 21:07:35 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-09 12:20:33 +0000 |
commit | 723a7f48ca1b911b7bc0b2458b5dcdd5f197cc2d (patch) | |
tree | 22078ce72ad513236e634833e706d98ba2675444 /meta/recipes-graphics/cantarell-fonts | |
parent | 685f96ac3c643932917ff20e95409a6ac5a79055 (diff) | |
download | poky-723a7f48ca1b911b7bc0b2458b5dcdd5f197cc2d.tar.gz |
cantarell-fonts: update 0.0.25 -> 0.201
Incorrectly set git regex meant we were stuck with a 4 year old
version.
Use tarballs as they contain prebuilt font files; building them
from source requires a bunch of obscure dependencies.
Contains portions of libglyph which are Apache 2.x licensed.
(From OE-Core rev: 4dcde0147ec4d63ab4459dc1e995cea155130e36)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/cantarell-fonts')
-rw-r--r-- | meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.201.bb | 18 | ||||
-rw-r--r-- | meta/recipes-graphics/cantarell-fonts/cantarell-fonts_git.bb | 25 |
2 files changed, 18 insertions, 25 deletions
diff --git a/meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.201.bb b/meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.201.bb new file mode 100644 index 0000000000..29e839b6b2 --- /dev/null +++ b/meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.201.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | SUMMARY = "Cantarell, a Humanist sans-serif font family" | ||
2 | |||
3 | DESCRIPTION = "The Cantarell font typeface is designed as a \ | ||
4 | contemporary Humanist sans serif, and was developed for \ | ||
5 | on-screen reading; in particular, reading web pages on an \ | ||
6 | HTC Dream mobile phone." | ||
7 | |||
8 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/cantarell-fonts/" | ||
9 | SECTION = "fonts" | ||
10 | LICENSE = "OFL-1.1 & Apache-2.0" | ||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=fb1ef92b6909969a472a6ea3c4e99cb7" | ||
12 | |||
13 | inherit gnomebase meson allarch fontcache pkgconfig | ||
14 | SRC_URI[archive.sha256sum] = "b61f64e5f6a48aa0abc7a53cdcbce60de81908ca36048a64730978fcd9ac9863" | ||
15 | |||
16 | EXTRA_OEMESON += "-Duseprebuilt=true -Dbuildappstream=false" | ||
17 | |||
18 | FILES_${PN} = "${datadir}/fonts ${datadir}/fontconfig" | ||
diff --git a/meta/recipes-graphics/cantarell-fonts/cantarell-fonts_git.bb b/meta/recipes-graphics/cantarell-fonts/cantarell-fonts_git.bb deleted file mode 100644 index db480bd397..0000000000 --- a/meta/recipes-graphics/cantarell-fonts/cantarell-fonts_git.bb +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | SUMMARY = "Cantarell, a Humanist sans-serif font family" | ||
2 | |||
3 | DESCRIPTION = "The Cantarell font typeface is designed as a \ | ||
4 | contemporary Humanist sans serif, and was developed for \ | ||
5 | on-screen reading; in particular, reading web pages on an \ | ||
6 | HTC Dream mobile phone." | ||
7 | |||
8 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/cantarell-fonts/" | ||
9 | SECTION = "fonts" | ||
10 | LICENSE = "OFL-1.1" | ||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=df91e3ffcab8cfb972a66bf11255188d" | ||
12 | |||
13 | PV = "0.0.25" | ||
14 | |||
15 | SRCREV = "e28a9096da43984212b5b4002b949bcb8c7527f9" | ||
16 | SRC_URI = "git://gitlab.gnome.org/GNOME/cantarell-fonts.git;protocol=https;branch=reconstruction-0.0.25" | ||
17 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(?!0\.13)(?!0\.10\.1)\d+\.\d+(\.\d+)+)" | ||
18 | |||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | inherit autotools allarch fontcache pkgconfig | ||
22 | |||
23 | PACKAGECONFIG ??= "" | ||
24 | PACKAGECONFIG[fontforge] = "--enable-source-rebuild=yes,--enable-source-rebuild=no,fontforge-native" | ||
25 | FILES_${PN} = "${datadir}/fonts ${datadir}/fontconfig" | ||