summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/desklet-goodweather')
-rw-r--r--x11-plugins/desklet-goodweather/ChangeLog8
-rw-r--r--x11-plugins/desklet-goodweather/Manifest4
-rw-r--r--x11-plugins/desklet-goodweather/desklet-goodweather-0.4-r1.ebuild49
-rw-r--r--x11-plugins/desklet-goodweather/files/digest-desklet-goodweather-0.4-r12
4 files changed, 19 insertions, 44 deletions
diff --git a/x11-plugins/desklet-goodweather/ChangeLog b/x11-plugins/desklet-goodweather/ChangeLog
index 3f19f6ad703d..9b8c9dc42fe6 100644
--- a/x11-plugins/desklet-goodweather/ChangeLog
+++ b/x11-plugins/desklet-goodweather/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-plugins/desklet-goodweather
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/desklet-goodweather/ChangeLog,v 1.10 2004/12/02 05:00:58 obz Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/desklet-goodweather/ChangeLog,v 1.11 2005/04/23 04:13:20 nixphoeni Exp $
+
+ 23 Apr 2005; Joe Sapp <nixphoeni@gentoo.org>
+ desklet-goodweather-0.4-r1.ebuild:
+ Updated the ebuild to use the eclass
*desklet-goodweather-0.4-r1 (02 Dec 2004)
diff --git a/x11-plugins/desklet-goodweather/Manifest b/x11-plugins/desklet-goodweather/Manifest
index b76826e260c0..53554f2741b0 100644
--- a/x11-plugins/desklet-goodweather/Manifest
+++ b/x11-plugins/desklet-goodweather/Manifest
@@ -1,8 +1,8 @@
MD5 af591ecf9ff41119edce4e379ad9cf6b desklet-goodweather-0.4.ebuild 1234
MD5 fa9c0600b4375c50e6ea47565061ad18 desklet-goodweather-0.3.ebuild 1233
MD5 3b3407e7488dd30500d7bbc759ee8e81 ChangeLog 1945
-MD5 4f219043d3075694d499b9ab1f5b58ed desklet-goodweather-0.4-r1.ebuild 1362
+MD5 60d4c4b4e24e943f586f0fa9794f5f72 desklet-goodweather-0.4-r1.ebuild 588
MD5 a175a96fb7e85b152ade748dbd2360e0 metadata.xml 213
MD5 a313796e2744c9b050b1ab855068f76a files/digest-desklet-goodweather-0.3 69
MD5 7fedd8d801fa3552ee5c7bb079954b14 files/digest-desklet-goodweather-0.4 69
-MD5 7fedd8d801fa3552ee5c7bb079954b14 files/digest-desklet-goodweather-0.4-r1 69
+MD5 00adc8fbd46656e8bb502804823337d7 files/digest-desklet-goodweather-0.4-r1 64
diff --git a/x11-plugins/desklet-goodweather/desklet-goodweather-0.4-r1.ebuild b/x11-plugins/desklet-goodweather/desklet-goodweather-0.4-r1.ebuild
index cc294aa47571..51e44e7e2fde 100644
--- a/x11-plugins/desklet-goodweather/desklet-goodweather-0.4-r1.ebuild
+++ b/x11-plugins/desklet-goodweather/desklet-goodweather-0.4-r1.ebuild
@@ -1,54 +1,25 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/desklet-goodweather/desklet-goodweather-0.4-r1.ebuild,v 1.1 2004/12/02 05:00:58 obz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/desklet-goodweather/desklet-goodweather-0.4-r1.ebuild,v 1.2 2005/04/23 04:13:20 nixphoeni Exp $
+
+inherit gdesklets
DESKLET_NAME="GoodWeather"
+SENSOR_NAME="${DESKLET_NAME}"
-MY_P=${DESKLET_NAME}-${PV}
+MY_P=${DESKLET_NAME}
S=${WORKDIR}/${DESKLET_NAME}
-DESCRIPTION="A desklet producing weather forecasts for the coming week"
-SRC_URI="http://gdesklets.gnomedesktop.org/files/${MY_P}.tar.bz2"
+DESCRIPTION="A desklet showing a weather forecast for the coming week"
+SRC_URI="http://gdesklets.gnomedesktop.org/files/${MY_P}.tar.gz"
HOMEPAGE="http://gdesklets.gnomedesktop.org/categories.php?func=gd_show_app&gd_app_id=93"
LICENSE="as-is"
SLOT="0"
IUSE=""
-KEYWORDS="~x86 ~ppc ~amd64 ~alpha"
+KEYWORDS="~x86"
-DEPEND=">=gnome-extra/gdesklets-core-0.26"
+RDEPEND=">=gnome-extra/gdesklets-core-0.34.3"
DOCS="README"
-src_unpack() {
-
- unpack ${A}
- cd ${S}
- # fix the "metha/meta" typo for gdesklets-0.3x
- sed -i -e "s:metha:meta:" GoodWeather.display
-
-}
-
-src_install() {
-
- SYS_PATH="/usr/share/gdesklets"
- INSTALL_BIN="Install_${DESKLET_NAME}_Sensor.bin"
- dodir ${SYS_PATH}/{Sensors,Displays}
-
- # first we install the Sensor
- python ${INSTALL_BIN} --nomsg ${D}${SYS_PATH}/Sensors
-
- # and then the .displays
- insinto ${SYS_PATH}/Displays/${DESKLET_NAME}
- doins *.display
-
- # and finally the graphics
- cp -R gfx/ ${D}${SYS_PATH}/Displays/${DESKLET_NAME}
-
- dodoc ${DOCS}
-
- # the desklets unpack preserves permissions of the archive
- chown -R root:root ${D}${SYS_PATH}/Sensors/${DESKLET_NAME}
-
-}
-
diff --git a/x11-plugins/desklet-goodweather/files/digest-desklet-goodweather-0.4-r1 b/x11-plugins/desklet-goodweather/files/digest-desklet-goodweather-0.4-r1
index f733a678e3fc..0d3eed60e072 100644
--- a/x11-plugins/desklet-goodweather/files/digest-desklet-goodweather-0.4-r1
+++ b/x11-plugins/desklet-goodweather/files/digest-desklet-goodweather-0.4-r1
@@ -1 +1 @@
-MD5 ad7851fed9de6f8adc35d522d5b08cdb GoodWeather-0.4.tar.bz2 1460955
+MD5 2470e742a04bd21c0d9492631fc9be1b GoodWeather.tar.gz 1458927