diff options
-rw-r--r-- | recipes/fonts/otf-noto_git.bb (renamed from recipes/fonts/otf-noto.bb) | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/recipes/fonts/otf-noto.bb b/recipes/fonts/otf-noto_git.bb index 1c17d33..3be53c2 100644 --- a/recipes/fonts/otf-noto.bb +++ b/recipes/fonts/otf-noto_git.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | ############################################################################ | 1 | ############################################################################ |
2 | ## | 2 | ## |
3 | ## Copyright (C) 2016 The Qt Company Ltd. | 3 | ## Copyright (C) 2017 The Qt Company Ltd. |
4 | ## Contact: https://www.qt.io/licensing/ | 4 | ## Contact: https://www.qt.io/licensing/ |
5 | ## | 5 | ## |
6 | ## This file is part of the Boot to Qt meta layer. | 6 | ## This file is part of the Boot to Qt meta layer. |
@@ -31,23 +31,22 @@ SUMMARY = "Noto Sans CJK" | |||
31 | SECTION = "fonts" | 31 | SECTION = "fonts" |
32 | HOMEPAGE = "http://www.google.com/get/noto" | 32 | HOMEPAGE = "http://www.google.com/get/noto" |
33 | LICENSE = "OFL-1.1" | 33 | LICENSE = "OFL-1.1" |
34 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE_OFL.txt;md5=55719faa0112708e946b820b24b14097" | 34 | LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=55719faa0112708e946b820b24b14097" |
35 | 35 | ||
36 | INHIBIT_DEFAULT_DEPS = "1" | 36 | INHIBIT_DEFAULT_DEPS = "1" |
37 | 37 | ||
38 | inherit allarch fontcache | 38 | inherit allarch fontcache |
39 | 39 | ||
40 | PV = "1.004" | 40 | PV = "1.004" |
41 | SRC_URI = "https://noto-website-2.storage.googleapis.com/pkgs/NotoSansCJKsc-hinted.zip" | 41 | SRC_URI = "git://github.com/googlei18n/noto-cjk.git" |
42 | SRCREV = "40d9f5b179a59a06b98373c76bdc3e2119e4e6b2" | ||
42 | 43 | ||
43 | SRC_URI[md5sum] = "539a04d2a14a12096897f84ba046d110" | 44 | S = "${WORKDIR}/git" |
44 | SRC_URI[sha256sum] = "c0a77b24ce1964c5d244be7576ada5899d681638e0abd0917e6a661df56e0232" | ||
45 | |||
46 | S = "${WORKDIR}" | ||
47 | 45 | ||
48 | do_install() { | 46 | do_install() { |
49 | install -m 0755 -d ${D}${datadir}/fonts/otf/noto | 47 | install -m 0755 -d ${D}${datadir}/fonts/otf/noto |
50 | install -m 0644 ${WORKDIR}/*.otf ${D}${datadir}/fonts/otf/noto | 48 | install -m 0644 ${S}/NotoSansCJKsc-*.otf ${D}${datadir}/fonts/otf/noto |
49 | install -m 0644 ${S}/NotoSansMonoCJKsc-*.otf ${D}${datadir}/fonts/otf/noto | ||
51 | } | 50 | } |
52 | 51 | ||
53 | PACKAGES = "${PN}" | 52 | PACKAGES = "${PN}" |