| Message ID | 20250701192744.586044-1-hiagofranco@gmail.com |
|---|---|
| State | Accepted |
| Headers | show |
| Series | [meta-oe] gpicview: add recipe | expand |
On Tue, Jul 1, 2025 at 9:28 PM Hiago De Franco via lists.openembedded.org <hiagofranco=gmail.com@lists.openembedded.org> wrote: > > From: Hiago De Franco <hiago.franco@toradex.com> > > GPicView is a simple and fast GTK+ image viewer for X which is > lightweight, desktop independent and has minimal lib dependency. > > Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> > --- > .../gpicview/gpicview_0.3.1.bb | 22 +++++++++++++++++++ > 1 file changed, 22 insertions(+) > create mode 100644 meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb > > diff --git a/meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb b/meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb > new file mode 100644 > index 000000000000..dab11a02bc1a > --- /dev/null > +++ b/meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb > @@ -0,0 +1,22 @@ > +SUMMARY = "Lightweight image viewer for X" > +DESCRIPTION = "GPicView is a simple, lightweight and fast GTK+ based image \ > +viewer with minimal lib dependency and desktop independent." > +HOMEPAGE = "https://github.com/lxde/gpicview" > +BUGTRACKER = "https://github.com/lxde/gpicview/issues" > +SECTION = "x11" > + > +LICENSE = "GPL-2.0-only" > +LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" > + > +DEPENDS = "glib-2.0-native intltool-native jpeg" > + > +SRC_URI = "git://github.com/lxde/gpicview.git;protocol=https;branch=master;tag=${PV}" > +SRCREV = "ca13623c6176585db4759ce4371fbf89c56fa630" > + > +inherit autotools mime-xdg pkgconfig > + > +PACKAGECONFIG ?= "gtk3" This should respect DISTRO_FEATURES, e.g. like this: PACKAGECONFIG ?= "${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk3', '', d)}" I'll send a fix tomorrow. > +PACKAGECONFIG[gtk2] = ",,gtk+" > +PACKAGECONFIG[gtk3] = "--enable-gtk3,,gtk+3" > + > +FILES:${PN} += "${datadir}/icons" > -- > 2.39.5 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#118194): https://lists.openembedded.org/g/openembedded-devel/message/118194 > Mute This Topic: https://lists.openembedded.org/mt/113935295/3617156 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [martin.jansa@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
diff --git a/meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb b/meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb new file mode 100644 index 000000000000..dab11a02bc1a --- /dev/null +++ b/meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb @@ -0,0 +1,22 @@ +SUMMARY = "Lightweight image viewer for X" +DESCRIPTION = "GPicView is a simple, lightweight and fast GTK+ based image \ +viewer with minimal lib dependency and desktop independent." +HOMEPAGE = "https://github.com/lxde/gpicview" +BUGTRACKER = "https://github.com/lxde/gpicview/issues" +SECTION = "x11" + +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" + +DEPENDS = "glib-2.0-native intltool-native jpeg" + +SRC_URI = "git://github.com/lxde/gpicview.git;protocol=https;branch=master;tag=${PV}" +SRCREV = "ca13623c6176585db4759ce4371fbf89c56fa630" + +inherit autotools mime-xdg pkgconfig + +PACKAGECONFIG ?= "gtk3" +PACKAGECONFIG[gtk2] = ",,gtk+" +PACKAGECONFIG[gtk3] = "--enable-gtk3,,gtk+3" + +FILES:${PN} += "${datadir}/icons"