forked from rosa/hakurei
internal/rosa/jdk: incomplete gnu classpath 0.93 artifact
This commit is contained in:
196
internal/rosa/fontstack.go
Normal file
196
internal/rosa/fontstack.go
Normal file
@@ -0,0 +1,196 @@
|
||||
package rosa
|
||||
|
||||
import "hakurei.app/internal/pkg"
|
||||
|
||||
func (t Toolchain) newFontConfig() (pkg.Artifact, string) {
|
||||
const (
|
||||
version = "2.15.0"
|
||||
checksum = "rvlTL_zn-RwVkTBFdsOacUmEdLmwa3whTkuTzV8JH7kKbsFmnbG2qof3hN9ghr9d"
|
||||
)
|
||||
return t.NewPackage("fontconfig", version, newFromGitLab("gitlab.freedesktop.org", "fontconfig/fontconfig", version, checksum),
|
||||
nil,
|
||||
(*MesonHelper)(nil),
|
||||
Gperf,
|
||||
Freetype,
|
||||
Libexpat,
|
||||
Python,
|
||||
), version
|
||||
}
|
||||
func init() {
|
||||
artifactsM[FontConfig] = Metadata{
|
||||
f: Toolchain.newFontConfig,
|
||||
Name: "fontconfig",
|
||||
Description: "freedesktop font discovery",
|
||||
Website: "https://fontconfig.pages.freedesktop.org/fontconfig/fontconfig-user.html",
|
||||
ID: 827,
|
||||
}
|
||||
}
|
||||
|
||||
func (t Toolchain) newCairo() (pkg.Artifact, string) {
|
||||
const (
|
||||
version = "1.18.4"
|
||||
checksum = "_Ztw0ttmYLIiElqS27x2Iu4EneXOMNHp2or6bJA6suLeF3NRvORzUMPPQy9Wr5gT"
|
||||
)
|
||||
return t.NewPackage("cairo", version, newFromGitLab("gitlab.freedesktop.org", "cairo/cairo", version, checksum),
|
||||
nil,
|
||||
&MesonHelper{
|
||||
SkipTest: true,
|
||||
Setup: []KV{{"Dfreetype", "enabled"}, {"Dfontconfig", "enabled"}},
|
||||
},
|
||||
Automake,
|
||||
Libtool,
|
||||
Libpng,
|
||||
PkgConfig,
|
||||
FontConfig,
|
||||
Libexpat,
|
||||
Freetype,
|
||||
Pixman,
|
||||
Gawk,
|
||||
), version
|
||||
}
|
||||
func init() {
|
||||
artifactsM[Cairo] = Metadata{
|
||||
f: Toolchain.newCairo,
|
||||
Name: "cairo",
|
||||
Description: "freedesktop 2d rendering library",
|
||||
Website: "https://cairographics.org",
|
||||
ID: 247,
|
||||
}
|
||||
}
|
||||
|
||||
func (t Toolchain) newHarfbuzz() (pkg.Artifact, string) {
|
||||
const (
|
||||
version = "14.2.0"
|
||||
checksum = "2VgjUmcPeIbleafZaGk5l7iGnag2qj0HTqrJ5770GzivebryZ2pbwVIha5j_24PH"
|
||||
)
|
||||
return t.NewPackage("harfbuzz", version, newFromGitHub("harfbuzz/harfbuzz", version, checksum),
|
||||
nil,
|
||||
(*MesonHelper)(nil),
|
||||
Freetype,
|
||||
GLib,
|
||||
Cairo,
|
||||
), version
|
||||
}
|
||||
func init() {
|
||||
artifactsM[HarfBuzz] = Metadata{
|
||||
f: Toolchain.newHarfbuzz,
|
||||
Name: "harfbuzz",
|
||||
Description: "text shaping library",
|
||||
Website: "https://harfbuzz.github.io",
|
||||
ID: 1299,
|
||||
}
|
||||
}
|
||||
|
||||
func (t Toolchain) newFribidi() (pkg.Artifact, string) {
|
||||
const (
|
||||
version = "1.0.16"
|
||||
checksum = "Sn9hwdgViXW9_MOi8ovAcBgQy6s6o4cc0o260k76nqCRzxmxxD1-B37GVkJ2EoMy"
|
||||
)
|
||||
return t.NewPackage("fribidi", version, newFromGitHub("fribidi/fribidi", "v"+version, checksum),
|
||||
nil,
|
||||
&MesonHelper{
|
||||
Setup: []KV{[2]string{"Ddocs", "false"}},
|
||||
},
|
||||
PkgConfig,
|
||||
), version
|
||||
}
|
||||
func init() {
|
||||
artifactsM[Fribidi] = Metadata{
|
||||
f: Toolchain.newFribidi,
|
||||
Name: "fribidi",
|
||||
Description: "bidirectional text library",
|
||||
Website: "https://www.gnu.org/software/fribidi/",
|
||||
ID: 857,
|
||||
}
|
||||
}
|
||||
|
||||
func (t Toolchain) newLibdatrie() (pkg.Artifact, string) {
|
||||
const (
|
||||
version = "0.2.14"
|
||||
checksum = "JnJBEFrA8xYscXOSRJNGb1ZyRqrdsfP1_sdRIQeeSujdcsxmYT5Yl9m4byTsLozp"
|
||||
)
|
||||
return t.NewPackage("libdatrie", version, newFromGitHub("tlwg/libdatrie", "v"+version, checksum),
|
||||
nil,
|
||||
&MakeHelper{
|
||||
Generate: "sh autogen.sh",
|
||||
},
|
||||
Libtool,
|
||||
Automake,
|
||||
M4,
|
||||
), version
|
||||
}
|
||||
func init() {
|
||||
artifactsM[Libdatrie] = Metadata{
|
||||
f: Toolchain.newLibdatrie,
|
||||
Name: "libdatrie",
|
||||
Description: "double-array trie library",
|
||||
Website: "https://linux.thai.net/~thep/datrie/datrie.html",
|
||||
ID: 7342,
|
||||
}
|
||||
}
|
||||
func (t Toolchain) newLibThai() (pkg.Artifact, string) {
|
||||
const (
|
||||
version = "0.1.30"
|
||||
checksum = "jQxUviF-lSiVrnqXebc4kROp0hrIeQbke2gvaeTfkCDp-wHkpxb3xP18fsNOF_F-"
|
||||
)
|
||||
return t.NewPackage("libthai", version, newFromGitHub("tlwg/libthai", "v"+version, checksum),
|
||||
nil,
|
||||
&MakeHelper{
|
||||
Generate: "sh autogen.sh",
|
||||
},
|
||||
Libtool,
|
||||
Automake,
|
||||
M4,
|
||||
Libdatrie,
|
||||
PkgConfig,
|
||||
), version
|
||||
}
|
||||
func init() {
|
||||
artifactsM[Libthai] = Metadata{
|
||||
f: Toolchain.newLibThai,
|
||||
Name: "libthai",
|
||||
Description: "thai language handling library",
|
||||
Website: "https://linux.thai.net/",
|
||||
|
||||
ID: 1737,
|
||||
}
|
||||
}
|
||||
func (t Toolchain) newPango() (pkg.Artifact, string) {
|
||||
const (
|
||||
version = "1.56.3"
|
||||
checksum = "O73sc8axQyjIFpW4XkV7wi4HVSvmdUnx1uTn-HtbewXgrCVWX9Du-pssL5BK7rf1"
|
||||
)
|
||||
return t.NewPackage("pango", version, newFromGitLab("gitlab.gnome.org", "GNOME/pango", version, checksum),
|
||||
nil,
|
||||
&MesonHelper{
|
||||
SkipTest: true,
|
||||
},
|
||||
GLib,
|
||||
GObjectIntrospection,
|
||||
Freetype,
|
||||
PkgConfig,
|
||||
FontConfig,
|
||||
HarfBuzz,
|
||||
Fribidi,
|
||||
Cairo,
|
||||
Pixman,
|
||||
Libpng,
|
||||
Libexpat,
|
||||
Libdatrie,
|
||||
Libthai,
|
||||
Libtool,
|
||||
LibX11,
|
||||
LibXrender,
|
||||
LibXft,
|
||||
Diffutils,
|
||||
), version
|
||||
}
|
||||
func init() {
|
||||
artifactsM[Pango] = Metadata{
|
||||
f: Toolchain.newPango,
|
||||
Name: "pango",
|
||||
Description: "text rendering library",
|
||||
Website: "https://pango.org",
|
||||
ID: 11783,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user