Skip to content

Add indic fonts from the Lohit project #2819

Merged
merged 13 commits into from
Jan 5, 2023
38 changes: 38 additions & 0 deletions lohit-assamese-ttf.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/usr/bin/env beesh

# BEE_VERSION lohit-assamese-ttf-2.91.5-0

# more info: https://pagure.io/lohit/

SRCURL+=(https://beehive.molgen.mpg.de/4e5bfe6d23209bdff49167007085c7ba/lohit-assamese-ttf-2.91.5.tar.gz)

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}

#mee_build() {
# bee_build
#}

mee_install() {
FONTSDIR=${DATADIR}/fonts
install -d -v --mode=755 ${D}${FONTSDIR}/lohit/
cp -av ${S}/Lohit-Assamese.ttf ${D}${FONTSDIR}/lohit/
install -d -v --mode=755 ${D}${DATADIR}/fontconfig/conf.avail/
install -d -v --mode=755 ${D}/etc/fonts/conf.d/
ln -s ${DATADIR}/fontconfig/conf.avail/66-lohit-assamese.conf ${D}/etc/fonts/conf.d
}
38 changes: 38 additions & 0 deletions lohit-bengali-ttf.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/usr/bin/env beesh

# BEE_VERSION lohit-bengali-ttf-2.91.5-0

# more info: https://pagure.io/lohit/

SRCURL+=(https://beehive.molgen.mpg.de/7c8e0e7eac003aa387bb5ca777296c03/lohit-bengali-ttf-2.91.5.tar.gz)

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}

#mee_build() {
# bee_build
#}

mee_install() {
FONTSDIR=${DATADIR}/fonts
install -d -v --mode=755 ${D}${FONTSDIR}/lohit/
cp -av ${S}/Lohit-Bengali.ttf ${D}${FONTSDIR}/lohit/
install -d -v --mode=755 ${D}${DATADIR}/fontconfig/conf.avail/
install -d -v --mode=755 ${D}/etc/fonts/conf.d/
ln -s ${DATADIR}/fontconfig/conf.avail/66-lohit-bengali.conf ${D}/etc/fonts/conf.d
}
38 changes: 38 additions & 0 deletions lohit-devanagari-ttf.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/usr/bin/env beesh

# BEE_VERSION lohit-devanagari-ttf-2.95.4-0

# more info: https://pagure.io/lohit/

SRCURL+=(https://beehive.molgen.mpg.de/4e6d114916faa3d85ccbf778f344e088/lohit-devanagari-ttf-2.95.4.tar.gz)

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}

#mee_build() {
# bee_build
#}

mee_install() {
FONTSDIR=${DATADIR}/fonts
install -d -v --mode=755 ${D}${FONTSDIR}/lohit/
cp -av ${S}/Lohit-Devanagari.ttf ${D}${FONTSDIR}/lohit/
install -d -v --mode=755 ${D}${DATADIR}/fontconfig/conf.avail/
install -d -v --mode=755 ${D}/etc/fonts/conf.d/
ln -s ${DATADIR}/fontconfig/conf.avail/66-lohit-devanagari.conf ${D}/etc/fonts/conf.d
}
38 changes: 38 additions & 0 deletions lohit-gujarati-ttf.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/usr/bin/env beesh

# BEE_VERSION lohit-gujarati-ttf-2.92.4-0

# more info: https://pagure.io/lohit/

SRCURL+=(https://beehive.molgen.mpg.de/a4fe11b55514af07fa0e76ab65fa2609/lohit-gujarati-ttf-2.92.4.tar.gz)

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}

#mee_build() {
# bee_build
#}

mee_install() {
FONTSDIR=${DATADIR}/fonts
install -d -v --mode=755 ${D}${FONTSDIR}/lohit/
cp -av ${S}/Lohit-Gujarati.ttf ${D}${FONTSDIR}/lohit/
install -d -v --mode=755 ${D}${DATADIR}/fontconfig/conf.avail/
install -d -v --mode=755 ${D}/etc/fonts/conf.d/
ln -s ${DATADIR}/fontconfig/conf.avail/66-lohit-gujarati.conf ${D}/etc/fonts/conf.d
}
38 changes: 38 additions & 0 deletions lohit-gurmukhi-ttf.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/usr/bin/env beesh

# BEE_VERSION lohit-gurmukhi-ttf-2.91.2-0

# more info: https://pagure.io/lohit/

SRCURL+=(https://beehive.molgen.mpg.de/85d8bf52bda23c1cd422be54dee113a6/lohit-gurmukhi-ttf-2.91.2.tar.gz)

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}

#mee_build() {
# bee_build
#}

mee_install() {
FONTSDIR=${DATADIR}/fonts
install -d -v --mode=755 ${D}${FONTSDIR}/lohit/
cp -av ${S}/Lohit-Gurmukhi.ttf ${D}${FONTSDIR}/lohit/
install -d -v --mode=755 ${D}${DATADIR}/fontconfig/conf.avail/
install -d -v --mode=755 ${D}/etc/fonts/conf.d/
ln -s ${DATADIR}/fontconfig/conf.avail/66-lohit-gurmukhi.conf ${D}/etc/fonts/conf.d
}
38 changes: 38 additions & 0 deletions lohit-kannada-ttf.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/usr/bin/env beesh

