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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (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.8: +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.32.1.ebuild,v 1.8 2007/02/07 08:14:35 opfer Exp $
4
5 WANT_AUTOMAKE="latest"
6 WANT_AUTOCONF="latest"
7
8 inherit rpm eutils versionator autotools
9
10 # bash magic to extract last 2 versions as XIMIAN_V,
11 # third last version as RPM_V and the rest as MY_PV
12 MY_PV=$(get_version_component_range 1-3)
13 RPM_V=$(get_version_component_range 4)
14
15 DESCRIPTION="Ximian Desktop's GTK, Galeon, GDM, Metacity, Nautilus, icons and cursors."
16 HOMEPAGE="http://www.novell.com/products/desktop/"
17 SRC_URI="http://apt.sw.be/packages/ximian-artwork/ximian-artwork-${MY_PV}-${RPM_V}.rf.src.rpm"
18 LICENSE="GPL-2"
19 SLOT="0"
20 KEYWORDS="amd64 ppc sparc x86"
21 IUSE=""
22
23 DEPEND="app-arch/rpm2targz
24 dev-util/intltool"
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 cd "${S}"
33 epatch "${FILESDIR}/${P}-disable_industrial_engine.patch"
34
35 eautoreconf
36 }
37
38 src_install () {
39 emake DESTDIR="${D}" install || die "emake install failed"
40
41 # Removing trademarks
42 patch "${D}"/usr/share/gdm/themes/industrial/industrial.xml < ${FILESDIR}/${PN}-0.2.26-gdm.patch || die "patch failed"
43 rm -f "${D}"/usr/share/gdm/themes/industrial/xd2logo.png
44 rm -rf "${D}"/usr/share/pixmaps/ximian
45 rm -f "${D}"/usr/share/pixmaps/ximian-desktop-stripe.png
46
47 # Set up X11 implementation
48 X11_IMPLEM="xorg-x11"
49 dodir /usr/share/cursors/${X11_IMPLEM}/Industrial
50 mv "${D}"/usr/share/icons/Industrial/cursors "${D}"/usr/share/cursors/${X11_IMPLEM}/Industrial
51
52 # remove xmms skin if unneeded
53 rm -rf "${D}"/usr/share/xmms
54
55 # remove colliding files, see bug 150272
56 DUPES="/usr/share/icons/gnome/32x32/apps/file-manager.png
57 /usr/share/icons/gnome/32x32/apps/logviewer.png
58 /usr/share/icons/gnome/48x48/apps/administration.png
59 /usr/share/icons/gnome/48x48/apps/apacheconf.png
60 /usr/share/icons/gnome/48x48/apps/applets-screenshooter.png
61 /usr/share/icons/gnome/48x48/apps/gnome-networktool.png
62 /usr/share/icons/gnome/48x48/apps/network-config.png
63 /usr/share/icons/gnome/48x48/apps/postscript-viewer.png
64 /usr/share/icons/gnome/48x48/apps/serviceconf.png"
65 for i in $DUPES; do
66 rm -f "${D}/${i}"
67 done
68
69 cd "${S}"
70 dodoc ChangeLog
71 }

  ViewVC Help
Powered by ViewVC 1.1.20