[RFC,meta-gnome,15/16] gnome-shell-extensions: add recipe for gnome-shell-extensions

Submitted by brendank310 on Oct. 29, 2018, 4:41 p.m. | Patch ID: 155960

Details

Message ID d84e5b262a493ae9fe761ee9e22fec8f6d2dc59c.1540830650.git.brendank310@gmail.com
State Changes Requested
Headers show

Commit Message

brendank310 Oct. 29, 2018, 4:41 p.m.
From: Brendan Kerrigan <kerriganb@ainfosec.com>

Signed-off-by: Brendan Kerrigan <kerriganb@ainfosec.com>
---
 .../gnome3/gnome-shell-extensions_git.bb      | 40 +++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/gnome3/gnome-shell-extensions_git.bb

Patch hide | download patch | download mbox

diff --git a/meta-gnome/recipes-gnome/gnome3/gnome-shell-extensions_git.bb b/meta-gnome/recipes-gnome/gnome3/gnome-shell-extensions_git.bb
new file mode 100644
index 000000000..8c02195d9
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome3/gnome-shell-extensions_git.bb
@@ -0,0 +1,40 @@ 
+DESCRIPTION = "GNOME Shell Extensions"
+LICENSE = "GPLv2"
+DEPENDS = " \
+            glib-2.0 \
+            gsettings-desktop-schemas \
+            gjs \
+            gnome-desktop3 \
+            gdm \
+            mutter \
+            wayland \
+            wayland-protocols \
+            evolution-data-server \
+            libcroco \
+            polkit \
+            gnome-bluetooth \
+            gstreamer \
+            keybinder \
+            gnome-settings-daemon \
+            ibus \
+            librsvg \
+            python3 \
+            sassc-native \
+          "
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=4cb3a392cbf81a9e685ec13b88c4c101"
+
+SRC_URI = " \
+           git://gitlab.gnome.org/GNOME/gnome-shell-extensions.git;protocol=http;branch=master;tag=3.30.1 \
+          "
+
+RDEPENDS_gnome-shell = " \
+                         gnome-shell \
+                        "
+S = "${WORKDIR}/git"
+
+EXTRA_OEMESON += " -Dextension_set=all "
+
+FILES_${PN} += "${datadir}"
+
+inherit pkgconfig meson gobject-introspection gettext

Comments

Andreas Müller Oct. 29, 2018, 11:06 p.m.
On Mon, Oct 29, 2018 at 5:42 PM brendank310 <brendank310@gmail.com> wrote:
>
> From: Brendan Kerrigan <kerriganb@ainfosec.com>
>
> Signed-off-by: Brendan Kerrigan <kerriganb@ainfosec.com>
> ---
>  .../gnome3/gnome-shell-extensions_git.bb      | 40 +++++++++++++++++++
>  1 file changed, 40 insertions(+)
>  create mode 100644 meta-gnome/recipes-gnome/gnome3/gnome-shell-extensions_git.bb
>
> diff --git a/meta-gnome/recipes-gnome/gnome3/gnome-shell-extensions_git.bb b/meta-gnome/recipes-gnome/gnome3/gnome-shell-extensions_git.bb
> new file mode 100644
> index 000000000..8c02195d9
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/gnome3/gnome-shell-extensions_git.bb
> @@ -0,0 +1,40 @@
> +DESCRIPTION = "GNOME Shell Extensions"
> +LICENSE = "GPLv2"
> +DEPENDS = " \
> +            glib-2.0 \
> +            gsettings-desktop-schemas \
> +            gjs \
> +            gnome-desktop3 \
> +            gdm \
> +            mutter \
> +            wayland \
> +            wayland-protocols \
> +            evolution-data-server \
> +            libcroco \
> +            polkit \
> +            gnome-bluetooth \
> +            gstreamer \
> +            keybinder \
> +            gnome-settings-daemon \
> +            ibus \
> +            librsvg \
> +            python3 \
> +            sassc-native \
> +          "
> +
> +LIC_FILES_CHKSUM = "file://COPYING;md5=4cb3a392cbf81a9e685ec13b88c4c101"
> +
> +SRC_URI = " \
> +           git://gitlab.gnome.org/GNOME/gnome-shell-extensions.git;protocol=http;branch=master;tag=3.30.1 \
> +          "
> +
> +RDEPENDS_gnome-shell = " \
> +                         gnome-shell \
> +                        "
^ I think it should be RDEPENDS_gnome-shell-extensions
> +S = "${WORKDIR}/git"
> +
> +EXTRA_OEMESON += " -Dextension_set=all "
> +
> +FILES_${PN} += "${datadir}"
^ Put this at the end of the recipe please
> +
> +inherit pkgconfig meson gobject-introspection gettext
> --
> 2.17.1
>
Ross Burton Oct. 30, 2018, 11:31 a.m.
On Mon, 29 Oct 2018 at 16:43, brendank310 <brendank310@gmail.com> wrote:
> +SRC_URI = " \
> +           git://gitlab.gnome.org/GNOME/gnome-shell-extensions.git;protocol=http;branch=master;tag=3.30.1 \
> +          "

Use tarball.

> +RDEPENDS_gnome-shell = " \
> +                         gnome-shell \
> +                        "

This is why you use ${PN} ;)

Ross