summaryrefslogtreecommitdiff
blob: 4b1f26c54b8f5c731d2067d563d49eec0ba3d471 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-art/gnome-art-0.2-r2.ebuild,v 1.4 2006/06/22 18:41:16 gustavoz Exp $

inherit ruby

DESCRIPTION="A collection of tools for managing art from the art.gnome.org website."
HOMEPAGE="http://www.miketech.net/gnome-art/"
SRC_URI="http://www.miketech.net/gnome-art/download/${P}.tar.gz"

USE_RUBY="ruby18"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc sparc x86"
IUSE=""

S=${WORKDIR}/${PN}

RDEPEND="virtual/ruby
		>=dev-ruby/ruby-gnome2-0.14.1
		>=dev-ruby/ruby-atk-0.14.1
		>=dev-ruby/ruby-pango-0.14.1
		>=dev-ruby/ruby-gdkpixbuf2-0.12.0
		>=dev-ruby/ruby-libart2-0.14.1
		>=dev-ruby/ruby-libglade2-0.12.0
		>=dev-ruby/ruby-gconf2-0.12.0"
DEPEND="virtual/ruby"

src_install(){
	cd gnome-splashscreen-manager
	ruby_einstall || die "installing gnome-splashscreen-manager failed"
	cd ../gnome-art
	ruby_einstall || die "installing gnome-art failed"

	dodoc README AUTHORS Changelog

	mkdir ${D}/usr/share/pixmaps
	cp ${D}/usr/share/${PN}/glade/pixmaps/gnome-graphics.png \
		${D}/usr/share/pixmaps

	insinto /usr/share/applications
	doins ${FILESDIR}/gnome-art.desktop
	doins ${FILESDIR}/gnome-splashscreen-manager.desktop
}