summaryrefslogtreecommitdiff
path: root/media-fonts/noto
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts/noto')
-rw-r--r--media-fonts/noto/Manifest8
-rw-r--r--media-fonts/noto/noto-20231128.ebuild (renamed from media-fonts/noto/noto-20230117.ebuild)41
2 files changed, 26 insertions, 23 deletions
diff --git a/media-fonts/noto/Manifest b/media-fonts/noto/Manifest
index 6133dda..a7bbadb 100644
--- a/media-fonts/noto/Manifest
+++ b/media-fonts/noto/Manifest
@@ -1,4 +1,4 @@
-DIST NotoSans%5Bwdth%2Cwght%5D.ttf 2370304 BLAKE2B ddf2e7922a6c3670da55eea3bf65fb20aeed331713017374a3ace2d20df6ec183fe3b71e14c5b98f60b1233e1510e440981431ad0eb95be5b12527692320a28b SHA512 838abbf9158c91a559d04f1d3a471d6e5bc631b46dec04ef54eed5b1f148fc1119e9f154dcd87f48912f320c5903dbef54b74a45ae41ef5cca64d7a93fe547b5
-DIST NotoSans-Italic%5Bwdth%2Cwght%5D.ttf 2541752 BLAKE2B d8335ac4cc70dee748f4d389eec1d6e43cdfe88a2744540e9d7c81b83976e8bc5375643f517888adfb0007c110337dc4e8158973245bbe3f6e3c49f791b6e05e SHA512 31ae013b6175e87c68b1248d92626f66668527b6139c226da96d490f9b99d51002fac646662ea2613d5629d7d9aea67be229afa7f8c071f61ba9acca66e9f742
-DIST NotoSerif%5Bwdth%2Cwght%5D.ttf 2278204 BLAKE2B b7eff19e590956ffef243366d7244c2bec720b21be150f1dac08ffe423243bb2e7c7b45d2dfaa8cc4d849b08979b2e13b17f5bbab099e25bfbcae98dd6a794e8 SHA512 b0b507fbd1108aa62b896b414285a7f615050bb62cd7dd9a3a282016631c1efcfbdd3ed0f762836a7d351e2e0bdd56614eeeee591a2fc0f748cab890b74a3c0f
-DIST NotoSerif-Italic%5Bwdth%2Cwght%5D.ttf 2294324 BLAKE2B 599a8796729222381f98101cff9cd723093956fe0ddd653d346f913145b23f420ac9fe590ec5d607583f7caa64a791966183e85428525c23ea2dfd747e27a7cc SHA512 c18908217dde40d78684111562b094fb57f6b15c3753de27f24bb56c1c4ff2f6bbd5b867606dd600d597eacfdc8ecea7b3d24c185353b6c740818a25a5afecd2
+DIST NotoSans-Italic[wdth,wght]-15866b860084edd7163ec170d3c462ceada3de5b.ttf 2640676 BLAKE2B 76463afc2d0b9c5b5261a4645dbb53cd1c8062e232fa31f65529d5fc8e80bcb99117468ff10e297169c1471f459c2294c491d57cb67dce55bb50ca7da83d53f2 SHA512 2c86b3576ec529e8f0650a0920ec18372d8f8235ea945a1dca17870a963e8a848f03e80e76e9dc43b7c1c53d1b5c1b40b2b2e7354f36f8adc10a0965d08d8d64
+DIST NotoSans[wdth,wght]-15866b860084edd7163ec170d3c462ceada3de5b.ttf 2455936 BLAKE2B 05614a3d86c169e4f34983d924b0bcfab74937efe4d9bc5d3f85503c883c14edcc634c06085580104627468c9ae97accd398877fa6d086108ec6d07391fd1d91 SHA512 71857000db1909d22cc3220f01b63c314bd63bf1859f216277c8959b9ecdf3ec6d556c7fa54965b6d0ccb4aac464468530c86e08bc6bc0f6571728f7f4f89c50
+DIST NotoSerif-Italic[wdth,wght]-15866b860084edd7163ec170d3c462ceada3de5b.ttf 2421324 BLAKE2B 5a7b0e2de83cbbbc252fc2d05373568a1c45b5db6c93313add628dd71fb0d44e5959f50ca5c7ced744ac17b400addca606914baf3f383f3eb4764209e8c88bff SHA512 821ccbb240e1206e4469b1d5e70ba631d820c96c3b6c3d376b9b167dbf9f73aea0f50ceabffd4fc80ac46b67dc596e790aa8d5f4f477dc6811e5cde351b68d67
+DIST NotoSerif[wdth,wght]-15866b860084edd7163ec170d3c462ceada3de5b.ttf 2409016 BLAKE2B 39e31fedaada47daea337a39330b127efe1c1dca13011eac4230ba639e1573275fe4a20931c02e13528344dce618aa919bb0fb611f8bf29ce1136428dad0d9ac SHA512 167c8794e555f1be99dd4ad4ef32aa84923404a91b76c6cab087bb2d95e55670b075023f89d629c40ae493ca9c096672ce4a514a1b79d3997c30df1da7050417
diff --git a/media-fonts/noto/noto-20230117.ebuild b/media-fonts/noto/noto-20231128.ebuild
index d0503aa..11f26ab 100644
--- a/media-fonts/noto/noto-20230117.ebuild
+++ b/media-fonts/noto/noto-20231128.ebuild
@@ -1,12 +1,18 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
+inherit font
DESCRIPTION="Google's font family that aims to support all the world's languages"
-HOMEPAGE="https://www.google.com/get/noto/ https://github.com/googlefonts/noto-fonts"
+HOMEPAGE="https://fonts.google.com/noto https://github.com/notofonts/notofonts.github.io"
-COMMIT="6bff404f9a23cd603190277422d043a0afd7908e"
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~*"
+IUSE=""
+
+COMMIT="15866b860084edd7163ec170d3c462ceada3de5b"
SRC_URI="
https://github.com/notofonts/notofonts.github.io/raw/${COMMIT}/fonts/NotoSans/googlefonts/variable-ttf/NotoSans%5Bwdth%2Cwght%5D.ttf -> NotoSans[wdth,wght]-${COMMIT}.ttf
https://github.com/notofonts/notofonts.github.io/raw/${COMMIT}/fonts/NotoSans/googlefonts/variable-ttf/NotoSans-Italic%5Bwdth%2Cwght%5D.ttf -> NotoSans-Italic[wdth,wght]-${COMMIT}.ttf
@@ -14,22 +20,19 @@ SRC_URI="
https://github.com/notofonts/notofonts.github.io/raw/${COMMIT}/fonts/NotoSerif/googlefonts/variable-ttf/NotoSerif-Italic%5Bwdth%2Cwght%5D.ttf -> NotoSerif-Italic[wdth,wght]-${COMMIT}.ttf
"
-LICENSE="OFL-1.1"
-SLOT="0"
-KEYWORDS="~*"
-IUSE=""
+S="${WORKDIR}"
-S="${DISTDIR}"
+FONT_SUFFIX="ttf"
+FONT_CONF=(
+ # From ArchLinux
+ "${FILESDIR}/66-noto-serif.conf"
+ "${FILESDIR}/66-noto-mono.conf"
+ "${FILESDIR}/66-noto-sans.conf"
+)
-src_install() {
- insinto /usr/share/fonts/${PN}
- newins "NotoSans[wdth,wght]-${COMMIT}.ttf" "NotoSans[wdth,wght].ttf"
- newins "NotoSans-Italic[wdth,wght]-${COMMIT}.ttf" "NotoSans-Italic[wdth,wght].ttf"
- newins "NotoSerif[wdth,wght]-${COMMIT}.ttf" "NotoSerif[wdth,wght].ttf"
- newins "NotoSerif-Italic[wdth,wght]-${COMMIT}.ttf" "NotoSerif-Italic[wdth,wght].ttf"
- insinto /etc/fonts/conf.avail
- # From ArchLinux
- doins "${FILESDIR}/66-noto-serif.conf"
- doins "${FILESDIR}/66-noto-mono.conf"
- doins "${FILESDIR}/66-noto-sans.conf"
+src_compile() {
+ for f in "${DISTDIR}"/*.ttf; do
+ fn=${f##*/}
+ cp "$f" "${fn/-$COMMIT}"
+ done
}