blob: 12951e28c5718e3dd265677c2ad7d465d64748bd [file] [log] [blame]
Andrew Geissler72956ed2021-01-08 16:11:14 -06001SUMMARY = "X11 image viewer aimed mostly at console users"
2AUTHOR = "Tom Gilbert & Daniel Friesel"
3HOMEPAGE = "https://feh.finalrewind.org/"
4SECTION = "x11/utils"
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://COPYING;md5=f91bd06901085c94bdc50649d98c5059"
7DEPENDS = "\
8 imlib2 \
9 virtual/libx11 libxt\
10"
11
12SRC_URI = "https://feh.finalrewind.org/feh-${PV}.tar.bz2"
Patrick Williams58776372022-04-13 09:07:35 -050013SRC_URI[sha256sum] = "7f3c34552b39336d7ebee2d7c4bf5697aaaa2c6c102c357f6e82ea240bd62ba9"
Andrew Geissler72956ed2021-01-08 16:11:14 -060014
15inherit mime-xdg features_check
16# depends on virtual/libx11
17REQUIRED_DISTRO_FEATURES = "x11"
18
19EXTRA_OEMAKE = "curl=0 xinerama=0 PREFIX=/usr"
20
21do_compile () {
22 oe_runmake
23}
24
25do_install () {
26 oe_runmake install app=1 'DESTDIR=${D}' 'ICON_PREFIX=${D}${datadir}/icons'
27}
28
Patrick Williams213cb262021-08-07 19:21:33 -050029RDEPENDS:${PN} += "imlib2-loaders"
Andrew Geissler72956ed2021-01-08 16:11:14 -060030
Patrick Williams213cb262021-08-07 19:21:33 -050031FILES:${PN} += "${datadir}/icons"