From 54afa0ebaff841ea637c68bb309942ac784d0903 Mon Sep 17 00:00:00 2001 From: Jim Ramsay Date: Wed, 21 Feb 2007 16:52:09 +0000 Subject: Added nls support and cleaned up the ebuild (bug 155610) - Thanks to parafin-spobs@yandex.ru (Portage version: 2.1.2-r10) --- x11-plugins/gkrellsun/ChangeLog | 9 ++++++- x11-plugins/gkrellsun/files/digest-gkrellsun-1.0.0 | 3 --- .../gkrellsun/files/digest-gkrellsun-1.0.0-r1 | 3 +++ x11-plugins/gkrellsun/gkrellsun-1.0.0-r1.ebuild | 27 +++++++++++++++++++ x11-plugins/gkrellsun/gkrellsun-1.0.0.ebuild | 30 ---------------------- x11-plugins/gkrellsun/metadata.xml | 6 ++++- 6 files changed, 43 insertions(+), 35 deletions(-) delete mode 100644 x11-plugins/gkrellsun/files/digest-gkrellsun-1.0.0 create mode 100644 x11-plugins/gkrellsun/files/digest-gkrellsun-1.0.0-r1 create mode 100644 x11-plugins/gkrellsun/gkrellsun-1.0.0-r1.ebuild delete mode 100644 x11-plugins/gkrellsun/gkrellsun-1.0.0.ebuild (limited to 'x11-plugins/gkrellsun') diff --git a/x11-plugins/gkrellsun/ChangeLog b/x11-plugins/gkrellsun/ChangeLog index ec361abb8a2b..2bb93437012d 100644 --- a/x11-plugins/gkrellsun/ChangeLog +++ b/x11-plugins/gkrellsun/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for x11-plugins/gkrellsun # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellsun/ChangeLog,v 1.22 2007/02/04 16:57:16 welp Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellsun/ChangeLog,v 1.23 2007/02/21 16:52:09 lack Exp $ + +*gkrellsun-1.0.0-r1 (21 Feb 2007) + + 21 Feb 2007; Jim Ramsay metadata.xml, + -gkrellsun-1.0.0.ebuild, +gkrellsun-1.0.0-r1.ebuild: + Added nls support and cleaned up the ebuild (bug 155610) - Thanks to + parafin-spobs@yandex.ru 04 Feb 2007; Peter Weller (welp) gkrellsun-1.0.0.ebuild: Stable on amd64, bug #133806 diff --git a/x11-plugins/gkrellsun/files/digest-gkrellsun-1.0.0 b/x11-plugins/gkrellsun/files/digest-gkrellsun-1.0.0 deleted file mode 100644 index f0269cceaaaf..000000000000 --- a/x11-plugins/gkrellsun/files/digest-gkrellsun-1.0.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 fbbf5c23a3966b2e16a2bab19a0885b7 gkrellsun-1.0.0.tar.gz 96970 -RMD160 603fe037e80d2e2d1ec952f235a4e27ef6e49f27 gkrellsun-1.0.0.tar.gz 96970 -SHA256 a9fbf23c69fbaec7b0395e9adf78e98af3f9e8263a01c0312faa27c287757608 gkrellsun-1.0.0.tar.gz 96970 diff --git a/x11-plugins/gkrellsun/files/digest-gkrellsun-1.0.0-r1 b/x11-plugins/gkrellsun/files/digest-gkrellsun-1.0.0-r1 new file mode 100644 index 000000000000..f0269cceaaaf --- /dev/null +++ b/x11-plugins/gkrellsun/files/digest-gkrellsun-1.0.0-r1 @@ -0,0 +1,3 @@ +MD5 fbbf5c23a3966b2e16a2bab19a0885b7 gkrellsun-1.0.0.tar.gz 96970 +RMD160 603fe037e80d2e2d1ec952f235a4e27ef6e49f27 gkrellsun-1.0.0.tar.gz 96970 +SHA256 a9fbf23c69fbaec7b0395e9adf78e98af3f9e8263a01c0312faa27c287757608 gkrellsun-1.0.0.tar.gz 96970 diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r1.ebuild b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r1.ebuild new file mode 100644 index 000000000000..3eab0e93ee19 --- /dev/null +++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellsun/gkrellsun-1.0.0-r1.ebuild,v 1.1 2007/02/21 16:52:09 lack Exp $ + +inherit multilib + +IUSE="nls" +DESCRIPTION="A GKrellM plugin that shows sunrise and sunset times." +HOMEPAGE="http://gkrellsun.sourceforge.net/" +SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz" + +SLOT="1" +LICENSE="GPL-2" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc sparc x86" + +DEPEND="=app-admin/gkrellm-2* + nls? ( sys-devel/gettext )" + +src_compile() { + use nls && myconf="$myconf enable_nls=1" + emake ${myconf} +} + +src_install () { + make DESTDIR="${D}" PREFIX="/usr" PLUGINDIR="${D}/usr/$(get_libdir)/gkrellm2/plugins" ${myconf} install + dodoc README AUTHORS COPYING +} diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0.ebuild b/x11-plugins/gkrellsun/gkrellsun-1.0.0.ebuild deleted file mode 100644 index 9e499c2931e6..000000000000 --- a/x11-plugins/gkrellsun/gkrellsun-1.0.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellsun/gkrellsun-1.0.0.ebuild,v 1.6 2007/02/04 16:57:16 welp Exp $ - -inherit multilib - -IUSE="" -DESCRIPTION="A GKrellM plugin that shows sunrise and sunset times." -HOMEPAGE="http://gkrellsun.sourceforge.net/" -SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz" - -SLOT="1" -LICENSE="GPL-2" -KEYWORDS="~alpha amd64 hppa ~ia64 ppc sparc x86" - -DEPEND="=app-admin/gkrellm-2* - >=media-libs/imlib-1.9.10-r1" - -src_compile() { - cd ${S}/src20 - emake || die -} - -src_install () { - dodoc README AUTHORS COPYING - - cd ${S}/src20 - insinto /usr/$(get_libdir)/gkrellm2/plugins - doins gkrellsun.so -} diff --git a/x11-plugins/gkrellsun/metadata.xml b/x11-plugins/gkrellsun/metadata.xml index 20ce219711a2..220d60947054 100644 --- a/x11-plugins/gkrellsun/metadata.xml +++ b/x11-plugins/gkrellsun/metadata.xml @@ -1,5 +1,9 @@ -no-herd + desktop-dock + + lack@gentoo.org + Jim Ramsay + -- cgit v1.2.3-65-gdbad