# BEE_VERSION lohit-kannada-ttf-2.5.4-0

# more info: https://pagure.io/lohit/

SRCURL+=(https://beehive.molgen.mpg.de/0c853d258fb9f36aa4587c2bd559db68/lohit-kannada-ttf-2.5.4.tar.gz)

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}

#mee_build() {
# bee_build
#}

mee_install() {
FONTSDIR=${DATADIR}/fonts
install -d -v --mode=755 ${D}${FONTSDIR}/lohit/
cp -av ${S}/Lohit-Kannada.ttf ${D}${FONTSDIR}/lohit/
install -d -v --mode=755 ${D}${DATADIR}/fontconfig/conf.avail/
install -d -v --mode=755 ${D}/etc/fonts/conf.d/
ln -s ${DATADIR}/fontconfig/conf.avail/66-lohit-kannada.conf ${D}/etc/fonts/conf.d
}
38 changes: 38 additions & 0 deletions lohit-malayalam-ttf.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/usr/bin/env beesh

# BEE_VERSION lohit-malayalam-ttf-2.92.2-0

# more info: https://pagure.io/lohit/

SRCURL+=(https://beehive.molgen.mpg.de/7b95bbf0ab6ad291c517eb9f07a818c1/lohit-malayalam-ttf-2.92.2.tar.gz)

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}

#mee_build() {
# bee_build
#}

mee_install() {
FONTSDIR=${DATADIR}/fonts
install -d -v --mode=755 ${D}${FONTSDIR}/lohit/
cp -av ${S}/Lohit-Malayalam.ttf ${D}${FONTSDIR}/lohit/
install -d -v --mode=755 ${D}${DATADIR}/fontconfig/conf.avail/
install -d -v --mode=755 ${D}/etc/fonts/conf.d/
ln -s ${DATADIR}/fontconfig/conf.avail/66-lohit-malayalam.conf ${D}/etc/fonts/conf.d
}
38 changes: 38 additions & 0 deletions lohit-marathi-ttf.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/usr/bin/env beesh

# BEE_VERSION lohit-marathi-ttf-2.94.2-0

# more info: https://pagure.io/lohit/

SRCURL+=(https://beehive.molgen.mpg.de/252ca6bbc317b73e27656bd6f6d73dba/lohit-marathi-ttf-2.94.2.tar.gz)

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}

#mee_build() {
# bee_build
#}

mee_install() {
FONTSDIR=${DATADIR}/fonts
install -d -v --mode=755 ${D}${FONTSDIR}/lohit/
cp -av ${S}/Lohit-Marathi.ttf ${D}${FONTSDIR}/lohit/
install -d -v --mode=755 ${D}${DATADIR}/fontconfig/conf.avail/
install -d -v --mode=755 ${D}/etc/fonts/conf.d/
ln -s ${DATADIR}/fontconfig/conf.avail/66-lohit-marathi.conf ${D}/etc/fonts/conf.d
}
38 changes: 38 additions & 0 deletions lohit-nepali-ttf.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/usr/bin/env beesh

# BEE_VERSION lohit-nepali-ttf-2.94.2-0

# more info: https://pagure.io/lohit/

SRCURL+=(https://beehive.molgen.mpg.de/6f11930fc02228038cbb3f6782521c44/lohit-nepali-ttf-2.94.2.tar.gz)

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}

#mee_build() {
# bee_build
#}

mee_install() {
FONTSDIR=${DATADIR}/fonts
install -d -v --mode=755 ${D}${FONTSDIR}/lohit/
cp -av ${S}/Lohit-Nepali.ttf ${D}${FONTSDIR}/lohit/
install -d -v --mode=755 ${D}${DATADIR}/fontconfig/conf.avail/
install -d -v --mode=755 ${D}/etc/fonts/conf.d/
ln -s ${DATADIR}/fontconfig/conf.avail/66-lohit-nepali.conf ${D}/etc/fonts/conf.d
}
38 changes: 38 additions & 0 deletions lohit-odia-ttf.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/usr/bin/env beesh

# BEE_VERSION lohit-odia-ttf-2.91.2-0

# more info: https://pagure.io/lohit/

SRCURL+=(https://beehive.molgen.mpg.de/066f83aa4bc855cce6a78539a193633e/lohit-odia-ttf-2.91.2.tar.gz)

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}

#mee_build() {
# bee_build
#}

mee_install() {
FONTSDIR=${DATADIR}/fonts
install -d -v --mode=755 ${D}${FONTSDIR}/lohit/
cp -av ${S}/Lohit-Odia.ttf ${D}${FONTSDIR}/lohit/
install -d -v --mode=755 ${D}${DATADIR}/fontconfig/conf.avail/
install -d -v --mode=755 ${D}/etc/fonts/conf.d/
ln -s ${DATADIR}/fontconfig/conf.avail/66-lohit-odia.conf ${D}/etc/fonts/conf.d
}
Loading