links-x11_2.1pre23.bb : new version
authorGraeme Gregory <dp@xora.org.uk>
Mon, 4 Sep 2006 15:15:08 +0000 (15:15 +0000)
committerGraeme Gregory <dp@xora.org.uk>
Mon, 4 Sep 2006 15:15:08 +0000 (15:15 +0000)
Added a .desktop and icon.

packages/links/files/links2.desktop [new file with mode: 0644]
packages/links/links-x11_2.1pre23.bb [moved from packages/links/links-x11_2.1pre22.bb with 66% similarity]

diff --git a/packages/links/files/links2.desktop b/packages/links/files/links2.desktop
new file mode 100644 (file)
index 0000000..a05bce1
--- /dev/null
@@ -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
similarity index 66%
rename from packages/links/links-x11_2.1pre22.bb
rename to packages/links/links-x11_2.1pre23.bb
index 9c9bb83..c68a945 100644 (file)
@@ -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
+}
+