diff options
author | Scott W Taylor <swtaylor@gentoo.org> | 2004-06-09 01:49:35 +0000 |
---|---|---|
committer | Scott W Taylor <swtaylor@gentoo.org> | 2004-06-09 01:49:35 +0000 |
commit | 5a422dd521f5e785f6936d2ddd241ce009c8d8db (patch) | |
tree | b5688fc737bf88a30a61e59e4ea7af77c1368d13 /x11-themes/blueglass-xcursors | |
parent | added libcroco dependency (Manifest recommit) (diff) | |
download | gentoo-2-5a422dd521f5e785f6936d2ddd241ce009c8d8db.tar.gz gentoo-2-5a422dd521f5e785f6936d2ddd241ce009c8d8db.tar.bz2 gentoo-2-5a422dd521f5e785f6936d2ddd241ce009c8d8db.zip |
works with xorg
Diffstat (limited to 'x11-themes/blueglass-xcursors')
-rw-r--r-- | x11-themes/blueglass-xcursors/ChangeLog | 6 | ||||
-rw-r--r-- | x11-themes/blueglass-xcursors/blueglass-xcursors-0.4.ebuild | 16 |
2 files changed, 16 insertions, 6 deletions
diff --git a/x11-themes/blueglass-xcursors/ChangeLog b/x11-themes/blueglass-xcursors/ChangeLog index ca07493c6a4b..551b05fafaa1 100644 --- a/x11-themes/blueglass-xcursors/ChangeLog +++ b/x11-themes/blueglass-xcursors/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-themes/blueglass-xcursors # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/blueglass-xcursors/ChangeLog,v 1.8 2004/03/24 22:26:21 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-themes/blueglass-xcursors/ChangeLog,v 1.9 2004/06/09 01:49:35 swtaylor Exp $ + + 08 Jun 2004; Scott W Taylor <swtaylor@gentoo.org> + blueglass-xcursors-0.4.ebuild: + play nicely with xorg 24 Mar 2004; David Holm <dholm@gentoo.org> blueglass-xcursors-0.4.ebuild: Added to ~ppc. diff --git a/x11-themes/blueglass-xcursors/blueglass-xcursors-0.4.ebuild b/x11-themes/blueglass-xcursors/blueglass-xcursors-0.4.ebuild index 88bcc5f0266a..7fbc92b9fcfd 100644 --- a/x11-themes/blueglass-xcursors/blueglass-xcursors-0.4.ebuild +++ b/x11-themes/blueglass-xcursors/blueglass-xcursors-0.4.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/blueglass-xcursors/blueglass-xcursors-0.4.ebuild,v 1.7 2004/04/27 19:52:28 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-themes/blueglass-xcursors/blueglass-xcursors-0.4.ebuild,v 1.8 2004/06/09 01:49:35 swtaylor Exp $ MY_P="5532-BlueGlass-XCursors-3D-${PV}" DESCRIPTION="A high quality set of Xfree 4.3.0 animated mouse cursors" @@ -11,13 +11,19 @@ SLOT="0" KEYWORDS="x86 sparc amd64 ~alpha ppc" IUSE="" DEPEND="" -RDEPEND=">=x11-base/xfree-4.3.0-r2" +RDEPEND="virtual/x11" # Note: although the package name is BlueGlass, the tarball & authors directions # use the directory 'Blue'. src_install() { - mkdir -p ${D}/usr/share/cursors/xfree/Blue/cursors/ - cp -d ${WORKDIR}/${MY_P:5}/Blue/cursors/* ${D}/usr/share/cursors/xfree/Blue/cursors/ || die + # 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}." + + mkdir -p ${D}/usr/share/cursors/${X11_IMPLEM}/Blue/cursors/ + cp -d ${WORKDIR}/${MY_P:5}/Blue/cursors/* ${D}/usr/share/cursors/${X11_IMPLEM}/Blue/cursors/ || die dodoc ${WORKDIR}/${MY_P:5}/{COPYING,README} } @@ -30,7 +36,7 @@ pkg_postinst() { einfo "Xcursor.size: 48" einfo "" einfo "To globally use this set of mouse cursors edit the file:" - einfo " /usr/share/cursors/xfree/default/index.theme" + einfo " /usr/share/cursors/${X11_IMPLEM}/default/index.theme" einfo "and change the line:" einfo " Inherits=[current setting]" einfo "to" |