blob: 4c8d935ccf8a48330a01ff8f18bc7ee6c843a554 [file] [log] [blame]
Andrew Geissler32b11992021-03-31 13:37:05 -05001require links.inc
2
3DEPENDS += "virtual/libx11"
Patrick Williams213cb262021-08-07 19:21:33 -05004RCONFLICTS:${PN} = "links"
Andrew Geissler32b11992021-03-31 13:37:05 -05005
6inherit features_check
7# depends on virtual/libx11
8REQUIRED_DISTRO_FEATURES = "x11"
9
10SRC_URI += " file://links2.desktop \
11 http://www.xora.org.uk/oe/links2.png;name=icon"
12
Patrick Williams03907ee2022-05-01 06:28:52 -050013SRC_URI[sha256sum] = "f05b3577f25dbe63e491c424f0ecb31f7bfadce9b2bc2f111dfed049c004c9cb"
Andrew Geissler32b11992021-03-31 13:37:05 -050014SRC_URI[icon.sha256sum] = "eddcd8b8c8698aa621d1a453943892d77b72ed492e0d14e0dbac5c6a57e52f47"
15
16S = "${WORKDIR}/links-${PV}"
17
18EXTRA_OECONF = "--enable-graphics \
19 --with-ssl=${STAGING_LIBDIR}/.. --with-libjpeg \
20 --without-libtiff --without-svgalib --without-fb \
21 --without-directfb --without-pmshell --without-atheos \
22 --with-x --without-gpm"
23
Patrick Williams213cb262021-08-07 19:21:33 -050024do_install:append() {
Andrew Geissler32b11992021-03-31 13:37:05 -050025 install -d ${D}/${datadir}/applications
26 install -m 0644 ${WORKDIR}/links2.desktop ${D}/${datadir}/applications
27 install -d ${D}/${datadir}/pixmaps
28 install -m 0644 ${WORKDIR}/links2.png ${D}/${datadir}/pixmaps
29}