summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2018-01-16 13:31:32 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2018-01-16 13:32:45 -0200
commit54c5b21d4438950a078d65fd2ac80445c1367dd0 (patch)
tree75a17d4ddfa7fab8b87b925c7801546b58eeaa7e
parentbf7fd9cfe0788fe2f819a4ae2cc7db8327fe161a (diff)
downloadmeta-freescale-54c5b21d4438950a078d65fd2ac80445c1367dd0.tar.gz
weston: Remove 2.0.0 recipe as rocko has it
When moving to weston 2.0.0 fork, it also included a copy of weston recipe and it is not needed for rocko as this is the version available in the branch. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes-graphics/wayland/weston_2.0.0.bb113
1 files changed, 0 insertions, 113 deletions
diff --git a/recipes-graphics/wayland/weston_2.0.0.bb b/recipes-graphics/wayland/weston_2.0.0.bb
deleted file mode 100644
index 8160f5556..000000000
--- a/recipes-graphics/wayland/weston_2.0.0.bb
+++ /dev/null
@@ -1,113 +0,0 @@
1SUMMARY = "Weston, a Wayland compositor"
2DESCRIPTION = "Weston is the reference implementation of a Wayland compositor"
3HOMEPAGE = "http://wayland.freedesktop.org"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70 \
6 file://libweston/compositor.c;endline=26;md5=e342df749174a8ee11065583157c7a38"
7
8SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
9 file://weston.png \
10 file://weston.desktop \
11 file://0001-make-error-portable.patch \
12 file://0001-configure.ac-Fix-wayland-protocols-path.patch \
13 file://xwayland.weston-start \
14 file://0001-weston-launch-Provide-a-default-version-that-doesn-t.patch \
15"
16SRC_URI[md5sum] = "15f38945942bf2a91fe2687145fb4c7d"
17SRC_URI[sha256sum] = "b4e446ac27f118196f1609dab89bb3cb3e81652d981414ad860e733b355365d8"
18
19inherit autotools pkgconfig useradd distro_features_check
20# depends on virtual/egl
21REQUIRED_DISTRO_FEATURES = "opengl"
22
23DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 jpeg"
24DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native"
25
26EXTRA_OECONF = "--enable-setuid-install \
27 --disable-rdp-compositor \
28 "
29EXTRA_OECONF_append_qemux86 = "\
30 WESTON_NATIVE_BACKEND=fbdev-backend.so \
31 "
32EXTRA_OECONF_append_qemux86-64 = "\
33 WESTON_NATIVE_BACKEND=fbdev-backend.so \
34 "
35PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland egl', '', d)} \
36 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland', '', d)} \
37 ${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd x11', d)} \
38 clients launch"
39#
40# Compositor choices
41#
42# Weston on KMS
43PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm udev virtual/mesa mtdev"
44# Weston on Wayland (nested Weston)
45PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-wayland-compositor,virtual/mesa"
46# Weston on X11
47PACKAGECONFIG[x11] = "--enable-x11-compositor,--disable-x11-compositor,virtual/libx11 libxcb libxcb libxcursor cairo"
48# Headless Weston
49PACKAGECONFIG[headless] = "--enable-headless-compositor,--disable-headless-compositor"
50# Weston on framebuffer
51PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor,--disable-fbdev-compositor,udev mtdev"
52# weston-launch
53PACKAGECONFIG[launch] = "--enable-weston-launch,--disable-weston-launch,drm"
54# VA-API desktop recorder
55PACKAGECONFIG[vaapi] = "--enable-vaapi-recorder,--disable-vaapi-recorder,libva"
56# Weston with EGL support
57PACKAGECONFIG[egl] = "--enable-egl --enable-simple-egl-clients,--disable-egl --disable-simple-egl-clients,virtual/egl"
58# Weston with cairo glesv2 support
59PACKAGECONFIG[cairo-glesv2] = "--with-cairo-glesv2,--with-cairo=image,cairo"
60# Weston with lcms support
61PACKAGECONFIG[lcms] = "--enable-lcms,--disable-lcms,lcms"
62# Weston with webp support
63PACKAGECONFIG[webp] = "--with-webp,--without-webp,libwebp"
64# Weston with unwinding support
65PACKAGECONFIG[libunwind] = "--enable-libunwind,--disable-libunwind,libunwind"
66# Weston with systemd-login support
67PACKAGECONFIG[systemd] = "--enable-systemd-login,--disable-systemd-login,systemd dbus"
68# Weston with Xwayland support (requires X11 and Wayland)
69PACKAGECONFIG[xwayland] = "--enable-xwayland,--disable-xwayland"
70# colord CMS support
71PACKAGECONFIG[colord] = "--enable-colord,--disable-colord,colord"
72# Clients support
73PACKAGECONFIG[clients] = "--enable-clients --enable-simple-clients --enable-demo-clients-install,--disable-clients --disable-simple-clients"
74# Weston with PAM support
75PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam"
76
77do_install_append() {
78 # Weston doesn't need the .la files to load modules, so wipe them
79 rm -f ${D}/${libdir}/libweston-2/*.la
80
81 # If X11, ship a desktop file to launch it
82 if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then
83 install -d ${D}${datadir}/applications
84 install ${WORKDIR}/weston.desktop ${D}${datadir}/applications
85
86 install -d ${D}${datadir}/icons/hicolor/48x48/apps
87 install ${WORKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps
88 fi
89
90 if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then
91 install -Dm 644 ${WORKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland
92 fi
93}
94
95PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \
96 libweston-2 ${PN}-examples"
97
98FILES_${PN} = "${bindir}/weston ${bindir}/weston-terminal ${bindir}/weston-info ${bindir}/weston-launch ${bindir}/wcap-decode ${libexecdir} ${libdir}/${BPN}/*.so ${datadir}"
99
100FILES_libweston-2 = "${libdir}/lib*${SOLIBS} ${libdir}/libweston-2/*.so"
101SUMMARY_libweston-2 = "Helper library for implementing 'wayland window managers'."
102
103FILES_${PN}-examples = "${bindir}/*"
104
105FILES_${PN}-xwayland = "${libdir}/libweston-2/xwayland.so"
106RDEPENDS_${PN}-xwayland += "xserver-xorg-xwayland"
107
108RDEPENDS_${PN} += "xkeyboard-config"
109RRECOMMENDS_${PN} = "liberation-fonts"
110RRECOMMENDS_${PN}-dev += "wayland-protocols"
111
112USERADD_PACKAGES = "${PN}"
113GROUPADD_PARAM_${PN} = "--system weston-launch"