diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2018-01-16 13:31:32 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2018-01-16 13:32:45 -0200 |
commit | 54c5b21d4438950a078d65fd2ac80445c1367dd0 (patch) | |
tree | 75a17d4ddfa7fab8b87b925c7801546b58eeaa7e | |
parent | bf7fd9cfe0788fe2f819a4ae2cc7db8327fe161a (diff) | |
download | meta-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.bb | 113 |
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 @@ | |||
1 | SUMMARY = "Weston, a Wayland compositor" | ||
2 | DESCRIPTION = "Weston is the reference implementation of a Wayland compositor" | ||
3 | HOMEPAGE = "http://wayland.freedesktop.org" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70 \ | ||
6 | file://libweston/compositor.c;endline=26;md5=e342df749174a8ee11065583157c7a38" | ||
7 | |||
8 | SRC_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 | " | ||
16 | SRC_URI[md5sum] = "15f38945942bf2a91fe2687145fb4c7d" | ||
17 | SRC_URI[sha256sum] = "b4e446ac27f118196f1609dab89bb3cb3e81652d981414ad860e733b355365d8" | ||
18 | |||
19 | inherit autotools pkgconfig useradd distro_features_check | ||
20 | # depends on virtual/egl | ||
21 | REQUIRED_DISTRO_FEATURES = "opengl" | ||
22 | |||
23 | DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 jpeg" | ||
24 | DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native" | ||
25 | |||
26 | EXTRA_OECONF = "--enable-setuid-install \ | ||
27 | --disable-rdp-compositor \ | ||
28 | " | ||
29 | EXTRA_OECONF_append_qemux86 = "\ | ||
30 | WESTON_NATIVE_BACKEND=fbdev-backend.so \ | ||
31 | " | ||
32 | EXTRA_OECONF_append_qemux86-64 = "\ | ||
33 | WESTON_NATIVE_BACKEND=fbdev-backend.so \ | ||
34 | " | ||
35 | PACKAGECONFIG ??= "${@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 | ||
43 | PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm udev virtual/mesa mtdev" | ||
44 | # Weston on Wayland (nested Weston) | ||
45 | PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-wayland-compositor,virtual/mesa" | ||
46 | # Weston on X11 | ||
47 | PACKAGECONFIG[x11] = "--enable-x11-compositor,--disable-x11-compositor,virtual/libx11 libxcb libxcb libxcursor cairo" | ||
48 | # Headless Weston | ||
49 | PACKAGECONFIG[headless] = "--enable-headless-compositor,--disable-headless-compositor" | ||
50 | # Weston on framebuffer | ||
51 | PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor,--disable-fbdev-compositor,udev mtdev" | ||
52 | # weston-launch | ||
53 | PACKAGECONFIG[launch] = "--enable-weston-launch,--disable-weston-launch,drm" | ||
54 | # VA-API desktop recorder | ||
55 | PACKAGECONFIG[vaapi] = "--enable-vaapi-recorder,--disable-vaapi-recorder,libva" | ||
56 | # Weston with EGL support | ||
57 | PACKAGECONFIG[egl] = "--enable-egl --enable-simple-egl-clients,--disable-egl --disable-simple-egl-clients,virtual/egl" | ||
58 | # Weston with cairo glesv2 support | ||
59 | PACKAGECONFIG[cairo-glesv2] = "--with-cairo-glesv2,--with-cairo=image,cairo" | ||
60 | # Weston with lcms support | ||
61 | PACKAGECONFIG[lcms] = "--enable-lcms,--disable-lcms,lcms" | ||
62 | # Weston with webp support | ||
63 | PACKAGECONFIG[webp] = "--with-webp,--without-webp,libwebp" | ||
64 | # Weston with unwinding support | ||
65 | PACKAGECONFIG[libunwind] = "--enable-libunwind,--disable-libunwind,libunwind" | ||
66 | # Weston with systemd-login support | ||
67 | PACKAGECONFIG[systemd] = "--enable-systemd-login,--disable-systemd-login,systemd dbus" | ||
68 | # Weston with Xwayland support (requires X11 and Wayland) | ||
69 | PACKAGECONFIG[xwayland] = "--enable-xwayland,--disable-xwayland" | ||
70 | # colord CMS support | ||
71 | PACKAGECONFIG[colord] = "--enable-colord,--disable-colord,colord" | ||
72 | # Clients support | ||
73 | PACKAGECONFIG[clients] = "--enable-clients --enable-simple-clients --enable-demo-clients-install,--disable-clients --disable-simple-clients" | ||
74 | # Weston with PAM support | ||
75 | PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam" | ||
76 | |||
77 | do_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 | |||
95 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \ | ||
96 | libweston-2 ${PN}-examples" | ||
97 | |||
98 | FILES_${PN} = "${bindir}/weston ${bindir}/weston-terminal ${bindir}/weston-info ${bindir}/weston-launch ${bindir}/wcap-decode ${libexecdir} ${libdir}/${BPN}/*.so ${datadir}" | ||
99 | |||
100 | FILES_libweston-2 = "${libdir}/lib*${SOLIBS} ${libdir}/libweston-2/*.so" | ||
101 | SUMMARY_libweston-2 = "Helper library for implementing 'wayland window managers'." | ||
102 | |||
103 | FILES_${PN}-examples = "${bindir}/*" | ||
104 | |||
105 | FILES_${PN}-xwayland = "${libdir}/libweston-2/xwayland.so" | ||
106 | RDEPENDS_${PN}-xwayland += "xserver-xorg-xwayland" | ||
107 | |||
108 | RDEPENDS_${PN} += "xkeyboard-config" | ||
109 | RRECOMMENDS_${PN} = "liberation-fonts" | ||
110 | RRECOMMENDS_${PN}-dev += "wayland-protocols" | ||
111 | |||
112 | USERADD_PACKAGES = "${PN}" | ||
113 | GROUPADD_PARAM_${PN} = "--system weston-launch" | ||