2023-07-27 12:40:46 +02:00
|
|
|
DESCRIPTION = "tofi menu for wayland"
|
|
|
|
|
|
|
|
LICENSE = "MIT"
|
|
|
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
|
|
|
|
|
|
|
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
|
|
|
|
2023-07-27 13:32:23 +02:00
|
|
|
DEPENDS = "wayland freetype wayland-native wayland-protocols-native wayland-protocols harfbuzz pango libxkbcommon"
|
2023-07-27 12:40:46 +02:00
|
|
|
|
|
|
|
SRCREV = "${AUTOREV}"
|
|
|
|
|
|
|
|
SRC_URI = "git://github.com/philj56/tofi.git;protocol=https;branch=master"
|
2023-07-29 00:20:07 +02:00
|
|
|
SRC_URI += " file://config file://drun "
|
2023-07-27 12:40:46 +02:00
|
|
|
|
|
|
|
S="${WORKDIR}/git"
|
|
|
|
|
|
|
|
inherit meson pkgconfig
|
|
|
|
|
|
|
|
EXTRA_OEMESON += "--buildtype release"
|
|
|
|
|
|
|
|
do_install:append () {
|
|
|
|
# replace the default config
|
2023-07-29 00:20:07 +02:00
|
|
|
install -m 0755 ${WORKDIR}/drun ${D}/usr/bin/
|
2023-07-27 12:40:46 +02:00
|
|
|
install -m 0755 ${WORKDIR}/config ${D}/${sysconfdir}/xdg/tofi/
|
|
|
|
}
|
|
|
|
|
2023-07-29 00:20:07 +02:00
|
|
|
FILES:${PN} += "/usr/share/*"
|