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