diff options
Diffstat (limited to 'meta/recipes-graphics/wayland')
-rw-r--r-- | meta/recipes-graphics/wayland/libinput_1.25.0.bb | 2 | ||||
-rw-r--r-- | meta/recipes-graphics/wayland/wayland-protocols_1.36.bb (renamed from meta/recipes-graphics/wayland/wayland-protocols_1.34.bb) | 3 | ||||
-rw-r--r-- | meta/recipes-graphics/wayland/wayland-utils_1.2.0.bb | 1 | ||||
-rw-r--r-- | meta/recipes-graphics/wayland/wayland/0001-build-Fix-strndup-detection-on-MinGW.patch | 9 | ||||
-rw-r--r-- | meta/recipes-graphics/wayland/wayland/0002-Consider-pkgconfig-sysroot-for-pkgdatadir.patch | 46 | ||||
-rw-r--r-- | meta/recipes-graphics/wayland/wayland_1.23.0.bb (renamed from meta/recipes-graphics/wayland/wayland_1.22.0.bb) | 5 | ||||
-rw-r--r-- | meta/recipes-graphics/wayland/weston-init.bb | 19 | ||||
-rw-r--r-- | meta/recipes-graphics/wayland/weston/0001-libweston-tools-Include-libgen.h-for-basename-signat.patch | 13 | ||||
-rw-r--r-- | meta/recipes-graphics/wayland/weston_13.0.1.bb (renamed from meta/recipes-graphics/wayland/weston_13.0.0.bb) | 12 |
9 files changed, 30 insertions, 80 deletions
diff --git a/meta/recipes-graphics/wayland/libinput_1.25.0.bb b/meta/recipes-graphics/wayland/libinput_1.25.0.bb index 517b247fed..894858e361 100644 --- a/meta/recipes-graphics/wayland/libinput_1.25.0.bb +++ b/meta/recipes-graphics/wayland/libinput_1.25.0.bb | |||
@@ -32,7 +32,7 @@ do_configure:append() { | |||
32 | 32 | ||
33 | PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" | 33 | PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" |
34 | PACKAGECONFIG[libwacom] = "-Dlibwacom=true,-Dlibwacom=false,libwacom" | 34 | PACKAGECONFIG[libwacom] = "-Dlibwacom=true,-Dlibwacom=false,libwacom" |
35 | PACKAGECONFIG[gui] = "-Ddebug-gui=true,-Ddebug-gui=false,cairo gtk+3" | 35 | PACKAGECONFIG[gui] = "-Ddebug-gui=true,-Ddebug-gui=false,cairo gtk+3 wayland-native" |
36 | PACKAGECONFIG[tests] = "-Dtests=true -Dinstall-tests=true,-Dtests=false -Dinstall-tests=false,libcheck" | 36 | PACKAGECONFIG[tests] = "-Dtests=true -Dinstall-tests=true,-Dtests=false -Dinstall-tests=false,libcheck" |
37 | 37 | ||
38 | UDEVDIR = "`pkg-config --variable=udevdir udev`" | 38 | UDEVDIR = "`pkg-config --variable=udevdir udev`" |
diff --git a/meta/recipes-graphics/wayland/wayland-protocols_1.34.bb b/meta/recipes-graphics/wayland/wayland-protocols_1.36.bb index 8c12985714..9b008ca534 100644 --- a/meta/recipes-graphics/wayland/wayland-protocols_1.34.bb +++ b/meta/recipes-graphics/wayland/wayland-protocols_1.36.bb | |||
@@ -10,9 +10,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c7b12b6702da38ca028ace54aae3d484 \ | |||
10 | file://stable/presentation-time/presentation-time.xml;endline=26;md5=4646cd7d9edc9fa55db941f2d3a7dc53" | 10 | file://stable/presentation-time/presentation-time.xml;endline=26;md5=4646cd7d9edc9fa55db941f2d3a7dc53" |
11 | 11 | ||
12 | SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/${PV}/downloads/wayland-protocols-${PV}.tar.xz" | 12 | SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/${PV}/downloads/wayland-protocols-${PV}.tar.xz" |
13 | SRC_URI[sha256sum] = "c59b27cacd85f60baf4ee5f80df5c0d15760ead6a2432b00ab7e2e0574dcafeb" | 13 | SRC_URI[sha256sum] = "71fd4de05e79f9a1ca559fac30c1f8365fa10346422f9fe795f74d77b9ef7e92" |
14 | 14 | ||
15 | UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland-protocols/-/tags" | 15 | UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland-protocols/-/tags" |
16 | UPSTREAM_CHECK_REGEX = "releases/(?P<pver>.+)" | ||
16 | 17 | ||
17 | inherit meson pkgconfig allarch | 18 | inherit meson pkgconfig allarch |
18 | 19 | ||
diff --git a/meta/recipes-graphics/wayland/wayland-utils_1.2.0.bb b/meta/recipes-graphics/wayland/wayland-utils_1.2.0.bb index 878c7a267e..59d414a0a6 100644 --- a/meta/recipes-graphics/wayland/wayland-utils_1.2.0.bb +++ b/meta/recipes-graphics/wayland/wayland-utils_1.2.0.bb | |||
@@ -13,6 +13,7 @@ SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland-utils/-/releases/${PV} | |||
13 | SRC_URI[sha256sum] = "d9278c22554586881802540751bcc42569262bf80cd9ac9b0fd12ff4bd09a9e4" | 13 | SRC_URI[sha256sum] = "d9278c22554586881802540751bcc42569262bf80cd9ac9b0fd12ff4bd09a9e4" |
14 | 14 | ||
15 | UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland-utils/-/tags" | 15 | UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland-utils/-/tags" |
16 | UPSTREAM_CHECK_REGEX = "releases/(?P<pver>.+)" | ||
16 | 17 | ||
17 | inherit meson pkgconfig | 18 | inherit meson pkgconfig |
18 | 19 | ||
diff --git a/meta/recipes-graphics/wayland/wayland/0001-build-Fix-strndup-detection-on-MinGW.patch b/meta/recipes-graphics/wayland/wayland/0001-build-Fix-strndup-detection-on-MinGW.patch index bc753de113..c6ddf8a1f9 100644 --- a/meta/recipes-graphics/wayland/wayland/0001-build-Fix-strndup-detection-on-MinGW.patch +++ b/meta/recipes-graphics/wayland/wayland/0001-build-Fix-strndup-detection-on-MinGW.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From b4c64b6f07743e3fb63ce52359bc664ab7d60df0 Mon Sep 17 00:00:00 2001 | 1 | From a90bfa622f7323074c715674b368cba80bc7d196 Mon Sep 17 00:00:00 2001 |
2 | From: Joshua Watt <JPEWhacker@gmail.com> | 2 | From: Joshua Watt <JPEWhacker@gmail.com> |
3 | Date: Thu, 20 Feb 2020 15:20:45 -0600 | 3 | Date: Thu, 20 Feb 2020 15:20:45 -0600 |
4 | Subject: [PATCH] build: Fix strndup detection on MinGW | 4 | Subject: [PATCH] build: Fix strndup detection on MinGW |
@@ -20,10 +20,10 @@ Signed-off-by: Denys Dmytriyenko <denis@denix.org> | |||
20 | 1 file changed, 1 insertion(+), 1 deletion(-) | 20 | 1 file changed, 1 insertion(+), 1 deletion(-) |
21 | 21 | ||
22 | diff --git a/meson.build b/meson.build | 22 | diff --git a/meson.build b/meson.build |
23 | index 3bc25c9..adde7b9 100644 | 23 | index 8e28f2a..b56ba91 100644 |
24 | --- a/meson.build | 24 | --- a/meson.build |
25 | +++ b/meson.build | 25 | +++ b/meson.build |
26 | @@ -38,11 +38,11 @@ have_funcs = [ | 26 | @@ -45,11 +45,11 @@ have_funcs = [ |
27 | 'prctl', | 27 | 'prctl', |
28 | 'memfd_create', | 28 | 'memfd_create', |
29 | 'mremap', | 29 | 'mremap', |
@@ -36,6 +36,3 @@ index 3bc25c9..adde7b9 100644 | |||
36 | config_h.set10('HAVE_XUCRED_CR_PID', cc.has_member('struct xucred', 'cr_pid', prefix : '#include <sys/ucred.h>')) | 36 | config_h.set10('HAVE_XUCRED_CR_PID', cc.has_member('struct xucred', 'cr_pid', prefix : '#include <sys/ucred.h>')) |
37 | have_broken_msg_cmsg_cloexec = false | 37 | have_broken_msg_cmsg_cloexec = false |
38 | if host_machine.system() == 'freebsd' | 38 | if host_machine.system() == 'freebsd' |
39 | -- | ||
40 | 2.7.4 | ||
41 | |||
diff --git a/meta/recipes-graphics/wayland/wayland/0002-Consider-pkgconfig-sysroot-for-pkgdatadir.patch b/meta/recipes-graphics/wayland/wayland/0002-Consider-pkgconfig-sysroot-for-pkgdatadir.patch deleted file mode 100644 index 4573bb635a..0000000000 --- a/meta/recipes-graphics/wayland/wayland/0002-Consider-pkgconfig-sysroot-for-pkgdatadir.patch +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | From ff8ecbe8891d592e645927659318720f9e190054 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andreas Cord-Landwehr <cordlandwehr@kde.org> | ||
3 | Date: Sun, 6 Feb 2022 17:23:46 +0100 | ||
4 | Subject: [PATCH] Consider pkgconfig sysroot for pkgdatadir | ||
5 | |||
6 | For libs/cflags this is done automatically, but not for manually accessed | ||
7 | variables. This matches what wayland-protocols does. | ||
8 | |||
9 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/272] | ||
10 | --- | ||
11 | src/meson.build | 6 +++--- | ||
12 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
13 | |||
14 | diff --git a/src/meson.build b/src/meson.build | ||
15 | index a8a1d2b..721e151 100644 | ||
16 | --- a/src/meson.build | ||
17 | +++ b/src/meson.build | ||
18 | @@ -65,7 +65,7 @@ if get_option('scanner') | ||
19 | version: meson.project_version(), | ||
20 | variables: [ | ||
21 | 'datarootdir=' + join_paths('${prefix}', get_option('datadir')), | ||
22 | - 'pkgdatadir=' + join_paths('${datarootdir}', meson.project_name()), | ||
23 | + 'pkgdatadir=' + join_paths('${pc_sysrootdir}${datarootdir}', meson.project_name()), | ||
24 | 'bindir=' + join_paths('${prefix}', get_option('bindir')), | ||
25 | 'wayland_scanner=${bindir}/wayland-scanner' | ||
26 | ], | ||
27 | @@ -211,7 +211,7 @@ if get_option('libraries') | ||
28 | filebase: 'wayland-server', | ||
29 | variables: [ | ||
30 | 'datarootdir=' + join_paths('${prefix}', get_option('datadir')), | ||
31 | - 'pkgdatadir=' + join_paths('${datarootdir}', meson.project_name()) | ||
32 | + 'pkgdatadir=' + join_paths('${pc_sysrootdir}${datarootdir}', meson.project_name()) | ||
33 | ] | ||
34 | ) | ||
35 | |||
36 | @@ -250,7 +250,7 @@ if get_option('libraries') | ||
37 | filebase: 'wayland-client', | ||
38 | variables: [ | ||
39 | 'datarootdir=' + join_paths('${prefix}', get_option('datadir')), | ||
40 | - 'pkgdatadir=' + join_paths('${datarootdir}', meson.project_name()) | ||
41 | + 'pkgdatadir=' + join_paths('${pc_sysrootdir}${datarootdir}', meson.project_name()) | ||
42 | ] | ||
43 | ) | ||
44 | |||
45 | -- | ||
46 | 2.37.2 | ||
diff --git a/meta/recipes-graphics/wayland/wayland_1.22.0.bb b/meta/recipes-graphics/wayland/wayland_1.23.0.bb index 6aa76063ea..8ff47ac171 100644 --- a/meta/recipes-graphics/wayland/wayland_1.22.0.bb +++ b/meta/recipes-graphics/wayland/wayland_1.23.0.bb | |||
@@ -15,12 +15,11 @@ DEPENDS = "expat libffi wayland-native" | |||
15 | SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \ | 15 | SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \ |
16 | file://run-ptest \ | 16 | file://run-ptest \ |
17 | file://0001-build-Fix-strndup-detection-on-MinGW.patch \ | 17 | file://0001-build-Fix-strndup-detection-on-MinGW.patch \ |
18 | file://0002-Consider-pkgconfig-sysroot-for-pkgdatadir.patch \ | ||
19 | " | 18 | " |
20 | SRC_URI[sha256sum] = "1540af1ea698a471c2d8e9d288332c7e0fd360c8f1d12936ebb7e7cbc2425842" | 19 | SRC_URI[sha256sum] = "05b3e1574d3e67626b5974f862f36b5b427c7ceeb965cb36a4e6c2d342e45ab2" |
21 | 20 | ||
22 | UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/tags" | 21 | UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/tags" |
23 | UPSTREAM_CHECK_REGEX = "wayland-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" | 22 | UPSTREAM_CHECK_REGEX = "releases/(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" |
24 | 23 | ||
25 | inherit meson pkgconfig ptest | 24 | inherit meson pkgconfig ptest |
26 | 25 | ||
diff --git a/meta/recipes-graphics/wayland/weston-init.bb b/meta/recipes-graphics/wayland/weston-init.bb index 024e400665..83f0cea49c 100644 --- a/meta/recipes-graphics/wayland/weston-init.bb +++ b/meta/recipes-graphics/wayland/weston-init.bb | |||
@@ -13,7 +13,8 @@ SRC_URI = "file://init \ | |||
13 | file://weston-autologin \ | 13 | file://weston-autologin \ |
14 | file://weston-start" | 14 | file://weston-start" |
15 | 15 | ||
16 | S = "${WORKDIR}" | 16 | S = "${WORKDIR}/sources" |
17 | UNPACKDIR = "${S}" | ||
17 | 18 | ||
18 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xwayland', '', d)}" | 19 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xwayland', '', d)}" |
19 | PACKAGECONFIG:append:qemuriscv64 = " use-pixman" | 20 | PACKAGECONFIG:append:qemuriscv64 = " use-pixman" |
@@ -29,18 +30,18 @@ DEFAULTBACKEND:qemuall ?= "drm" | |||
29 | do_install() { | 30 | do_install() { |
30 | # Install weston-start script | 31 | # Install weston-start script |
31 | if [ "${VIRTUAL-RUNTIME_init_manager}" != "systemd" ]; then | 32 | if [ "${VIRTUAL-RUNTIME_init_manager}" != "systemd" ]; then |
32 | install -Dm755 ${WORKDIR}/weston-start ${D}${bindir}/weston-start | 33 | install -Dm755 ${S}/weston-start ${D}${bindir}/weston-start |
33 | sed -i 's,@DATADIR@,${datadir},g' ${D}${bindir}/weston-start | 34 | sed -i 's,@DATADIR@,${datadir},g' ${D}${bindir}/weston-start |
34 | sed -i 's,@LOCALSTATEDIR@,${localstatedir},g' ${D}${bindir}/weston-start | 35 | sed -i 's,@LOCALSTATEDIR@,${localstatedir},g' ${D}${bindir}/weston-start |
35 | install -Dm755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/weston | 36 | install -Dm755 ${S}/init ${D}/${sysconfdir}/init.d/weston |
36 | sed -i 's#ROOTHOME#${ROOT_HOME}#' ${D}/${sysconfdir}/init.d/weston | 37 | sed -i 's#ROOTHOME#${ROOT_HOME}#' ${D}/${sysconfdir}/init.d/weston |
37 | fi | 38 | fi |
38 | 39 | ||
39 | # Install Weston systemd service | 40 | # Install Weston systemd service |
40 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 41 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
41 | install -D -p -m0644 ${WORKDIR}/weston.service ${D}${systemd_system_unitdir}/weston.service | 42 | install -D -p -m0644 ${S}/weston.service ${D}${systemd_system_unitdir}/weston.service |
42 | install -D -p -m0644 ${WORKDIR}/weston.socket ${D}${systemd_system_unitdir}/weston.socket | 43 | install -D -p -m0644 ${S}/weston.socket ${D}${systemd_system_unitdir}/weston.socket |
43 | install -D -p -m0644 ${WORKDIR}/weston-socket.sh ${D}${sysconfdir}/profile.d/weston-socket.sh | 44 | install -D -p -m0644 ${S}/weston-socket.sh ${D}${sysconfdir}/profile.d/weston-socket.sh |
44 | sed -i -e s:/etc:${sysconfdir}:g \ | 45 | sed -i -e s:/etc:${sysconfdir}:g \ |
45 | -e s:/usr/bin:${bindir}:g \ | 46 | -e s:/usr/bin:${bindir}:g \ |
46 | -e s:/var:${localstatedir}:g \ | 47 | -e s:/var:${localstatedir}:g \ |
@@ -48,11 +49,11 @@ do_install() { | |||
48 | fi | 49 | fi |
49 | 50 | ||
50 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" ]; then | 51 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" ]; then |
51 | install -D -p -m0644 ${WORKDIR}/weston-autologin ${D}${sysconfdir}/pam.d/weston-autologin | 52 | install -D -p -m0644 ${S}/weston-autologin ${D}${sysconfdir}/pam.d/weston-autologin |
52 | fi | 53 | fi |
53 | 54 | ||
54 | install -D -p -m0644 ${WORKDIR}/weston.ini ${D}${sysconfdir}/xdg/weston/weston.ini | 55 | install -D -p -m0644 ${S}/weston.ini ${D}${sysconfdir}/xdg/weston/weston.ini |
55 | install -Dm644 ${WORKDIR}/weston.env ${D}${sysconfdir}/default/weston | 56 | install -Dm644 ${S}/weston.env ${D}${sysconfdir}/default/weston |
56 | 57 | ||
57 | if [ -n "${DEFAULTBACKEND}" ]; then | 58 | if [ -n "${DEFAULTBACKEND}" ]; then |
58 | sed -i -e "/^\[core\]/a backend=${DEFAULTBACKEND}-backend.so" ${D}${sysconfdir}/xdg/weston/weston.ini | 59 | sed -i -e "/^\[core\]/a backend=${DEFAULTBACKEND}-backend.so" ${D}${sysconfdir}/xdg/weston/weston.ini |
diff --git a/meta/recipes-graphics/wayland/weston/0001-libweston-tools-Include-libgen.h-for-basename-signat.patch b/meta/recipes-graphics/wayland/weston/0001-libweston-tools-Include-libgen.h-for-basename-signat.patch index 1d281fa832..fbec9f9d4e 100644 --- a/meta/recipes-graphics/wayland/weston/0001-libweston-tools-Include-libgen.h-for-basename-signat.patch +++ b/meta/recipes-graphics/wayland/weston/0001-libweston-tools-Include-libgen.h-for-basename-signat.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 2b53236ac637dfa7fb0f438f7391a73f6ef92a06 Mon Sep 17 00:00:00 2001 | 1 | From e050830898ea37d30ef1c5339cb1665bdb92dcdc Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 14 Dec 2023 09:13:54 -0800 | 3 | Date: Thu, 14 Dec 2023 09:13:54 -0800 |
4 | Subject: [PATCH] libweston,tools: Include libgen.h for basename signature | 4 | Subject: [PATCH] libweston,tools: Include libgen.h for basename signature |
@@ -20,7 +20,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
20 | 2 files changed, 2 insertions(+) | 20 | 2 files changed, 2 insertions(+) |
21 | 21 | ||
22 | diff --git a/libweston/backend-drm/libbacklight.c b/libweston/backend-drm/libbacklight.c | 22 | diff --git a/libweston/backend-drm/libbacklight.c b/libweston/backend-drm/libbacklight.c |
23 | index ca7f2d68..74690fa7 100644 | 23 | index ca7f2d6..74690fa 100644 |
24 | --- a/libweston/backend-drm/libbacklight.c | 24 | --- a/libweston/backend-drm/libbacklight.c |
25 | +++ b/libweston/backend-drm/libbacklight.c | 25 | +++ b/libweston/backend-drm/libbacklight.c |
26 | @@ -41,6 +41,7 @@ | 26 | @@ -41,6 +41,7 @@ |
@@ -30,19 +30,16 @@ index ca7f2d68..74690fa7 100644 | |||
30 | +#include <libgen.h> | 30 | +#include <libgen.h> |
31 | #include <string.h> | 31 | #include <string.h> |
32 | #include <errno.h> | 32 | #include <errno.h> |
33 | 33 | ||
34 | diff --git a/tools/zunitc/src/zunitc_impl.c b/tools/zunitc/src/zunitc_impl.c | 34 | diff --git a/tools/zunitc/src/zunitc_impl.c b/tools/zunitc/src/zunitc_impl.c |
35 | index 18f03015..9b460fa0 100644 | 35 | index 18f0301..9b460fa 100644 |
36 | --- a/tools/zunitc/src/zunitc_impl.c | 36 | --- a/tools/zunitc/src/zunitc_impl.c |
37 | +++ b/tools/zunitc/src/zunitc_impl.c | 37 | +++ b/tools/zunitc/src/zunitc_impl.c |
38 | @@ -27,6 +27,7 @@ | 38 | @@ -27,6 +27,7 @@ |
39 | 39 | ||
40 | #include <errno.h> | 40 | #include <errno.h> |
41 | #include <fcntl.h> | 41 | #include <fcntl.h> |
42 | +#include <libgen.h> | 42 | +#include <libgen.h> |
43 | #include <stdarg.h> | 43 | #include <stdarg.h> |
44 | #include <stdbool.h> | 44 | #include <stdbool.h> |
45 | #include <stdio.h> | 45 | #include <stdio.h> |
46 | -- | ||
47 | 2.43.0 | ||
48 | |||
diff --git a/meta/recipes-graphics/wayland/weston_13.0.0.bb b/meta/recipes-graphics/wayland/weston_13.0.1.bb index b728bd0ef3..eae13e1c21 100644 --- a/meta/recipes-graphics/wayland/weston_13.0.0.bb +++ b/meta/recipes-graphics/wayland/weston_13.0.1.bb | |||
@@ -14,10 +14,10 @@ SRC_URI = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downlo | |||
14 | file://systemd-notify.weston-start \ | 14 | file://systemd-notify.weston-start \ |
15 | " | 15 | " |
16 | 16 | ||
17 | SRC_URI[sha256sum] = "52ff1d4aa2394a2e416c85a338b627ce97fa71d43eb762fd4aaf145d36fc795a" | 17 | SRC_URI[sha256sum] = "ea1566ab4f5ffce7e9fd4f7a1fca5b30caae4d50023bf459213994094e02b29a" |
18 | 18 | ||
19 | UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/weston/-/tags" | 19 | UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/weston/-/tags" |
20 | UPSTREAM_CHECK_REGEX = "weston-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" | 20 | UPSTREAM_CHECK_REGEX = "releases/(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" |
21 | 21 | ||
22 | inherit meson pkgconfig useradd | 22 | inherit meson pkgconfig useradd |
23 | 23 | ||
@@ -105,18 +105,18 @@ do_install:append() { | |||
105 | # If X11, ship a desktop file to launch it | 105 | # If X11, ship a desktop file to launch it |
106 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then | 106 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then |
107 | install -d ${D}${datadir}/applications | 107 | install -d ${D}${datadir}/applications |
108 | install ${WORKDIR}/weston.desktop ${D}${datadir}/applications | 108 | install ${UNPACKDIR}/weston.desktop ${D}${datadir}/applications |
109 | 109 | ||
110 | install -d ${D}${datadir}/icons/hicolor/48x48/apps | 110 | install -d ${D}${datadir}/icons/hicolor/48x48/apps |
111 | install ${WORKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps | 111 | install ${UNPACKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps |
112 | fi | 112 | fi |
113 | 113 | ||
114 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then | 114 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then |
115 | install -Dm 644 ${WORKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland | 115 | install -Dm 644 ${UNPACKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland |
116 | fi | 116 | fi |
117 | 117 | ||
118 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'yes', 'no', d)}" = "yes" ]; then | 118 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'yes', 'no', d)}" = "yes" ]; then |
119 | install -Dm 644 ${WORKDIR}/systemd-notify.weston-start ${D}${datadir}/weston-start/systemd-notify | 119 | install -Dm 644 ${UNPACKDIR}/systemd-notify.weston-start ${D}${datadir}/weston-start/systemd-notify |
120 | fi | 120 | fi |
121 | 121 | ||
122 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'launch', 'yes', 'no', d)}" = "yes" ]; then | 122 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'launch', 'yes', 'no', d)}" = "yes" ]; then |