Commit f3e3976c authored by Florent Revest's avatar Florent Revest

Adds a recipe for ttf-orbitron and makes asteroid-launcher depend on it for...

Adds a recipe for ttf-orbitron and makes asteroid-launcher depend on it for the new scific watchface
parent c5ed1d7a
......@@ -13,7 +13,7 @@ S = "${WORKDIR}/git"
inherit qmake5
DEPENDS += "lipstick"
RDEPENDS_${PN} += "qtdeclarative-qmlplugins qml-asteroid qtwayland-plugins qtgraphicaleffects-qmlplugins nemo-qml-plugin-time nemo-qml-plugin-contextkit nemo-qml-plugin-configuration asteroid-wallpapers ttf-roboto ttf-raleway"
RDEPENDS_${PN} += "qtdeclarative-qmlplugins qml-asteroid qtwayland-plugins qtgraphicaleffects-qmlplugins nemo-qml-plugin-time nemo-qml-plugin-contextkit nemo-qml-plugin-configuration asteroid-wallpapers ttf-roboto ttf-raleway ttf-orbitron"
FILES_${PN} += "/usr/share/asteroid-launcher/ /usr/lib/systemd/user/"
do_install_append() {
......
SUMMARY = "Orbitron fonts - TTF Version"
SECTION = "fonts"
HOMEPAGE = "https://www.google.com/fonts/specimen/Orbitron"
LICENSE = "OFL-1.1"
LIC_FILES_CHKSUM = "file://Open%20Font%20License.markdown;md5=b94d2318897b36cfe9a9431eba1e1354"
PR = "r0"
# we don't need a compiler nor a c library for these fonts
INHIBIT_DEFAULT_DEPS = "1"
inherit allarch
inherit qmake5_paths
SRC_URI = "git://github.com/theleagueof/orbitron.git;protocol=https"
SRCREV = "13e6a5222aa6818d81c9acd27edd701a2d744152"
S = "${WORKDIR}/git"
FONT_PACKAGES = "ttf-orbitron"
do_install() {
# Different versions of OE seems to require different places for fonts so we install in both share and lib...
install -d ${D}/${OE_QMAKE_PATH_QT_FONTS}
find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}/${OE_QMAKE_PATH_QT_FONTS} \;
}
FILES_${PN} += "${OE_QMAKE_PATH_QT_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