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