First commit

This commit is contained in:
Markus Volk
2021-06-02 16:13:46 +02:00
commit 71da66da77
26 changed files with 1021 additions and 0 deletions

View File

@ -0,0 +1,58 @@
SUMMARY = "A Wayland WM"
HOMEPAGE = "https://github.com/swaywm/sway"
BUGTRACKER = "https://github.com/swaywm/sway/issues"
SECTION = "graphics"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=dfc67e5b1fa10ebb4b70eb0c0ca67bea"
REQUIRED_DISTRO_FEATURES = "wayland"
DEPENDS += " \
wlroots \
cairo \
libevdev \
json-c \
libdrm \
libinput \
libxkbcommon \
pango \
pcre \
pixman \
virtual/libgles2 \
wayland \
wayland-native \
wayland-protocols \
"
SRC_URI = " \
git://github.com/swaywm/sway.git;protocol=https \
"
SRCREV = "7c74f01f0ae9d5b3f92d3e6fc64cb9abe95b4c52"
PV = "1.6+${SRCREV}"
S = "${WORKDIR}/git"
inherit meson pkgconfig features_check
PACKAGECONFIG[default-wallpaper] = "-Ddefault-wallpaper=true,-Ddefault-wallpaper=false"
PACKAGECONFIG[gdk-pixbuf] = "-Dgdk-pixbuf=enabled,-Dgdk-pixbuf=disabled,gdk-pixbuf"
PACKAGECONFIG[systemd] = "-Dsd-bus-provider=libsystemd,,systemd"
PACKAGECONFIG[sysvinit] = "-Dsd-bus-provider=libelogind,,eudev elogind"
PACKAGECONFIG[tray] = "-Dtray=enabled,-Dtray=disabled"
PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,libxcb"
PACKAGECONFIG ?= " \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
${@bb.utils.filter('DISTRO_FEATURES', 'sysvinit', d)} \
gdk-pixbuf \
"
EXTRA_OEMESON += "--buildtype release"
FILES_${PN}_append = " \
${datadir} \
"
BBCLASSEXTEND = ""

View File

@ -0,0 +1,58 @@
SUMMARY = "A Wayland WM"
HOMEPAGE = "https://github.com/WayfireWM/wayfire"
BUGTRACKER = "https://github.com/WayfireWM/wayfire/issues"
SECTION = "graphics"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=14e4594093363e3c3a530e9b54cb5285"
REQUIRED_DISTRO_FEATURES = "wayland"
DEPENDS += " \
cairo \
freetype \
glm \
jpeg \
libdrm \
libevdev \
libinput \
libpng \
libxkbcommon \
libxml2 \
mesa \
pixman \
seatd \
wayland \
wayland-native \
wayland-protocols \
"
RRECOMMENDS_${PN} += " \
wlroots \
wcm \
wf-config \
wf-recorder \
wf-shell \
"
PACKAGECONFIG[gles32] = "-Denable_gles32=true,-Denable_gles32=false"
PACKAGECONFIG[use_system_wfconfig] = "-Duse_system_wfconfig=enabled,-Duse_system_wfconfig=disabled,wlroots"
PACKAGECONFIG[use_system_wlroots] = "-Duse_system_wlroots=enabled,-Duse_system_wlroots=disabled,wf-config"
PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled"
PACKAGECONFIG ?= " \
use_system_wfconfig \
use_system_wlroots \
"
SRC_URI = "git://github.com/WayfireWM/wayfire.git;protocol=https"
SRCREV = "be207f693675d0b48e79d7a5f4adb6f46cd228e2"
S = "${WORKDIR}/git"
inherit meson pkgconfig features_check
EXTRA_OEMESON += "--buildtype release"
BBCLASSEXTEND = ""

View File

@ -0,0 +1,31 @@
SUMMARY = "Wayfire Config Manager"
HOMEPAGE = "https://github.com/WayfireWM/wcm"
BUGTRACKER = "https://github.com/WayfireWM/wcm/issues"
SECTION = "graphics"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=ccb736ab917abd09ce6915fbf9a0f887"
DEPENDS = " \
wayfire \
wayland \
wayland-native \
wayland-protocols \
gtkmm3 \
wf-config \
"
REQUIRED_DISTRO_FEATURES = "wayland"
SRC_URI = "https://github.com/WayfireWM/wcm/releases/download/v${PV}/wcm-${PV}.tar.xz"
SRC_URI[sha256sum] = "924a9682dc2f632bad8b6914a8927ad5dcee4b6698f75e89251f1647ad0beaa7"
S = "${WORKDIR}/${PN}-${PV}"
inherit meson pkgconfig features_check
EXTRA_OEMESON += "--buildtype release"
FILES_${PN} += "${prefix}"
BBCLASSEXTEND = ""

