Skip to content

Commit

Permalink
Merge pull request #2821 from mariux64/put-all-indico-fonts-in-one-be…
Browse files Browse the repository at this point in the history
…e-file

Put all Indic fonts (Lohit) in one bee file
  • Loading branch information
pmenzel authored Jan 9, 2023
2 parents 7804f95 + a0bad97 commit 4818904
Show file tree
Hide file tree
Showing 14 changed files with 63 additions and 494 deletions.
63 changes: 63 additions & 0 deletions fonts-indic.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
#!/usr/bin/env beesh

set +x

# BEE_VERSION fonts-indic-1.0-0

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

BEE_EXTRACT_STRIP=0

SRCURL+=(https://beehive.molgen.mpg.de/4e5bfe6d23209bdff49167007085c7ba/lohit-assamese-ttf-2.91.5.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/7c8e0e7eac003aa387bb5ca777296c03/lohit-bengali-ttf-2.91.5.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/4e6d114916faa3d85ccbf778f344e088/lohit-devanagari-ttf-2.95.4.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/a4fe11b55514af07fa0e76ab65fa2609/lohit-gujarati-ttf-2.92.4.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/85d8bf52bda23c1cd422be54dee113a6/lohit-gurmukhi-ttf-2.91.2.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/0c853d258fb9f36aa4587c2bd559db68/lohit-kannada-ttf-2.5.4.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/7b95bbf0ab6ad291c517eb9f07a818c1/lohit-malayalam-ttf-2.92.2.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/252ca6bbc317b73e27656bd6f6d73dba/lohit-marathi-ttf-2.94.2.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/6f11930fc02228038cbb3f6782521c44/lohit-nepali-ttf-2.94.2.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/066f83aa4bc855cce6a78539a193633e/lohit-odia-ttf-2.91.2.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/2695776fe2f53dd85f08264685603e62/lohit-tamil-classical-ttf-2.5.4.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/972c4d992e8506e0af4604a52315b174/lohit-tamil-ttf-2.91.3.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/0e5d926d893bc01870e020a92ef5cfd9/lohit-telugu-ttf-2.5.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/
install -d -v --mode=755 ${D}${DATADIR}/fontconfig/conf.avail/
install -d -v --mode=755 ${D}/etc/fonts/conf.d/

for f in ${S}/*; do
cp -av $f/*.ttf ${D}${FONTSDIR}/lohit/
fontconffile=$f/*.conf
cp -av ${fontconffile} ${D}${DATADIR}/fontconfig/conf.avail/
ln -sv ${DATADIR}/fontconfig/conf.avail/$(basename ${fontconffile}) ${D}/etc/fonts/conf.d
done
}

#mee_install_post() {
# exit
#}
38 changes: 0 additions & 38 deletions lohit-assamese-ttf.be0

This file was deleted.

38 changes: 0 additions & 38 deletions lohit-bengali-ttf.be0

This file was deleted.

38 changes: 0 additions & 38 deletions lohit-devanagari-ttf.be0

This file was deleted.

38 changes: 0 additions & 38 deletions lohit-gujarati-ttf.be0

This file was deleted.

38 changes: 0 additions & 38 deletions lohit-gurmukhi-ttf.be0

This file was deleted.

38 changes: 0 additions & 38 deletions lohit-kannada-ttf.be0

This file was deleted.

38 changes: 0 additions & 38 deletions lohit-malayalam-ttf.be0

This file was deleted.

38 changes: 0 additions & 38 deletions lohit-marathi-ttf.be0

This file was deleted.

Loading

0 comments on commit 4818904

Please sign in to comment.