diff mbox series

[meta-gnome,05/10] xdg-desktop-portal-wlr: add recipe

Message ID 20221219131041.452949-5-f_l_k@t-online.de
State Under Review
Headers show
Series [meta-gnome,01/10] pipewire: update 0.3.62 -> 0.3.63 | expand

Commit Message

Markus Volk Dec. 19, 2022, 1:10 p.m. UTC
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 .../xdg-desktop-portal-wlr_0.6.0.bb           | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal-wlr_0.6.0.bb

Comments

Khem Raj Dec. 20, 2022, 6:57 a.m. UTC | #1
this depends on pipewire, which is in meta-multimedia, I wonder if
this recipe should be in meta-multimedia as well.

On Mon, Dec 19, 2022 at 5:11 AM Markus Volk <f_l_k@t-online.de> wrote:
>
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
>  .../xdg-desktop-portal-wlr_0.6.0.bb           | 28 +++++++++++++++++++
>  1 file changed, 28 insertions(+)
>  create mode 100644 meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal-wlr_0.6.0.bb
>
> diff --git a/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal-wlr_0.6.0.bb b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal-wlr_0.6.0.bb
> new file mode 100644
> index 000000000..07650a139
> --- /dev/null
> +++ b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal-wlr_0.6.0.bb
> @@ -0,0 +1,28 @@
> +SUMMARY = "A xdg-desktop-portal backend for gnome."
> +HOMEPAGE = "https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=e316e9609dd7672b87ff25b46b2cf3e1"
> +
> +DEPENDS = " \
> +    wayland \
> +    wayland-native \
> +    wayland-protocols \
> +    libdrm \
> +    libinih \
> +    pipewire \
> +    virtual/libgbm \
> +"
> +
> +inherit meson pkgconfig
> +
> +SRC_URI = "git://github.com/emersion/xdg-desktop-portal-wlr.git;protocol=https;nobranch=1"
> +
> +S = "${WORKDIR}/git"
> +SRCREV = "0a8bfa14607022a080f8b6eabc4757d1918d3cd9"
> +
> +PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
> +
> +PACKAGECONFIG[man-pages] = "-Dman-pages=enabled,-Dman-pages=disabled,scdoc-native"
> +PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled"
> +
> +FILES:${PN} += "${systemd_user_unitdir} ${datadir}"
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#100098): https://lists.openembedded.org/g/openembedded-devel/message/100098
> Mute This Topic: https://lists.openembedded.org/mt/95764267/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Khem Raj Dec. 20, 2022, 7 a.m. UTC | #2
next error is with non-systemd distros see

https://errors.yoctoproject.org/Errors/Details/684619/

On Mon, Dec 19, 2022 at 10:57 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> this depends on pipewire, which is in meta-multimedia, I wonder if
> this recipe should be in meta-multimedia as well.
>
> On Mon, Dec 19, 2022 at 5:11 AM Markus Volk <f_l_k@t-online.de> wrote:
> >
> > Signed-off-by: Markus Volk <f_l_k@t-online.de>
> > ---
> >  .../xdg-desktop-portal-wlr_0.6.0.bb           | 28 +++++++++++++++++++
> >  1 file changed, 28 insertions(+)
> >  create mode 100644 meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal-wlr_0.6.0.bb
> >
> > diff --git a/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal-wlr_0.6.0.bb b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal-wlr_0.6.0.bb
> > new file mode 100644
> > index 000000000..07650a139
> > --- /dev/null
> > +++ b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal-wlr_0.6.0.bb
> > @@ -0,0 +1,28 @@
> > +SUMMARY = "A xdg-desktop-portal backend for gnome."
> > +HOMEPAGE = "https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome"
> > +LICENSE = "MIT"
> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=e316e9609dd7672b87ff25b46b2cf3e1"
> > +
> > +DEPENDS = " \
> > +    wayland \
> > +    wayland-native \
> > +    wayland-protocols \
> > +    libdrm \
> > +    libinih \
> > +    pipewire \
> > +    virtual/libgbm \
> > +"
> > +
> > +inherit meson pkgconfig
> > +
> > +SRC_URI = "git://github.com/emersion/xdg-desktop-portal-wlr.git;protocol=https;nobranch=1"
> > +
> > +S = "${WORKDIR}/git"
> > +SRCREV = "0a8bfa14607022a080f8b6eabc4757d1918d3cd9"
> > +
> > +PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
> > +
> > +PACKAGECONFIG[man-pages] = "-Dman-pages=enabled,-Dman-pages=disabled,scdoc-native"
> > +PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled"
> > +
> > +FILES:${PN} += "${systemd_user_unitdir} ${datadir}"
> > --
> > 2.34.1
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#100098): https://lists.openembedded.org/g/openembedded-devel/message/100098
> > Mute This Topic: https://lists.openembedded.org/mt/95764267/1997914
> > Group Owner: openembedded-devel+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
Markus Volk Dec. 21, 2022, 4:39 a.m. UTC | #3
Am Mo, 19. Dez 2022 um 23:00:41 -0800 schrieb Khem Raj 
<raj.khem@gmail.com>:
> next error is with non-systemd distros see

I have both elogind and basu in meta-wayland, but they're missing in 
meta-openembedded. I'm not sure, if you want to support builds with 
either one of them. If not it would be best to set 
REQUIRED_DISTRO_FEATURE = 'systemd' ?
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal-wlr_0.6.0.bb b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal-wlr_0.6.0.bb
new file mode 100644
index 000000000..07650a139
--- /dev/null
+++ b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal-wlr_0.6.0.bb
@@ -0,0 +1,28 @@ 
+SUMMARY = "A xdg-desktop-portal backend for gnome."
+HOMEPAGE = "https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e316e9609dd7672b87ff25b46b2cf3e1"
+
+DEPENDS = " \
+    wayland \
+    wayland-native \
+    wayland-protocols \
+    libdrm \
+    libinih \
+    pipewire \
+    virtual/libgbm \
+"
+
+inherit meson pkgconfig
+
+SRC_URI = "git://github.com/emersion/xdg-desktop-portal-wlr.git;protocol=https;nobranch=1"
+
+S = "${WORKDIR}/git"
+SRCREV = "0a8bfa14607022a080f8b6eabc4757d1918d3cd9"
+
+PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
+
+PACKAGECONFIG[man-pages] = "-Dman-pages=enabled,-Dman-pages=disabled,scdoc-native"
+PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled"
+
+FILES:${PN} += "${systemd_user_unitdir} ${datadir}"