blob: 40145b873c0117b34da4d22d584ebc653c4cba7c [file] [log] [blame]
Patrick Williamsac13d5f2023-11-24 18:59:46 -06001SUMMARY = "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] = "ec5e44d3cfe6f50f1c64f28a6f0225d958f4f4621726d9c2a04b5a32e5106d23"
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"