Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | require links.inc |
| 2 | |
| 3 | DEPENDS += "virtual/libx11" |
| 4 | RCONFLICTS_${PN} = "links" |
| 5 | |
| 6 | inherit distro_features_check |
| 7 | # depends on virtual/libx11 |
| 8 | REQUIRED_DISTRO_FEATURES = "x11" |
| 9 | |
| 10 | SRC_URI += " file://links2.desktop \ |
| 11 | http://www.xora.org.uk/oe/links2.png;name=icon" |
| 12 | |
| 13 | S = "${WORKDIR}/links-${PV}" |
| 14 | |
| 15 | EXTRA_OECONF = "--enable-graphics \ |
| 16 | --with-ssl=${STAGING_LIBDIR}/.. --with-libjpeg \ |
| 17 | --without-libtiff --without-svgalib --without-fb \ |
| 18 | --without-directfb --without-pmshell --without-atheos \ |
| 19 | --with-x --without-gpm" |
| 20 | |
| 21 | do_install_append() { |
| 22 | install -d ${D}/${datadir}/applications |
| 23 | install -m 0644 ${WORKDIR}/links2.desktop ${D}/${datadir}/applications |
| 24 | install -d ${D}/${datadir}/pixmaps |
| 25 | install -m 0644 ${WORKDIR}/links2.png ${D}/${datadir}/pixmaps |
| 26 | } |
| 27 | |
| 28 | SRC_URI[md5sum] = "d06aa6e14b2172d73188871a5357185a" |
| 29 | SRC_URI[sha256sum] = "0c182b1cbcdfd5cdcd2f75a6032d1a4b660d07c1225c1e07757cec81d3302130" |
| 30 | SRC_URI[icon.md5sum] = "477e8787927c634614bac01b44355a33" |
| 31 | SRC_URI[icon.sha256sum] = "eddcd8b8c8698aa621d1a453943892d77b72ed492e0d14e0dbac5c6a57e52f47" |