1SUMMARY = "X11 image viewer aimed mostly at console users"
2HOMEPAGE = "https://feh.finalrewind.org/"
3SECTION = "x11/utils"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://COPYING;md5=150e4c518ff8aaecfe35694e47661d9a"
6DEPENDS = "\
7    imlib2 \
8    virtual/libx11 libxt\
9"
10
11SRC_URI = "https://feh.finalrewind.org/feh-${PV}.tar.bz2"
12SRC_URI[sha256sum] = "5f94a77de25c5398876f0cf431612d782b842f4db154d2139b778c8f196e8969"
13
14inherit mime-xdg features_check
15# depends on virtual/libx11
16REQUIRED_DISTRO_FEATURES = "x11"
17
18EXTRA_OEMAKE = "curl=0 xinerama=0 PREFIX=/usr"
19
20do_compile () {
21     oe_runmake
22}
23
24do_install () {
25     oe_runmake install app=1 'DESTDIR=${D}' 'ICON_PREFIX=${D}${datadir}/icons'
26}
27
28RDEPENDS:${PN} += "imlib2-loaders"
29
30FILES:${PN} += "${datadir}/icons"
31