commit c3eec6c
hovercats
·
2024-08-28 06:37:36 +0000 UTC
parent ff95ae3
import adobde-source-fonts for netsurf to work. set this and liberation-font as default fonts in sets.desktop
7 files changed,
+69,
-2
+4,
-0
1@@ -0,0 +1,4 @@
2+/source-code-pro-2.038R-ro_1.058R-it_1.018R-VAR.tar.gz
3+/source-sans-pro-3.028R.tar.gz
4+/source-serif-4.004R.tar.gz
5+/src
+50,
-0
1@@ -0,0 +1,50 @@
2+local fonts = {
3+ 'SourceCodePro-Black',
4+ 'SourceCodePro-BlackIt',
5+ 'SourceCodePro-Bold',
6+ 'SourceCodePro-BoldIt',
7+ 'SourceCodePro-ExtraLight',
8+ 'SourceCodePro-ExtraLightIt',
9+ 'SourceCodePro-It',
10+ 'SourceCodePro-Light',
11+ 'SourceCodePro-LightIt',
12+ 'SourceCodePro-Medium',
13+ 'SourceCodePro-MediumIt',
14+ 'SourceCodePro-Regular',
15+ 'SourceCodePro-Semibold',
16+ 'SourceCodePro-SemiboldIt',
17+
18+ 'SourceSans3-Black',
19+ 'SourceSans3-BlackIt',
20+ 'SourceSans3-Bold',
21+ 'SourceSans3-BoldIt',
22+ 'SourceSans3-ExtraLight',
23+ 'SourceSans3-ExtraLightIt',
24+ 'SourceSans3-It',
25+ 'SourceSans3-Light',
26+ 'SourceSans3-LightIt',
27+ 'SourceSans3-Regular',
28+ 'SourceSans3-Semibold',
29+ 'SourceSans3-SemiboldIt',
30+
31+ 'SourceSerif4-Black',
32+ 'SourceSerif4-BlackIt',
33+ 'SourceSerif4-Bold',
34+ 'SourceSerif4-BoldIt',
35+ 'SourceSerif4-ExtraLight',
36+ 'SourceSerif4-ExtraLightIt',
37+ 'SourceSerif4-It',
38+ 'SourceSerif4-Light',
39+ 'SourceSerif4-LightIt',
40+ 'SourceSerif4-Regular',
41+ 'SourceSerif4-Semibold',
42+ 'SourceSerif4-SemiboldIt',
43+}
44+
45+for _, font in ipairs(fonts) do
46+ local path = ('share/fonts/%s.otf'):format(font)
47+ local src = ('$srcdir/OTF/%s.otf'):format(font)
48+ file(path, '644', src)
49+end
50+
51+fetch 'curl'
+3,
-0
1@@ -0,0 +1,3 @@
2+d8f879fefd66ecb7291ea2d73984b9c0a97fb499424e58290ba6b81787d0c725 source-code-pro-2.038R-ro_1.058R-it_1.018R-VAR.tar.gz
3+23df371ce8ce0c5c57e750f1b01af6a31e437fe1737df0501b8181162642686a source-sans-3.028R.tar.gz
4+dfb364735699cb830caad534cf7741234804d28e4b6fc5e4736b2401f6131aba source-serif-4.004R.tar.gz
+8,
-0
1@@ -0,0 +1,8 @@
2+output = "source-sans-3.028R.tar.gz"
3+url = "https://github.com/adobe-fonts/source-sans/archive/3.028R.tar.gz"
4+
5+output = "source-serif-4.004R.tar.gz"
6+url = "https://github.com/adobe-fonts/source-serif/archive/4.004R.tar.gz"
7+
8+output = "source-code-pro-2.038R-ro_1.058R-it_1.018R-VAR.tar.gz"
9+url = "https://github.com/adobe-fonts/source-code-pro/archive/2.038R-ro/1.058R-it/1.018R-VAR.tar.gz"
+1,
-0
1@@ -0,0 +1 @@
2+2.038R-ro/1.058R-it/1.018R-var 3.028R 4.004R r1
+1,
-0
1@@ -1,4 +1,5 @@
2 subgen 'awk'
3+subgen 'adobe-source-fonts'
4 subgen 'b3sum'
5 subgen 'bc'
6 subgen 'bearssl'
M
sets.lua
+2,
-2
1@@ -56,14 +56,14 @@ return {
2 'wpa_supplicant',
3 },
4 desktop={
5- 'dmenu',
6 'liberation-fonts',
7+ 'adobe-source-fonts',
8+ 'dmenu',
9 'libinput',
10 'mupdf',
11 'netsurf',
12 'st',
13 'swc',
14- 'tamzen-font',
15 'velox',
16 'xkeyboard-config',
17 },