Skip to contentSkip to conversation

gpicview: add recipe

PATCH In review Hiago De Franco 2 participants 2 messages Jul 1, 2025 – Jul 7, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpicview: add recipe

From: Hiago De Franco <[email protected]>

GPicView is a simple and fast GTK+ image viewer for X which is lightweight, desktop independent and has minimal lib dependency.

---
 .../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
meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb new file +22 -0
new file mode 100644
index 000000000000..dab11a02bc1a
@@ -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"
Signature · 1 line
2.39.5
#1 lore raw
Quoted 26 lines · Hiago De Franco via lists.openembedded.org

From: Hiago De Franco <[email protected]>

GPicView is a simple and fast GTK+ image viewer for X which is lightweight, desktop independent and has minimal lib dependency.

---
 .../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
meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb new file +8 -0
new file mode 100644
index 000000000000..dab11a02bc1a
@@ -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"

meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb line 18

Quoted 10 lines
meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb new file +10 -0
+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.

Quoted 16 lines
meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb new file +4 -1
+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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-