From 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 8 Oct 2015 22:51:41 +0200 Subject: initial commit for Enea Linux 5.0 arm Signed-off-by: Tudor Florea --- .../recipes-support/links/files/ac-prog-cxx.patch | 11 +++++++++ meta-oe/recipes-support/links/files/links2.desktop | 14 +++++++++++ meta-oe/recipes-support/links/links-x11_2.7.bb | 27 ++++++++++++++++++++++ meta-oe/recipes-support/links/links.inc | 17 ++++++++++++++ meta-oe/recipes-support/links/links_2.7.bb | 13 +++++++++++ 5 files changed, 82 insertions(+) create mode 100644 meta-oe/recipes-support/links/files/ac-prog-cxx.patch create mode 100644 meta-oe/recipes-support/links/files/links2.desktop create mode 100644 meta-oe/recipes-support/links/links-x11_2.7.bb create mode 100644 meta-oe/recipes-support/links/links.inc create mode 100644 meta-oe/recipes-support/links/links_2.7.bb (limited to 'meta-oe/recipes-support/links') diff --git a/meta-oe/recipes-support/links/files/ac-prog-cxx.patch b/meta-oe/recipes-support/links/files/ac-prog-cxx.patch new file mode 100644 index 000000000..41c382685 --- /dev/null +++ b/meta-oe/recipes-support/links/files/ac-prog-cxx.patch @@ -0,0 +1,11 @@ +--- links-2.1pre20/configure.in.orig 2005-12-21 15:23:49.000000000 +0000 ++++ links-2.1pre20/configure.in 2005-12-21 15:23:59.000000000 +0000 +@@ -18,7 +18,7 @@ + dnl Checks for programs. + AC_PROG_CC + +-#AC_PROG_CXX ++AC_PROG_CXX + #AC_PROG_AWK + #AM_PROG_LEX + #AC_PROG_YACC diff --git a/meta-oe/recipes-support/links/files/links2.desktop b/meta-oe/recipes-support/links/files/links2.desktop new file mode 100644 index 000000000..a05bce1b2 --- /dev/null +++ b/meta-oe/recipes-support/links/files/links2.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Links +Comment=Links is a browser very similar to lynx +Comment[es]=El links es un browser para modo texto, similar a lynx +Comment[pl]=Links jest przeglądarką podobną do lynksa +Comment[pt]=O links é um browser para modo texto, similar ao lynx +Comment[pt_BR]=O links é um browser para modo texto, similar ao lynx +Exec=links -g +Terminal=true +Icon=links2 +Type=Application +Categories=Application;ConsoleOnly;Network;WebBrowser; +# vi: encoding=utf-8 diff --git a/meta-oe/recipes-support/links/links-x11_2.7.bb b/meta-oe/recipes-support/links/links-x11_2.7.bb new file mode 100644 index 000000000..87666534e --- /dev/null +++ b/meta-oe/recipes-support/links/links-x11_2.7.bb @@ -0,0 +1,27 @@ +require links.inc + +DEPENDS += "virtual/libx11" +RCONFLICTS_${PN} = "links" + +SRC_URI += " file://links2.desktop \ + http://www.xora.org.uk/oe/links2.png;name=icon" + +S = "${WORKDIR}/links-${PV}" + +EXTRA_OECONF = "--enable-graphics \ + --with-ssl=${STAGING_LIBDIR}/.. --with-libjpeg \ + --without-libtiff --without-svgalib --without-fb \ + --without-directfb --without-pmshell --without-atheos \ + --with-x --without-gpm" + +do_install_append() { + install -d ${D}/${datadir}/applications + install -m 0644 ${WORKDIR}/links2.desktop ${D}/${datadir}/applications + install -d ${D}/${datadir}/pixmaps + install -m 0644 ${WORKDIR}/links2.png ${D}/${datadir}/pixmaps +} + +SRC_URI[md5sum] = "d06aa6e14b2172d73188871a5357185a" +SRC_URI[sha256sum] = "0c182b1cbcdfd5cdcd2f75a6032d1a4b660d07c1225c1e07757cec81d3302130" +SRC_URI[icon.md5sum] = "477e8787927c634614bac01b44355a33" +SRC_URI[icon.sha256sum] = "eddcd8b8c8698aa621d1a453943892d77b72ed492e0d14e0dbac5c6a57e52f47" diff --git a/meta-oe/recipes-support/links/links.inc b/meta-oe/recipes-support/links/links.inc new file mode 100644 index 000000000..e07240820 --- /dev/null +++ b/meta-oe/recipes-support/links/links.inc @@ -0,0 +1,17 @@ +DESCRIPTION = "Links is graphics and text mode WWW \ +browser, similar to Lynx." +HOMEPAGE = "http://links.twibright.com/" +SECTION = "console/network" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=65e735be2e05d5943803344148f57603" +DEPENDS = "jpeg libpng flex openssl zlib" + +SRC_URI = "http://links.twibright.com/download/links-${PV}.tar.bz2 \ + file://ac-prog-cxx.patch \ +" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[bzip2] = "--with-bzip2,--without-bzip2,bzip2" +PACKAGECONFIG[lzma] = "--with-lzma,--without-lzma,xz" + +inherit autotools pkgconfig diff --git a/meta-oe/recipes-support/links/links_2.7.bb b/meta-oe/recipes-support/links/links_2.7.bb new file mode 100644 index 000000000..e80dd7bca --- /dev/null +++ b/meta-oe/recipes-support/links/links_2.7.bb @@ -0,0 +1,13 @@ +require links.inc + +DEPENDS += "gpm" +RCONFLICTS_${PN} = "links-x11" + +EXTRA_OECONF = "--enable-graphics \ + --with-ssl=${STAGING_LIBDIR}/.. --with-libjpeg \ + --without-libtiff --without-svgalib --with-fb \ + --without-directfb --without-pmshell --without-atheos \ + --without-x" + +SRC_URI[md5sum] = "d06aa6e14b2172d73188871a5357185a" +SRC_URI[sha256sum] = "0c182b1cbcdfd5cdcd2f75a6032d1a4b660d07c1225c1e07757cec81d3302130" -- cgit v1.2.3-54-g00ecf