/[gentoo-x86]/x11-themes/ximian-artwork/ximian-artwork-0.2.29.0.6.3.ebuild
Gentoo

Contents of /x11-themes/ximian-artwork/ximian-artwork-0.2.29.0.6.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.18 - (show annotations) (download)
Mon Jan 7 13:53:43 2008 UTC (10 years, 6 months ago) by drac
Branch: MAIN
CVS Tags: HEAD
Changes since 1.17: +1 -1 lines
FILE REMOVED
remove ximian-artwork for treecleaners

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-themes/ximian-artwork/ximian-artwork-0.2.29.0.6.3.ebuild,v 1.17 2007/07/22 05:58:38 dberkholz Exp $
4
5 inherit rpm eutils
6
7 # bash magic to extract last 2 versions as XIMIAN_V,
8 # third last version as RPM_V and the rest as MY_PV
9 MY_PV=${PV%.[0-9]*.[0-9]*.[0-9]*}
10 END_V=${PV/${MY_PV}./}
11 RPM_V=${END_V%.[0-9]*.[0-9]*}
12 XIMIAN_V=${END_V#[0-9]*.}
13
14 DESCRIPTION="Ximian Desktop's GTK, Galeon, GDM, Metacity, Nautilus, icons and cursors."
15 HOMEPAGE="http://www.novell.com/products/desktop/"
16 SRC_URI="ftp://ftp.ximian.com/pub/xd2/redhat-9-i386/source/${PN}-${MY_PV}-${RPM_V}.ximian.${XIMIAN_V}.src.rpm"
17 LICENSE="GPL-2"
18 SLOT="0"
19 KEYWORDS="x86 sparc amd64 ppc"
20 IUSE=""
21
22 DEPEND="sys-devel/autoconf
23 sys-devel/automake
24 app-arch/rpm2targz"
25
26 RDEPEND=">=x11-themes/gnome-themes-extras-0.5"
27
28 S="${WORKDIR}/${PN}-${MY_PV}"
29
30 src_unpack() {
31 rpm_src_unpack
32 epatch ${FILESDIR}/${PN}-${MY_PV}-disable_industrial.patch
33 }
34
35 src_compile() {
36 aclocal && autoconf && automake || die
37 libtoolize --copy --force
38 econf || die
39 emake || die
40 }
41
42 src_install () {
43 make DESTDIR=${D} install || die
44
45 # Removing trademarks
46 patch ${D}/usr/share/gdm/themes/industrial/industrial.xml < ${FILESDIR}/${PN}-0.2.26-gdm.patch || die "patch failed"
47 rm -f ${D}/usr/share/gdm/themes/industrial/xd2logo.png
48 rm -rf ${D}/usr/share/pixmaps/ximian
49 rm -f ${D}/usr/share/pixmaps/ximian-desktop-stripe.png
50
51 # Set up X11 implementation
52 #X11_IMPLEM_P="$(best_version x11-base/xorg-server)"
53 #X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}"
54 #X11_IMPLEM="${X11_IMPLEM##*\/}"
55 X11_IMPLEM="xorg-x11"
56 einfo "X11 implementation is ${X11_IMPLEM}."
57
58 # Moving cursors
59 dodir /usr/share/cursors/${X11_IMPLEM}/Industrial
60 mv ${D}/usr/share/icons/Industrial/cursors ${D}/usr/share/cursors/${X11_IMPLEM}/Industrial
61
62 # remove xmms skin if unneeded
63 rm -rf ${D}/usr/share/xmms
64
65 cd ${S}
66 dodoc COPYING ChangeLog
67 }

  ViewVC Help
Powered by ViewVC 1.1.20