summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Ramsay <lack@gentoo.org>2007-02-21 16:52:09 +0000
committerJim Ramsay <lack@gentoo.org>2007-02-21 16:52:09 +0000
commit54afa0ebaff841ea637c68bb309942ac784d0903 (patch)
treeab67512e045aacdd976736b64744771b4bc50f3b /x11-plugins
parentold (diff)
downloadgentoo-2-54afa0ebaff841ea637c68bb309942ac784d0903.tar.gz
gentoo-2-54afa0ebaff841ea637c68bb309942ac784d0903.tar.bz2
gentoo-2-54afa0ebaff841ea637c68bb309942ac784d0903.zip
Added nls support and cleaned up the ebuild (bug 155610) - Thanks to parafin-spobs@yandex.ru
(Portage version: 2.1.2-r10)
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/gkrellsun/ChangeLog9
-rw-r--r--x11-plugins/gkrellsun/files/digest-gkrellsun-1.0.0-r1 (renamed from x11-plugins/gkrellsun/files/digest-gkrellsun-1.0.0)0
-rw-r--r--x11-plugins/gkrellsun/gkrellsun-1.0.0-r1.ebuild (renamed from x11-plugins/gkrellsun/gkrellsun-1.0.0.ebuild)15
-rw-r--r--x11-plugins/gkrellsun/metadata.xml6
4 files changed, 19 insertions, 11 deletions
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 <lack@gentoo.org> 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) <welp@gentoo.org> 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-r1
index f0269cceaaaf..f0269cceaaaf 100644
--- a/x11-plugins/gkrellsun/files/digest-gkrellsun-1.0.0
+++ b/x11-plugins/gkrellsun/files/digest-gkrellsun-1.0.0-r1
diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0.ebuild b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r1.ebuild
index 9e499c2931e6..3eab0e93ee19 100644
--- a/x11-plugins/gkrellsun/gkrellsun-1.0.0.ebuild
+++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r1.ebuild
@@ -1,10 +1,10 @@
# 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 $
+# $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=""
+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"
@@ -14,17 +14,14 @@ LICENSE="GPL-2"
KEYWORDS="~alpha amd64 hppa ~ia64 ppc sparc x86"
DEPEND="=app-admin/gkrellm-2*
- >=media-libs/imlib-1.9.10-r1"
+ nls? ( sys-devel/gettext )"
src_compile() {
- cd ${S}/src20
- emake || die
+ 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
-
- 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 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>no-herd</herd>
+ <herd>desktop-dock</herd>
+ <maintainer>
+ <email>lack@gentoo.org</email>
+ <name>Jim Ramsay</name>
+ </maintainer>
</pkgmetadata>