summaryrefslogtreecommitdiff
blob: 00de3b57adf54694e5665ec9d168ace486180403 (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
45
46
47
48
49
50
51
52
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/x11-themes/gentoo-artwork/gentoo-artwork-0.1.ebuild,v 1.4 2003/06/27 00:44:02 vapier Exp $

DESCRIPTION="A collection of miscellaneous Gentoo Linux logos and artwork"
SRC_URI="mirror://gentoo/gentoo-artwork-${PV}.tar.bz2"
HOMEPAGE="http://www.gentoo.org/index-graphics.html"

KEYWORDS="~x86 ~ppc ~sparc"
LICENSE="GPL-2"
SLOT="0"
IUSE="kde"

DEPEND=""
RDEPEND="kde? ( >=x11-libs/qt-3.0.5
	   >=kde-base/kdebase-3.0.2 )"

src_install() {
	# pixmaps	
	dodir /usr/share/pixmaps/gentoo/{800x600,1024x768,1280x1024}
	
	for DIR in ${S}/pixmaps/{800x600,1024x768,1280x1024}; do
		insinto /usr/share/pixmaps/gentoo/$(basename $DIR);
		doins $DIR/*.png;
		doins $DIR/*.jpg;
	done
	
	# console splash images - to come
#	dodir /usr/share/pixmaps/gentoo/{800x600,1024x768,1280x1024}
#
#	for DIR in ${S}/pixmaps/{800x600,1024x768,1280x1024}; do
#		insinto /usr/share/pixmaps/gentoo/$(basename $DIR);
#		doins $DIR/*.png;
#		doins $DIR/*.jpg;
#	done
#	
	if [ `use kde` ] ; then
		insinto ${KDEDIR}/share/apps/kdisplay/color-schemes
		doins ${S}/misc/Gentoo.kcsrc
		
		dodir ${KDEDIR}/share/icons/gentoo
		cp -pR ${S}/icons/gentoo/* ${D}/${KDEDIR}/share/icons/gentoo/
	fi
	
	# grub splash images:
	dodir /usr/share/grub/splashimages
	
	insinto /usr/share/grub/splashimages
	doins ${S}/grub/*.xpm.gz
	
#	dodir /usr/share/${P}
}