mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-07-13 14:34:34 +02:00
mako: add recipe
This commit is contained in:
51
recipes-support/mako/mako_git.bb
Normal file
51
recipes-support/mako/mako_git.bb
Normal file
@ -0,0 +1,51 @@
|
||||
SUMMARY = "A lightweight notification daemon for Wayland."
|
||||
HOMEPAGE = "github.com/emersion/mako"
|
||||
SECTION = "Wayland"
|
||||
LICENSE = "MIT"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=e316e9609dd7672b87ff25b46b2cf3e1"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "wayland"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/emersion/mako.git;protocol=https \
|
||||
file://0001-meson.build-fix-scdoc-not-to-be-found.patch \
|
||||
"
|
||||
|
||||
DEPENDS = " \
|
||||
pango \
|
||||
cairo \
|
||||
libpng \
|
||||
wayland \
|
||||
wayland-native \
|
||||
wayland-protocols \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN} = "dbus"
|
||||
|
||||
RRECOMMENDS_${PN} = "jq"
|
||||
|
||||
inherit meson pkgconfig features_check
|
||||
|
||||
PACKAGECONFIG[systemd] = ",,systemd"
|
||||
PACKAGECONFIG[sysvinit] = ",,elogind"
|
||||
PACKAGECONFIG[man-pages] = ",,scdoc-native"
|
||||
PACKAGECONFIG[icons] = ",,gdk-pixbuf"
|
||||
|
||||
PACKAGECONFIG ?= " \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'sysvinit', d)} \
|
||||
icons \
|
||||
man-pages \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "1.6"
|
||||
SRCREV = "v${PV}"
|
||||
|
||||
EXTRA_OEMESON += "--buildtype release"
|
||||
|
||||
FILES_${PN} += "${datadir}"
|
||||
|
||||
BBCLASSEXTEND = ""
|
||||
|
Reference in New Issue
Block a user