blob: 9024b6404e450e233943ecc406667ac1b07b85bb [file] [log] [blame]
Joel Stanleye8f268e2018-04-23 10:50:44 +09301HOMEPAGE = "https://github.com/jk-ozlabs/fbterm"
Patrick Williams15587222022-04-20 21:41:15 -05002LICENSE = "GPL-2.0-or-later"
Ed Tanous9936f862022-09-19 09:13:20 -07003LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=d8e20eece214df8ef953ed5857862150"
4DEPENDS += "freetype"
5DEPENDS += "fontconfig"
6SRCREV = "c15430560aeb82a27358cc320af4a29e1296e6c1"
7PV = "1.7+git${SRCPV}"
8PR = "r1"
Joel Stanleye8f268e2018-04-23 10:50:44 +09309
Patrick Williamsbb99d222022-01-24 15:55:09 -060010SRC_URI += "git://github.com/jk-ozlabs/fbterm.git;nobranch=1;protocol=https"
Joel Stanleye8f268e2018-04-23 10:50:44 +093011SRC_URI += "file://fb.modes"
Joel Stanleye8f268e2018-04-23 10:50:44 +093012
Ed Tanous9936f862022-09-19 09:13:20 -070013S = "${WORKDIR}/git"
14SYSTEMD_SERVICE:${PN} += "fbterm.service"
15SYSTEMD_ENVIRONMENT_FILE:${PN} += "fbterm"
Joel Stanleye8f268e2018-04-23 10:50:44 +093016
17inherit autotools
18inherit pkgconfig
19inherit obmc-phosphor-systemd
20
Joel Stanleye8f268e2018-04-23 10:50:44 +093021do_install() {
22 oe_runmake 'DESTDIR=${D}' install-exec
23 install -d ${D}${sysconfdir}/
24 install -m 0644 ${WORKDIR}/fb.modes ${D}${sysconfdir}/
25}