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

Contents of /x11-themes/ximian-artwork/ximian-artwork-0.2.26.0.6.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Sat Jun 25 14:01:08 2005 UTC (13 years, 1 month ago) by liquidx
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
version bump to use DAG src rpms since ximian's own source rpms are hidden and i don't want to use their binary rpms. fix homepage and cleanup (#94198)
(Portage version: 2.0.51.22-r1)

1 # Copyright 1999-2005 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.26.0.6.1-r1.ebuild,v 1.10 2005/01/09 19:28:33 joem Exp $
4
5 inherit eutils rpm
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, XMMS themes, icons and cursors."
15 HOMEPAGE="http://www.ximian.com/xd2/"
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 ppc"
20 IUSE="xmms"
21
22 # until we can do mutliple dep on one package, it'll be >=x11-libs/gtk+-1.2
23 # even though we want =x11-libs/gtk+-1.2 and >=x11-libs/gtk+-2
24 DEPEND="sys-devel/autoconf
25 sys-devel/automake
26 app-arch/rpm2targz
27 >=media-libs/gdk-pixbuf-0.2.5
28 >=x11-libs/gtk+-1.2"
29
30 # Because one may only want to use the theme with kde OR gtk OR Metacity
31 # OR gdm, we don't want any run-time dependencies...
32 RDEPEND=""
33
34 S="${WORKDIR}/${PN}-${MY_PV}"
35
36 #src_unpack() {
37 # cd ${WORKDIR}
38 # rpm2targz ${DISTDIR}/${A}
39 # tar xzf ${PN}-${MY_PV}-${RPM_V}.ximian.${XIMIAN_V}.src.tar.gz
40 # tar xzf ${PN}-${MY_PV}.tar.gz
41 #}
42
43 src_unpack() {
44 rpm_src_unpack
45
46 epatch ${FILESDIR}/${PN}-0.2.26-corruption_fix.patch
47 }
48
49 src_compile() {
50 econf || die
51 emake || die
52 }
53
54 src_install () {
55 make DESTDIR=${D} install || die
56
57 # Removing trademarks
58 patch ${D}/usr/share/gdm/themes/industrial/industrial.xml < ${FILESDIR}/${PN}-${MY_PV}-gdm.patch || die "patch failed"
59 rm -f ${D}/usr/share/gdm/themes/industrial/xd2logo.png
60 rm -rf ${D}/usr/share/pixmaps/ximian
61 rm -f ${D}/usr/share/pixmaps/ximian-desktop-stripe.png
62
63 # Set up X11 implementation
64 X11_IMPLEM_P="$(best_version virtual/x11)"
65 X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}"
66 X11_IMPLEM="${X11_IMPLEM##*\/}"
67 einfo "X11 implementation is ${X11_IMPLEM}."
68
69 # Moving cursors
70 dodir /usr/share/cursors/${X11_IMPLEM}/Industrial
71 mv ${D}/usr/share/icons/Industrial/cursors ${D}/usr/share/cursors/${X11_IMPLEM}/Industrial
72
73 # remove xmms skin if unneeded
74 use xmms || rm -rf ${D}/usr/share/xmms
75
76 cd ${S}
77 dodoc COPYING ChangeLog
78 }
79

  ViewVC Help
Powered by ViewVC 1.1.20