Initial commit
This commit is contained in:
27
recipes-support/tofi/tofi_git.bb
Normal file
27
recipes-support/tofi/tofi_git.bb
Normal file
@ -0,0 +1,27 @@
|
||||
DESCRIPTION = "tofi menu for wayland"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
||||
|
||||
DEPENDS = "wayland freetype wayland-native wayland-protocols-native wayland-protocols harfbuzz pango libxkbcommon"
|
||||
|
||||
SRCREV = "${AUTOREV}"
|
||||
|
||||
SRC_URI = "git://github.com/philj56/tofi.git;protocol=https;branch=master"
|
||||
SRC_URI += " file://config file://drun "
|
||||
|
||||
S="${WORKDIR}/git"
|
||||
|
||||
inherit meson pkgconfig
|
||||
|
||||
EXTRA_OEMESON += "--buildtype release"
|
||||
|
||||
do_install:append () {
|
||||
# replace the default config
|
||||
install -m 0755 ${WORKDIR}/drun ${D}/usr/bin/
|
||||
install -m 0755 ${WORKDIR}/config ${D}/${sysconfdir}/xdg/tofi/
|
||||
}
|
||||
|
||||
FILES:${PN} += "/usr/share/*"
|
Reference in New Issue
Block a user