mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-07-12 22:14:30 +02:00
First commit
This commit is contained in:
23
recipes-support/dmenu/dmenu-wayland_git.bb
Normal file
23
recipes-support/dmenu/dmenu-wayland_git.bb
Normal file
@ -0,0 +1,23 @@
|
||||
SUMMARY = "dmenu for wayland"
|
||||
HOMEPAGE = "https://github.com/nyyManni/dmenu-wayland.git"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=c1b51aaede0be292f946ef75b6759e6c"
|
||||
|
||||
|
||||
SRC_URI = "git://github.com/nyyManni/dmenu-wayland.git;protocol=https \
|
||||
"
|
||||
|
||||
DEPENDS = " \
|
||||
cairo \
|
||||
pango \
|
||||
wayland \
|
||||
wayland-native \
|
||||
libxkbcommon \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
SRCREV = "${AUTOREV}"
|
||||
PV = "${SRCPV}"
|
||||
|
||||
inherit meson pkgconfig
|
||||
|
31
recipes-support/grim/grim_git.bb
Normal file
31
recipes-support/grim/grim_git.bb
Normal file
@ -0,0 +1,31 @@
|
||||
SUMMARY = "Image Grabber For Wayland"
|
||||
DESCRIPTION = "Grab images from a Wayland compositor. Works great with slurp and with sway"
|
||||
AUTHOR = ""
|
||||
HOMEPAGE = "https://github.com/emersion/grim"
|
||||
BUGTRACKER = "https://github.com/emersion/grim/issues"
|
||||
SECTION = "graphics"
|
||||
LICENSE = "MIT"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=e316e9609dd7672b87ff25b46b2cf3e1"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "wayland"
|
||||
|
||||
DEPENDS += " \
|
||||
cairo \
|
||||
jpeg \
|
||||
wayland \
|
||||
wayland-native \
|
||||
wayland-protocols \
|
||||
"
|
||||
|
||||
SRC_URI = "git://github.com/emersion/grim.git;protocol=https"
|
||||
SRCREV = "${AUTOREV}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit meson pkgconfig features_check
|
||||
|
||||
EXTRA_OEMESON += "--buildtype release"
|
||||
|
||||
BBCLASSEXTEND = ""
|
||||
|
33
recipes-support/slurp/slurp_git.bb
Normal file
33
recipes-support/slurp/slurp_git.bb
Normal file
@ -0,0 +1,33 @@
|
||||
SUMMARY = "Region Selector For Wayland"
|
||||
DESCRIPTION = "Select a region in a Wayland compositor and print it to the standard output. Works well with grim."
|
||||
AUTHOR = ""
|
||||
HOMEPAGE = "https://github.com/emersion/slurp"
|
||||
BUGTRACKER = "https://github.com/emersion/slurp/issues"
|
||||
SECTION = "graphics"
|
||||
LICENSE = "MIT"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=e316e9609dd7672b87ff25b46b2cf3e1"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "wayland"
|
||||
|
||||
DEPENDS += " \
|
||||
cairo \
|
||||
jpeg \
|
||||
libxkbcommon \
|
||||
wayland \
|
||||
wayland-native \
|
||||
wayland-protocols \
|
||||
"
|
||||
|
||||
SRC_URI = "git://github.com/emersion/slurp.git;protocol=https"
|
||||
SRCREV = "${AUTOREV}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit meson pkgconfig features_check
|
||||
|
||||
EXTRA_OEMESON += "--buildtype release"
|
||||
|
||||
|
||||
BBCLASSEXTEND = ""
|
||||
|
32
recipes-support/swaybg/swaybg_1.0.bb
Normal file
32
recipes-support/swaybg/swaybg_1.0.bb
Normal file
@ -0,0 +1,32 @@
|
||||
SUMMARY = "A Wayland WM"
|
||||
HOMEPAGE = "https://github.com/swaywm/swaybg"
|
||||
BUGTRACKER = "https://github.com/swaywm/swaybg/issues"
|
||||
SECTION = "graphics"
|
||||
LICENSE = "MIT"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=b53d9ec16b9125995437ac9efab1b450"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "wayland systemd"
|
||||
|
||||
DEPENDS = " \
|
||||
cairo \
|
||||
gdk-pixbuf \
|
||||
wayland \
|
||||
wayland-native \
|
||||
wayland-protocols \
|
||||
"
|
||||
|
||||
SRC_URI = " \
|
||||
https://github.com/swaywm/swaybg/archive/refs/tags/${PV}.tar.gz \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "a23f1cde07138b865630172eff83db916d2f0989b75fb318def85dcfc3120fbd"
|
||||
|
||||
S = "${WORKDIR}/${PN}-${PV}"
|
||||
|
||||
inherit meson pkgconfig features_check
|
||||
|
||||
EXTRA_OEMESON += "--buildtype release"
|
||||
|
||||
BBCLASSEXTEND = ""
|
||||
|
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 = ""
|
||||
|
34
recipes-support/wf-recorder/wf-recorder_0.2.1.bb
Normal file
34
recipes-support/wf-recorder/wf-recorder_0.2.1.bb
Normal file
@ -0,0 +1,34 @@
|
||||
SUMMARY = "A Wayland Screen Recorder"
|
||||
HOMEPAGE = "https://github.com/ammen99/wf-recorder"
|
||||
BUGTRACKER = "https://github.com/ammen99/wf-recorder/issues"
|
||||
SECTION = "graphics"
|
||||
LICENSE = "MIT"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=dd7ed145448eb375bc1d98e5169ae84e"
|
||||
|
||||
DEPENDS = " \
|
||||
wayland \
|
||||
wayland-native \
|
||||
wayland-protocols \
|
||||
ffmpeg \
|
||||
"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "wayland"
|
||||
|
||||
SRC_URI = " \
|
||||
https://github.com/ammen99/wf-recorder/releases/download/v${PV}/wf-recorder-${PV}.tar.xz \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "bfe51f4f88ba755ac0ad993d00da706496f84e60b53de0ae24fe1c654cfaa376"
|
||||
|
||||
S = "${WORKDIR}/${PN}-${PV}"
|
||||
|
||||
inherit meson pkgconfig features_check
|
||||
|
||||
EXTRA_OEMESON += "--buildtype release"
|
||||
GIR_EXTRA_LIBS_PATH="${WORKDIR}"
|
||||
|
||||
FILES_${PN} += "${prefix}"
|
||||
|
||||
BBCLASSEXTEND = ""
|
||||
|
Reference in New Issue
Block a user