blob: ec18f11aa5fc449417ba53c4ca5080ca190749d8 [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001SUMMARY = "X11 image viewer aimed mostly at console users"
Patrick Williams92b42cb2022-09-03 06:53:57 -05002HOMEPAGE = "https://feh.finalrewind.org/"
3SECTION = "x11/utils"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://COPYING;md5=f91bd06901085c94bdc50649d98c5059"
6DEPENDS = "\
7 imlib2 \
8 virtual/libx11 libxt\
9"
10
11SRC_URI = "https://feh.finalrewind.org/feh-${PV}.tar.bz2"
Patrick Williams8e7b46e2023-05-01 14:19:06 -050012SRC_URI[sha256sum] = "1d71d1f6dcfe9ffee5e2766969a11978f7eb4fac7d7ae556f104c11f9c57cc98"
Patrick Williams92b42cb2022-09-03 06:53:57 -050013
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"