[meta-multimedia,v2] gssdp: update to 1.4.0.1

Message ID 20211213165028.707874-1-open.source@oleksandr-kravchuk.com
State New
Headers show
Series [meta-multimedia,v2] gssdp: update to 1.4.0.1 | expand

Commit Message

Oleksandr Kravchuk Dec. 13, 2021, 4:50 p.m. UTC
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../recipes-connectivity/gupnp/gssdp_1.2.3.bb | 20 --------------
 .../gupnp/gssdp_1.4.0.1.bb                    | 26 +++++++++++++++++++
 2 files changed, 26 insertions(+), 20 deletions(-)
 delete mode 100644 meta-multimedia/recipes-connectivity/gupnp/gssdp_1.2.3.bb
 create mode 100644 meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb

Comments

Khem Raj Dec. 13, 2021, 7:20 p.m. UTC | #1
On Mon, Dec 13, 2021 at 8:50 AM Oleksandr Kravchuk
<open.source@oleksandr-kravchuk.com> wrote:
>
> Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  .../recipes-connectivity/gupnp/gssdp_1.2.3.bb | 20 --------------
>  .../gupnp/gssdp_1.4.0.1.bb                    | 26 +++++++++++++++++++
>  2 files changed, 26 insertions(+), 20 deletions(-)
>  delete mode 100644 meta-multimedia/recipes-connectivity/gupnp/gssdp_1.2.3.bb
>  create mode 100644 meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb
>
> diff --git a/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.2.3.bb b/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.2.3.bb
> deleted file mode 100644
> index 8f27ae292..000000000
> --- a/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.2.3.bb
> +++ /dev/null
> @@ -1,20 +0,0 @@
> -SUMMARY = "Resource discovery and announcement over SSDP"
> -DESCRIPTION = "GSSDP implements resource discovery and announcement over SSDP (Simpe Service Discovery Protocol)."
> -LICENSE = "LGPLv2"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
> -DEPENDS = "glib-2.0 libsoup-2.4"
> -
> -SRC_URI = "${GNOME_MIRROR}/${BPN}/1.2/${BPN}-${PV}.tar.xz"
> -SRC_URI[md5sum] = "ef3295a965c06ce0f683522391fbb910"
> -SRC_URI[sha256sum] = "a263dcb6730e3b3dc4bbbff80cf3fab4cd364021981d419db6dd5a8e148aa7e8"
> -
> -GTKDOC_MESON_OPTION = 'gtk_doc'
> -
> -inherit meson pkgconfig gobject-introspection vala gtk-doc
> -
> -PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'sniffer', '', d)}"
> -PACKAGECONFIG[sniffer] = "-Dsniffer=true,-Dsniffer=false,gtk+3,"
> -
> -PACKAGES =+ "gssdp-tools"
> -
> -FILES:gssdp-tools = "${bindir}/gssdp* ${datadir}/gssdp/*.glade"
> diff --git a/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb b/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb
> new file mode 100644
> index 000000000..056ea83aa
> --- /dev/null
> +++ b/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb
> @@ -0,0 +1,26 @@
> +SUMMARY = "Resource discovery and announcement over SSDP"
> +DESCRIPTION = "GSSDP implements resource discovery and announcement over SSDP \
> +               (Simpe Service Discovery Protocol)."
> +HOMEPAGE = "https://gitlab.gnome.org/GNOME/gssdp/"
> +BUGTRACKER = "https://gitlab.gnome.org/GNOME/gssdp/-/issues"
> +LICENSE = "LGPLv2.1"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
> +
> +SRC_URI = "${GNOME_MIRROR}/${BPN}/1.4/${BPN}-${PV}.tar.xz"
> +SRC_URI[sha256sum] = "8676849d57fb822b8728856dbadebf3867f89ee47a0ec47a20045d011f431582"
> +
> +GTKDOC_MESON_OPTION = 'gtk_doc'
> +
> +DEPENDS = " \
> +    glib-2.0 \
> +    libsoup-2.4 \
> +"
> +
> +inherit meson pkgconfig gobject-introspection vala gtk-doc
> +
> +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'sniffer', '', d)}"

enabling should not only check for x11 in DISTRO_FEATURES but also
check for meta-gnome being
in layer mix. A question is that does this new version has hard
dependency on gtk4? or can it still
work with gtk3+

> +PACKAGECONFIG[sniffer] = "-Dsniffer=true,-Dsniffer=false,gtk+4,"

typo here, it should be gtk4

> +
> +PACKAGES =+ "gssdp-tools"
> +
> +FILES:gssdp-tools = "${bindir}/gssdp* ${datadir}/gssdp/*.glade"
> --
> 2.25.1
>

Patch

diff --git a/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.2.3.bb b/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.2.3.bb
deleted file mode 100644
index 8f27ae292..000000000
--- a/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.2.3.bb
+++ /dev/null
@@ -1,20 +0,0 @@ 
-SUMMARY = "Resource discovery and announcement over SSDP"
-DESCRIPTION = "GSSDP implements resource discovery and announcement over SSDP (Simpe Service Discovery Protocol)."
-LICENSE = "LGPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
-DEPENDS = "glib-2.0 libsoup-2.4"
-
-SRC_URI = "${GNOME_MIRROR}/${BPN}/1.2/${BPN}-${PV}.tar.xz"
-SRC_URI[md5sum] = "ef3295a965c06ce0f683522391fbb910"
-SRC_URI[sha256sum] = "a263dcb6730e3b3dc4bbbff80cf3fab4cd364021981d419db6dd5a8e148aa7e8"
-
-GTKDOC_MESON_OPTION = 'gtk_doc'
-
-inherit meson pkgconfig gobject-introspection vala gtk-doc
-
-PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'sniffer', '', d)}"
-PACKAGECONFIG[sniffer] = "-Dsniffer=true,-Dsniffer=false,gtk+3,"
-
-PACKAGES =+ "gssdp-tools"
-
-FILES:gssdp-tools = "${bindir}/gssdp* ${datadir}/gssdp/*.glade"
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb b/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb
new file mode 100644
index 000000000..056ea83aa
--- /dev/null
+++ b/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb
@@ -0,0 +1,26 @@ 
+SUMMARY = "Resource discovery and announcement over SSDP"
+DESCRIPTION = "GSSDP implements resource discovery and announcement over SSDP \
+               (Simpe Service Discovery Protocol)."
+HOMEPAGE = "https://gitlab.gnome.org/GNOME/gssdp/"
+BUGTRACKER = "https://gitlab.gnome.org/GNOME/gssdp/-/issues"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+SRC_URI = "${GNOME_MIRROR}/${BPN}/1.4/${BPN}-${PV}.tar.xz"
+SRC_URI[sha256sum] = "8676849d57fb822b8728856dbadebf3867f89ee47a0ec47a20045d011f431582"
+
+GTKDOC_MESON_OPTION = 'gtk_doc'
+
+DEPENDS = " \
+    glib-2.0 \
+    libsoup-2.4 \
+"
+
+inherit meson pkgconfig gobject-introspection vala gtk-doc
+
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'sniffer', '', d)}"
+PACKAGECONFIG[sniffer] = "-Dsniffer=true,-Dsniffer=false,gtk+4,"
+
+PACKAGES =+ "gssdp-tools"
+
+FILES:gssdp-tools = "${bindir}/gssdp* ${datadir}/gssdp/*.glade"