summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes/ximian-artwork/ximian-artwork-0.2.29.0.6.3.ebuild')
-rw-r--r--x11-themes/ximian-artwork/ximian-artwork-0.2.29.0.6.3.ebuild61
1 files changed, 61 insertions, 0 deletions
diff --git a/x11-themes/ximian-artwork/ximian-artwork-0.2.29.0.6.3.ebuild b/x11-themes/ximian-artwork/ximian-artwork-0.2.29.0.6.3.ebuild
new file mode 100644
index 000000000000..683a5b63b36e
--- /dev/null
+++ b/x11-themes/ximian-artwork/ximian-artwork-0.2.29.0.6.3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/ximian-artwork/ximian-artwork-0.2.29.0.6.3.ebuild,v 1.1 2004/03/29 15:07:23 liquidx Exp $
+
+inherit rpm
+
+# bash magic to extract last 2 versions as XIMIAN_V,
+# third last version as RPM_V and the rest as MY_PV
+MY_PV=${PV%.[0-9]*.[0-9]*.[0-9]*}
+END_V=${PV/${MY_PV}./}
+RPM_V=${END_V%.[0-9]*.[0-9]*}
+XIMIAN_V=${END_V#[0-9]*.}
+
+DESCRIPTION="Ximian Desktop's GTK, Galeon, GDM, Metacity, Nautilus, XMMS themes, icons and cursors."
+HOMEPAGE="http://www.ximian.com/xd2/"
+SRC_URI="ftp://ftp.ximian.com/pub/xd2/redhat-9-i386/source/${PN}-${MY_PV}-${RPM_V}.ximian.${XIMIAN_V}.src.rpm"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~amd64 ~ppc"
+IUSE="xmms"
+
+DEPEND="sys-devel/autoconf
+ sys-devel/automake
+ app-arch/rpm2targz"
+
+
+RDEPEND=">=x11-themes/gnome-themes-extras-0.5"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_unpack() {
+ rpm_src_unpack
+ epatch ${FILESDIR}/${PN}-${MY_PV}-disable_industrial.patch
+}
+
+src_compile() {
+ aclocal && autoconf && automake || die
+ econf || die
+ emake || die
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+
+ # Removing trademarks
+ patch ${D}/usr/share/gdm/themes/industrial/industrial.xml < ${FILESDIR}/${PN}-0.2.26-gdm.patch || die "patch failed"
+ rm -f ${D}/usr/share/gdm/themes/industrial/xd2logo.png
+ rm -rf ${D}/usr/share/pixmaps/ximian
+ rm -f ${D}/usr/share/pixmaps/ximian-desktop-stripe.png
+
+ # Moving cursors
+ dodir /usr/share/cursors/xfree/Industrial
+ mv ${D}/usr/share/icons/Industrial/cursors ${D}/usr/share/cursors/xfree/Industrial
+
+ # remove xmms skin if unneeded
+ [ -n "`use xmms`" ] || rm -rf ${D}/usr/share/xmms
+
+ cd ${S}
+ dodoc COPYING ChangeLog
+}
+