From 5513ba6a919f435e2d4482b423a37fa69338e483 Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Mon, 28 Dec 2020 05:34:01 +0300 Subject: feh: imlib2 based image viewer Add feh, small but powerfull image viewer. One of its features is an ability to set X11 root window background. Signed-off-by: Dmitry Baryshkov Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/feh/feh_3.6.1.bb | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta-oe/recipes-graphics/feh/feh_3.6.1.bb (limited to 'meta-oe/recipes-graphics/feh') diff --git a/meta-oe/recipes-graphics/feh/feh_3.6.1.bb b/meta-oe/recipes-graphics/feh/feh_3.6.1.bb new file mode 100644 index 0000000000..1e49e68f89 --- /dev/null +++ b/meta-oe/recipes-graphics/feh/feh_3.6.1.bb @@ -0,0 +1,31 @@ +SUMMARY = "X11 image viewer aimed mostly at console users" +AUTHOR = "Tom Gilbert & Daniel Friesel" +HOMEPAGE = "https://feh.finalrewind.org/" +SECTION = "x11/utils" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=f91bd06901085c94bdc50649d98c5059" +DEPENDS = "\ + imlib2 \ + virtual/libx11 libxt\ +" + +SRC_URI = "https://feh.finalrewind.org/feh-${PV}.tar.bz2" +SRC_URI[sha256sum] = "9b1edec52cbae97b17530cb5db10666abfb9983f51a5d820c89added6f7b1ea8" + +inherit mime-xdg features_check +# depends on virtual/libx11 +REQUIRED_DISTRO_FEATURES = "x11" + +EXTRA_OEMAKE = "curl=0 xinerama=0 PREFIX=/usr" + +do_compile () { + oe_runmake +} + +do_install () { + oe_runmake install app=1 'DESTDIR=${D}' 'ICON_PREFIX=${D}${datadir}/icons' +} + +RDEPENDS_${PN} += "imlib2-loaders" + +FILES_${PN} += "${datadir}/icons" -- cgit v1.2.3-54-g00ecf