Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 1 | SUMMARY = "X11 image viewer aimed mostly at console users" |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 2 | HOMEPAGE = "https://feh.finalrewind.org/" |
| 3 | SECTION = "x11/utils" |
| 4 | LICENSE = "MIT" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=f91bd06901085c94bdc50649d98c5059" |
| 6 | DEPENDS = "\ |
| 7 | imlib2 \ |
| 8 | virtual/libx11 libxt\ |
| 9 | " |
| 10 | |
| 11 | SRC_URI = "https://feh.finalrewind.org/feh-${PV}.tar.bz2" |
Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame] | 12 | SRC_URI[sha256sum] = "1d71d1f6dcfe9ffee5e2766969a11978f7eb4fac7d7ae556f104c11f9c57cc98" |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [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" |