1*705982a5SPatrick WilliamsSUMMARY = "X11 image viewer aimed mostly at console users"
2*705982a5SPatrick WilliamsHOMEPAGE = "https://feh.finalrewind.org/"
3*705982a5SPatrick WilliamsSECTION = "x11/utils"
4*705982a5SPatrick WilliamsLICENSE = "MIT"
5*705982a5SPatrick WilliamsLIC_FILES_CHKSUM = "file://COPYING;md5=150e4c518ff8aaecfe35694e47661d9a"
6*705982a5SPatrick WilliamsDEPENDS = "\
7*705982a5SPatrick Williams    imlib2 \
8*705982a5SPatrick Williams    virtual/libx11 libxt\
9*705982a5SPatrick Williams"
10*705982a5SPatrick Williams
11*705982a5SPatrick WilliamsSRC_URI = "https://feh.finalrewind.org/feh-${PV}.tar.bz2"
12*705982a5SPatrick WilliamsSRC_URI[sha256sum] = "5f94a77de25c5398876f0cf431612d782b842f4db154d2139b778c8f196e8969"
13*705982a5SPatrick Williams
14*705982a5SPatrick Williamsinherit mime-xdg features_check
15*705982a5SPatrick Williams# depends on virtual/libx11
16*705982a5SPatrick WilliamsREQUIRED_DISTRO_FEATURES = "x11"
17*705982a5SPatrick Williams
18*705982a5SPatrick WilliamsEXTRA_OEMAKE = "curl=0 xinerama=0 PREFIX=/usr"
19*705982a5SPatrick Williams
20*705982a5SPatrick Williamsdo_compile () {
21*705982a5SPatrick Williams     oe_runmake
22*705982a5SPatrick Williams}
23*705982a5SPatrick Williams
24*705982a5SPatrick Williamsdo_install () {
25*705982a5SPatrick Williams     oe_runmake install app=1 'DESTDIR=${D}' 'ICON_PREFIX=${D}${datadir}/icons'
26*705982a5SPatrick Williams}
27*705982a5SPatrick Williams
28*705982a5SPatrick WilliamsRDEPENDS:${PN} += "imlib2-loaders"
29*705982a5SPatrick Williams
30*705982a5SPatrick WilliamsFILES:${PN} += "${datadir}/icons"
31