Commit 2ce2d0ad authored by Florent Revest's avatar Florent Revest Committed by GitHub

Merge pull request #18 from Huntereb/master

Adds the Symbola Font for emoji support
parents 7bbe315d 090fd164
...@@ -14,7 +14,7 @@ S = "${WORKDIR}/git" ...@@ -14,7 +14,7 @@ S = "${WORKDIR}/git"
inherit qmake5 inherit qmake5
DEPENDS += "lipstick qttools-native" DEPENDS += "lipstick qttools-native"
RDEPENDS_${PN} += "qtdeclarative-qmlplugins qml-asteroid qtwayland-plugins nemo-qml-plugin-time nemo-qml-plugin-contextkit nemo-qml-plugin-configuration asteroid-wallpapers ttf-roboto ttf-raleway ttf-orbitron" RDEPENDS_${PN} += "qtdeclarative-qmlplugins qml-asteroid qtwayland-plugins nemo-qml-plugin-time nemo-qml-plugin-contextkit nemo-qml-plugin-configuration asteroid-wallpapers ttf-roboto ttf-raleway ttf-orbitron ttf-symbola"
FILES_${PN} += "/usr/share/asteroid-launcher/ /usr/lib/systemd/user/ /usr/share/translations/ /home/ceres/.config/systemd/user/default.target.wants/" FILES_${PN} += "/usr/share/asteroid-launcher/ /usr/lib/systemd/user/ /usr/share/translations/ /home/ceres/.config/systemd/user/default.target.wants/"
do_install_append() { do_install_append() {
......
SUMMARY = "Symbola Font"
SECTION = "fonts"
HOMEPAGE = "http://users.teilar.gr/~g1951d/"
LICENSE = "PD"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/PD;md5=b3597d12946881e13cb3b548d1173851"
PR = "r0"
# we don't need a compiler nor a c library for these fonts
INHIBIT_DEFAULT_DEPS = "1"
inherit allarch
inherit qmake5_paths
S = "${WORKDIR}/symbola"
SRC_URI = "http://users.teilar.gr/~g1951d/Symbola.zip;subdir=${S}"
# If the file updates in the future, it won't stop compilation, but we'll see some warnings
BB_STRICT_CHECKSUM = "0"
SRC_URI[md5sum] = "f4ef2094f0be2c52117ab5634dc60ae9"
FONT_PACKAGES = "ttf-symbola"
do_install() {
# Different versions of OE seems to require different places for fonts so we install in both share and lib...
install -d ${D}/usr/share/fonts/
install -m 0644 ./Symbola.ttf ${D}/usr/share/fonts/
}
FILES_${PN} += "/usr/share/fonts/"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment