mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-08-28 06:52:06 +02:00
First commit
This commit is contained in:
30
recipes-support/waybar/font-awesome-otf_5.15.2.bb
Normal file
30
recipes-support/waybar/font-awesome-otf_5.15.2.bb
Normal file
@@ -0,0 +1,30 @@
|
||||
SUMMARY = "Font Awesome"
|
||||
|
||||
HOMEPAGE = "https://fontawesome.com/"
|
||||
SECTION = "base/fonts"
|
||||
|
||||
LICENSE = "OFL-1.1"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2e3494502db283e8891d4886fe445912"
|
||||
|
||||
SRCREV = "${AUTOREV}"
|
||||
|
||||
SRC_URI = " \
|
||||
https://github.com/FortAwesome/Font-Awesome/archive/${PV}.tar.gz \
|
||||
"
|
||||
SRC_URI[sha256sum] = "ce8d6225c59c2fedab03658144d896807e58d7d5082da7c9655301a44c5cb3d2"
|
||||
|
||||
S = "${WORKDIR}/Font-Awesome-${PV}"
|
||||
SRCREV = "${AUTOREV}"
|
||||
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${datadir}/fonts/opentype
|
||||
for font in ${S}/otfs/*.otf; do
|
||||
install -m 0644 "$font" ${D}${datadir}/fonts/opentype
|
||||
done
|
||||
}
|
||||
|
||||
FILES_${PN} = " \
|
||||
${datadir}/fonts \
|
||||
"
|
||||
|
32
recipes-support/waybar/gtk-layer-shell_git.bb
Normal file
32
recipes-support/waybar/gtk-layer-shell_git.bb
Normal file
@@ -0,0 +1,32 @@
|
||||
SUMMARY = "A library to write GTK applications that use Layer Shell"
|
||||
DESCRIPTION = "A library to write GTK applications that use Layer Shell. Layer Shell is a Wayland protocol for desktop shell components, such as panels, notifications and wallpapers."
|
||||
AUTHOR = ""
|
||||
HOMEPAGE = "https://github.com/wmww/gtk-layer-shell"
|
||||
BUGTRACKER = "https://github.com/www/gtk-layer-shell/issues"
|
||||
SECTION = "graphics"
|
||||
LICENSE = "MIT"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE_MIT.txt;md5=d015f272ca1521139fd99ea64d6e5e23"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "wayland gobject-introspection-data"
|
||||
|
||||
DEPENDS += " \
|
||||
gtk+3 \
|
||||
wayland \
|
||||
wayland-native \
|
||||
gobject-introspection \
|
||||
gobject-introspection-native \
|
||||
qemu-native \
|
||||
prelink-native \
|
||||
"
|
||||
|
||||
SRC_URI = "git://github.com/wmww/gtk-layer-shell.git;protocol=https"
|
||||
SRCREV = "6ddf8f48a5659108550303dc84b99a472f9ef622"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit meson pkgconfig features_check
|
||||
FILES_${PN} = "${datadir} ${libdir}"
|
||||
|
||||
BBCLASSEXTEND = ""
|
||||
|
64
recipes-support/waybar/waybar_git.bb
Normal file
64
recipes-support/waybar/waybar_git.bb
Normal file
@@ -0,0 +1,64 @@
|
||||
SUMMARY = "Wayland bar for Wlroots based compositors"
|
||||
DESCRIPTION = "Highly customizable Wayland bar for Sway and Wlroots based compositors."
|
||||
AUTHOR = ""
|
||||
HOMEPAGE = "https://github.com/Alexays/Waybar"
|
||||
BUGTRACKER = "https://github.com/Alexays/Waybar/issues"
|
||||
SECTION = "graphics"
|
||||
LICENSE = "MIT"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=98f7e9dc79966298d76caf1b0a6d35c1"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "wayland gobject-introspection-data"
|
||||
|
||||
DEPENDS += " \
|
||||
glib-2.0-native \
|
||||
gtkmm3 \
|
||||
jsoncpp \
|
||||
libsigc++-3 \
|
||||
fmt \
|
||||
spdlog \
|
||||
gtk+3 \
|
||||
gobject-introspection \
|
||||
wayland \
|
||||
wayland-native \
|
||||
wayland-protocols \
|
||||
"
|
||||
|
||||
PACKAGECONFIG[bluetooth] = "-Drfkill=enabled,-Drfkill=disabled"
|
||||
PACKAGECONFIG[date] = ",,date"
|
||||
PACKAGECONFIG[pulseaudio] = ",,pulseaudio"
|
||||
PACKAGECONFIG[gtk-layer-shell] = ",,gtk-layer-shell"
|
||||
PACKAGECONFIG[mpd] = ",,libmpdclient"
|
||||
PACKAGECONFIG[network] = ",,libnl"
|
||||
PACKAGECONFIG[sysvinit] = ",,eudev"
|
||||
PACKAGECONFIG[systemd] = ",,systemd"
|
||||
# this would rdepend on a bunch of libindicator recipes we dont provide
|
||||
PACKAGECONFIG[tray] = ",,libdbusmenu"
|
||||
|
||||
PACKAGECONFIG ?= " \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'bluetooth', d)} \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio', d)} \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'sysvinit', d)} \
|
||||
network \
|
||||
gtk-layer-shell \
|
||||
date \
|
||||
"
|
||||
|
||||
RRECOMMENDS_${PN} += " \
|
||||
font-awesome-otf \
|
||||
"
|
||||
|
||||
SRC_URI = "git://github.com/Alexays/Waybar.git;protocol=https"
|
||||
SRCREV = "c21dc681c95361bcdbc1b4b998d2b2b9370f337c"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit meson pkgconfig features_check
|
||||
|
||||
PACKAGES += "${PN}-systemd"
|
||||
|
||||
FILES_${PN}-systemd += "${libdir}/systemd"
|
||||
|
||||
BBCLASSEXTEND = ""
|
||||
|
Reference in New Issue
Block a user