View File

@ -0,0 +1,28 @@
SUMMARY = "A Wayland WM"
HOMEPAGE = "https://github.com/WayfireWM/wf-config"
BUGTRACKER = "https://github.com/WayfireWM/wf-config/issues"
SECTION = "graphics"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e165ae90e5190201fda9741b611f9378"
DEPENDS = " \
glm \
libevdev \
libxml2 \
"
REQUIRED_DISTRO_FEATURES = "wayland"
SRC_URI = "https://github.com/WayfireWM/wf-config/releases/download/v${PV}/wf-config-${PV}.tar.xz"
SRC_URI[sha256sum] = "7d2285adeaca0ff6e36e6ef450564ab02c8e26ba5da3b169257c5bf061f7e5f0"
S = "${WORKDIR}/${PN}-${PV}"
inherit meson pkgconfig features_check
EXTRA_OEMESON += "--buildtype release"
BBCLASSEXTEND = ""

View File

@ -0,0 +1,39 @@
SUMMARY = "A Wayland WM"
HOMEPAGE = "https://github.com/WayfireWM/wf-shell"
BUGTRACKER = "https://github.com/WayfireWM/wf-shell/issues"
SECTION = "graphics"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=36b5a4f8bf9f782fbab2099fdeb44369"
DEPENDS = " \
wayland \
wayland-native \
wayland-protocols \
wayfire \
gtkmm3 \
wf-config \
pulseaudio \
libnotify3 \
"
DEPENDS_append_class-target = " gobject-introspection-native qemu-native prelink-native"
REQUIRED_DISTRO_FEATURES = "wayland gobject-introspection-data"
SRC_URI = " \
https://github.com/WayfireWM/wf-shell/releases/download/v${PV}/wf-shell-${PV}.tar.xz \
"
SRC_URI[sha256sum] = "7495c690a1c021e0c82ba304513b3e7870cb329f7f0bf88df3bc5f46535d5ec7"
S = "${WORKDIR}/${PN}-${PV}"
inherit meson pkgconfig features_check
EXTRA_OEMESON += "--buildtype release"
FILES_${PN} += "${prefix}"
BBCLASSEXTEND = ""

View File

@ -0,0 +1,57 @@
SUMMARY = "A modular Wayland compositor library"
DESCRIPTION = "Pluggable, composable, unopinionated modules for building a \
Wayland compositor; or about 50,000 lines of code you were \
going to write anyway"
HOMEPAGE = "https://github.com/swaywm/wlroots"
BUGTRACKER = "https://github.com/swaywm/wlroots/issues"
SECTION = "graphics"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7578fad101710ea2d289ff5411f1b818"
REQUIRED_DISTRO_FEATURES = "wayland"
DEPENDS += " \
libdrm \
libinput \
libxkbcommon \
pixman \
seatd \
virtual/libgbm \
wayland \
wayland-native \
wayland-protocols \
"
PACKAGECONFIG[gles2] = "-Drenderers=gles2"
PACKAGECONFIG[systemd] = ",,systemd"
PACKAGECONFIG[sysvinit] = ",,eudev elogind"
PACKAGECONFIG[x11-backend] = "-Dx11-backend=enabled,-Dx11-backend=disabled,xcb-util-renderutil"
PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,xserver-xorg xcb-util-wm"
PACKAGECONFIG ?= " \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
${@bb.utils.filter('DISTRO_FEATURES', 'sysvinit', d)} \
gles2 \
"
SRC_URI = "git://github.com/swaywm/wlroots.git;protocol=https"
SRCREV = "c85789a3a9f6f851e6fbc900495057ba91b3e255"
PV = "0.13+${SRCREV}"
S = "${WORKDIR}/git"
inherit meson pkgconfig features_check
EXTRA_OEMESON += "--buildtype release"
FILES_${PN} = "${bindir} \
${libdir} \
"
FILES_${PN}-dev = "${includedir} \
${libdir}/libwlroots.so \
"
BBCLASSEXTEND = ""