diff options
author | Brandon Hale <tseng@gentoo.org> | 2004-04-09 20:24:04 +0000 |
---|---|---|
committer | Brandon Hale <tseng@gentoo.org> | 2004-04-09 20:24:04 +0000 |
commit | e075985c1aca96a13a4b8f17c61d3d8e2d41f6ca (patch) | |
tree | 1f7457b7b02abace3217cb0daf8a3accca6f3135 /x11-themes/ximian-artwork | |
parent | Added nptl since there aren't gcc-3.3.x working on ppc (diff) | |
download | gentoo-2-e075985c1aca96a13a4b8f17c61d3d8e2d41f6ca.tar.gz gentoo-2-e075985c1aca96a13a4b8f17c61d3d8e2d41f6ca.tar.bz2 gentoo-2-e075985c1aca96a13a4b8f17c61d3d8e2d41f6ca.zip |
Add bash magic from spyderous to detect desired X11 implementation
Diffstat (limited to 'x11-themes/ximian-artwork')
-rw-r--r-- | x11-themes/ximian-artwork/ChangeLog | 6 | ||||
-rw-r--r-- | x11-themes/ximian-artwork/ximian-artwork-0.2.29.0.6.3.ebuild | 12 |
2 files changed, 14 insertions, 4 deletions
diff --git a/x11-themes/ximian-artwork/ChangeLog b/x11-themes/ximian-artwork/ChangeLog index 82ec924fc920..68a962a949a7 100644 --- a/x11-themes/ximian-artwork/ChangeLog +++ b/x11-themes/ximian-artwork/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-themes/ximian-artwork # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/ximian-artwork/ChangeLog,v 1.11 2004/04/03 07:14:46 pylon Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-themes/ximian-artwork/ChangeLog,v 1.12 2004/04/09 20:24:04 tseng Exp $ + + 09 Apr 2004; Brandon Hale <tseng@gentoo.org> + ximian-artwork-0.2.29.0.6.3.ebuild: + Add bash magic from spyderous to detect desired X11 implementation 03 Apr 2004; Lars Weiler <pylon@gentoo.org> ximian-artwork-0.2.29.0.6.3.ebuild: 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 index cf8ed6e49df5..edc3ccf8cf2f 100644 --- 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 @@ -1,6 +1,6 @@ # 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.3 2004/04/03 07:14:46 pylon Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-themes/ximian-artwork/ximian-artwork-0.2.29.0.6.3.ebuild,v 1.4 2004/04/09 20:24:04 tseng Exp $ inherit rpm @@ -48,9 +48,15 @@ src_install () { rm -rf ${D}/usr/share/pixmaps/ximian rm -f ${D}/usr/share/pixmaps/ximian-desktop-stripe.png + # Set up X11 implementation + X11_IMPLEM_P="$(portageq best_version "${ROOT}" virtual/x11)" + X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" + X11_IMPLEM="${X11_IMPLEM##*\/}" + einfo "X11 implementation is ${X11_IMPLEM}." + # Moving cursors - dodir /usr/share/cursors/xfree/Industrial - mv ${D}/usr/share/icons/Industrial/cursors ${D}/usr/share/cursors/xfree/Industrial + dodir /usr/share/cursors/${X11_IMPLEM}/Industrial + mv ${D}/usr/share/icons/Industrial/cursors ${D}/usr/share/cursors/${X11_IMPLEM}/Industrial # remove xmms skin if unneeded [ -n "`use xmms`" ] || rm -rf ${D}/usr/share/xmms |