mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
cheese: new recipe
Add a recipe for cheese - a Gnome application for taking photos and videos with webcams. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
81b6644990
commit
1941ab64ed
|
|
@ -0,0 +1,29 @@
|
|||
From d8b8f27730cca948a5e5346b8ed2db0793bb16e7 Mon Sep 17 00:00:00 2001
|
||||
From: Florian Weimer <fweimer@redhat.com>
|
||||
Date: Fri, 19 Jan 2024 21:31:33 +0100
|
||||
Subject: [PATCH] libcheese: Add GtkWidget cast to avoid an
|
||||
incompatible-pointer-types error
|
||||
|
||||
This is required for compilation with GCC 14.
|
||||
|
||||
Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/cheese/-/merge_requests/70]
|
||||
---
|
||||
libcheese/cheese-flash.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libcheese/cheese-flash.c b/libcheese/cheese-flash.c
|
||||
index 59959dbd..e4023221 100644
|
||||
--- a/libcheese/cheese-flash.c
|
||||
+++ b/libcheese/cheese-flash.c
|
||||
@@ -132,7 +132,7 @@ cheese_flash_set_property (GObject *object,
|
||||
GObject *parent;
|
||||
parent = g_value_get_object (value);
|
||||
if (object != NULL)
|
||||
- priv->parent = g_object_ref (parent);
|
||||
+ priv->parent = GTK_WIDGET (g_object_ref (parent));
|
||||
else
|
||||
priv->parent = NULL;
|
||||
}
|
||||
--
|
||||
2.45.2
|
||||
|
||||
26
meta-gnome/recipes-gnome/cheese/cheese_44.1.bb
Normal file
26
meta-gnome/recipes-gnome/cheese/cheese_44.1.bb
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
SUMMARY = "Take photos and videos with your webcam, with fun graphical effects"
|
||||
SECTION = "x11/gnome"
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=a17cb0a873d252440acfdf9b3d0e7fbf"
|
||||
|
||||
inherit gnomebase gobject-introspection vala itstool gtk-icon-cache gsettings gnome-help gtk-doc
|
||||
|
||||
SRC_URI += "file://0001-libcheese-Add-GtkWidget-cast-to-avoid-an-incompatibl.patch"
|
||||
|
||||
SRC_URI[archive.sha256sum] = "5f2185c4c99e54ddf2b8baf60c82819950e54952e132e8639875f3edcbf8f68e"
|
||||
|
||||
DEPENDS += " \
|
||||
clutter-1.0 \
|
||||
clutter-gst-3.0 \
|
||||
clutter-gtk-1.0 \
|
||||
gnome-desktop \
|
||||
libcanberra \
|
||||
libxslt-native \
|
||||
"
|
||||
|
||||
GTKDOC_MESON_OPTION = "gtk_doc"
|
||||
|
||||
# Man page build wants to access sourceforge
|
||||
EXTRA_OEMESON += "-Dman=false"
|
||||
|
||||
FILES:${PN} += "${datadir}"
|
||||
Loading…
Reference in New Issue
Block a user