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/golden-xcursors/golden-xcursors-0.8.ebuild | |
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/golden-xcursors/golden-xcursors-0.8.ebuild')
-rw-r--r-- | x11-themes/golden-xcursors/golden-xcursors-0.8.ebuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/x11-themes/golden-xcursors/golden-xcursors-0.8.ebuild b/x11-themes/golden-xcursors/golden-xcursors-0.8.ebuild index 26c7b9e854a5..27485c4bd1c5 100644 --- a/x11-themes/golden-xcursors/golden-xcursors-0.8.ebuild +++ b/x11-themes/golden-xcursors/golden-xcursors-0.8.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/golden-xcursors/golden-xcursors-0.8.ebuild,v 1.7 2004/04/27 20:13:55 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-themes/golden-xcursors/golden-xcursors-0.8.ebuild,v 1.8 2004/06/09 01:48:58 swtaylor Exp $ MY_P="5507-Golden-XCursors-3D-${PV}" DESCRIPTION="A high quality set of Xfree 4.3.0 animated mouse cursors" @@ -11,11 +11,17 @@ SLOT="0" KEYWORDS="x86 sparc amd64 ~alpha ppc" IUSE="" DEPEND="" -RDEPEND=">=x11-base/xfree-4.3.0-r2" +RDEPEND="virtual/x11" src_install() { - mkdir -p ${D}/usr/share/cursors/xfree/Gold/cursors/ - cp -d ${WORKDIR}/${MY_P:5}/Gold/cursors/* ${D}/usr/share/cursors/xfree/Gold/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}/Gold/cursors/ + cp -d ${WORKDIR}/${MY_P:5}/Gold/cursors/* ${D}/usr/share/cursors/${X11_IMPLEM}/Gold/cursors/ || die dodoc ${WORKDIR}/${MY_P:5}/{COPYING,README} } @@ -29,7 +35,7 @@ pkg_postinst() { einfo "" 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" |