diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-12-14 22:47:06 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-12-14 22:47:06 +0000 |
commit | ea9799d96b36be36d4bdf9bcffa8f41ccaec6bb8 (patch) | |
tree | 9a988aa8cef9d46ee1702c794b8cc32cd6aadc53 /x11-plugins/gkrellm-bgchanger | |
parent | First relase (diff) | |
download | gentoo-2-ea9799d96b36be36d4bdf9bcffa8f41ccaec6bb8.tar.gz gentoo-2-ea9799d96b36be36d4bdf9bcffa8f41ccaec6bb8.tar.bz2 gentoo-2-ea9799d96b36be36d4bdf9bcffa8f41ccaec6bb8.zip |
initial import
Diffstat (limited to 'x11-plugins/gkrellm-bgchanger')
3 files changed, 86 insertions, 0 deletions
diff --git a/x11-plugins/gkrellm-bgchanger/ChangeLog b/x11-plugins/gkrellm-bgchanger/ChangeLog new file mode 100644 index 000000000000..69ade43a9215 --- /dev/null +++ b/x11-plugins/gkrellm-bgchanger/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for x11-plugins/gkrellm-bgchanger +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-bgchanger/ChangeLog,v 1.1 2002/12/14 22:47:06 seemant Exp $ + +*gkrellm-bgchanger-0.0.4 (14 Dec 2002) + + 14 Dec 2002; Seemant Kulleen <seemant@gentoo.org> + gkrellm-bgchanger-0.0.4.ebuild ChangeLog + files/digest-gkrellm-bgchanger-0.0.4 : + + This is actually gkrellmbgchg and gkrellbgchg2 depending on whether you + have gtk2 in USE and whether you have /usr/bin/gkrellm and/or + /usr/bin/gkrellm2 diff --git a/x11-plugins/gkrellm-bgchanger/files/digest-gkrellm-bgchanger-0.0.4 b/x11-plugins/gkrellm-bgchanger/files/digest-gkrellm-bgchanger-0.0.4 new file mode 100644 index 000000000000..42c9345a20d2 --- /dev/null +++ b/x11-plugins/gkrellm-bgchanger/files/digest-gkrellm-bgchanger-0.0.4 @@ -0,0 +1,2 @@ +MD5 472215ba356168ebd068fd83f216365b gkrellmbgchg-0.0.4.tar.gz 6525 +MD5 37ce28edfde51bbb4920c7e8e3c3babb gkrellmbgchg2-0.0.4.tar.gz 7176 diff --git a/x11-plugins/gkrellm-bgchanger/gkrellm-bgchanger-0.0.4.ebuild b/x11-plugins/gkrellm-bgchanger/gkrellm-bgchanger-0.0.4.ebuild new file mode 100644 index 000000000000..fd1f92bbe7d5 --- /dev/null +++ b/x11-plugins/gkrellm-bgchanger/gkrellm-bgchanger-0.0.4.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-bgchanger/gkrellm-bgchanger-0.0.4.ebuild,v 1.1 2002/12/14 22:47:06 seemant Exp $ + +IUSE="gtk gtk2" + +MY_PN=gkrellmbgchg +MY_P=${MY_PN}-${PV} +MY_P2=${MY_PN}2-${PV} +S=${WORKDIR}/${MY_P} +S2=${WORKDIR}/${MY_P2} +DESCRIPTION="Plugin for GKrellM/GKrellM2 to change your desktop background" +HOMEPAGE="http://www.personal.uni-jena.de/~p6best/english/comp/gkrellmbgchg.html" +SRC_URI="http://www.personal.uni-jena.de/~p6best/comp/sources/${MY_P}.tar.gz +gtk2? http://www.personal.uni-jena.de/~p6best/comp/sources/${MY_P2}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" + +DEPEND="gtk2? ( =app-admin/gkrellm-2* ) + gtk? ( =app-admin/gkrellm-1.2* )" + +src_unpack() { + if [ -f /usr/bin/gkrellm ] + then + unpack ${MY_P}.tar.gz + fi + + if [ -f /usr/bin/gkrellm2 ] + then + unpack ${MY_P2}.tar.gz + fi +} + + +src_compile() { + if [ -f /usr/bin/gkrellm ] + then + cd ${S} + emake || die + fi + + if [ -f /usr/bin/gkrellm2 ] + then + cd ${S2} + emake || die + fi +} + +src_install() { + if [ -f /usr/bin/gkrellm ] + then + cd ${S} + insinto /usr/lib/gkrellm/plugins + doins ${MY_PN}.so + + docinto gkrellm1 + dodoc README TODO + fi + + if [ -f /usr/bin/gkrellm2 ] + then + cd ${S2} + insinto /usr/lib/gkrellm2/plugins + doins ${MY_PN}.so + + docinto gkrellm2 + dodoc ChangeLog README TODO + fi +} |