summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/links/files/links2.desktop14
-rw-r--r--packages/links/links-x11_2.1pre23.bb (renamed from packages/links/links-x11_2.1pre22.bb)27
2 files changed, 31 insertions, 10 deletions
diff --git a/packages/links/files/links2.desktop b/packages/links/files/links2.desktop
new file mode 100644
index 0000000000..a05bce1b2b
--- /dev/null
+++ b/packages/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/packages/links/links-x11_2.1pre22.bb b/packages/links/links-x11_2.1pre23.bb
index 9c9bb831aa..c68a94565b 100644
--- a/packages/links/links-x11_2.1pre22.bb
+++ b/packages/links/links-x11_2.1pre23.bb
@@ -1,18 +1,19 @@
-LICENSE = "GPL"
-SECTION = "console/network"
-DEPENDS = "jpeg libpng flex openssl zlib virtual/libx11"
DESCRIPTION = "Links is graphics and text mode WWW \
browser, similar to Lynx."
-RCONFLICTS = "links"
-
+HOMEPAGE = "http://links.twibright.com/"
+SECTION = "console/network"
MAINTAINER = "Graeme Gregory <dp@xora.org.uk>"
-
+LICENSE = "GPL"
+DEPENDS = "jpeg libpng flex openssl zlib virtual/libx11"
+RCONFLICTS = "links"
+PR = "r0"
SRC_URI = "http://links.twibright.com/download/links-${PV}.tar.bz2 \
file://ac-prog-cxx.patch;patch=1 \
file://cookies-save-0.96.patch;patch=1 \
- file://links-2.1pre17-fix-segfault-on-loading-cookies.patch;patch=1"
-
-PR = "r1"
+ file://links-2.1pre17-fix-segfault-on-loading-cookies.patch;patch=1 \
+ file://links2.desktop \
+ http://www.xora.org.uk/oe/links2.png"
+S = "${WORKDIR}/links-${PV}"
inherit autotools
@@ -22,4 +23,10 @@ EXTRA_OECONF = "--enable-javascript --with-libfl --enable-graphics \
--without-directfb --without-pmshell --without-atheos \
--with-x --without-gpm --without-sdl"
-S = "${WORKDIR}/links-${PV}"
+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
+}
+