commit:     0c6fbf73fa42f212e117121783a69b52cf15a06a
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  2 23:31:00 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Dec  2 23:31:11 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c6fbf73

x11-themes/golden-xcursors: Install README.gentoo by Francesco Turco (bug 
#639440).

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 x11-themes/golden-xcursors/Manifest                 |  2 +-
 x11-themes/golden-xcursors/files/README.gentoo      | 20 ++++++++++++++++++++
 .../golden-xcursors/golden-xcursors-0.8-r1.ebuild   | 21 +++++++++++++++++++++
 3 files changed, 42 insertions(+), 1 deletion(-)

diff --git a/x11-themes/golden-xcursors/Manifest 
b/x11-themes/golden-xcursors/Manifest
index a9a336f003d..4685477e087 100644
--- a/x11-themes/golden-xcursors/Manifest
+++ b/x11-themes/golden-xcursors/Manifest
@@ -1 +1 @@
-DIST 5507-Golden-XCursors-3D-0.8.tar.bz2 752331 SHA256 
312dca5a5d2ac5c8e4dbc01969266a625fcc0fbaf04c00dbb73a850f6c57d392 SHA512 
b0098742afae6c18f80150b3c82ea8be0da4d71eabaebc1eb51d52b2300faab683c794fccbe46162109b09a0a00f86e63228bfcd296f97c1c54dd5c113063049
 WHIRLPOOL 
ceffc43b1b8448f7738a55358fb8be09ebe5141c5b1f302059fd52a0a67d240becc3f74cd960dc231b24b115c9d0951e66f116e5d1cee4ed17171b36fef5860e
+DIST 5507-Golden-XCursors-3D-0.8.tar.bz2 752331 BLAKE2B 
70051f961a891902a125182f24c1d80a295842cb82160030d92c5b95276491bccd521c4d5cb1e3b34522dae4689b4d5d4cb95d2a6440223e6bf91550b3dac076
 SHA512 
b0098742afae6c18f80150b3c82ea8be0da4d71eabaebc1eb51d52b2300faab683c794fccbe46162109b09a0a00f86e63228bfcd296f97c1c54dd5c113063049

diff --git a/x11-themes/golden-xcursors/files/README.gentoo 
b/x11-themes/golden-xcursors/files/README.gentoo
new file mode 100644
index 00000000000..fa65ab4d2f8
--- /dev/null
+++ b/x11-themes/golden-xcursors/files/README.gentoo
@@ -0,0 +1,20 @@
+To use this set of cursors, edit or create the file ~/.Xdefaults
+and add the following line:
+Xcursor.theme: Gold
+
+You can change the size by adding a line like:
+Xcursor.size: 48
+
+Also, to globally use this set of mouse cursors edit the file:
+   /usr/share/cursors/xorg-x11/default/index.theme
+and change the line:
+       Inherits=[current setting]
+to
+       Inherits=Gold
+
+Note this will be overruled by a user's ~/.Xdefaults file.
+
+If you experience flickering, try setting the following line in
+
+the Device section of your xorg.conf file:
+       Option  \"HWCursor\"  \"false\"

diff --git a/x11-themes/golden-xcursors/golden-xcursors-0.8-r1.ebuild 
b/x11-themes/golden-xcursors/golden-xcursors-0.8-r1.ebuild
new file mode 100644
index 00000000000..57d8b9750d5
--- /dev/null
+++ b/x11-themes/golden-xcursors/golden-xcursors-0.8-r1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_P="5507-Golden-XCursors-3D-${PV}"
+DESCRIPTION="A high quality set of Xfree 4.3.0 animated mouse cursors"
+HOMEPAGE="http://www.kde-look.org/content/show.php?content=5507";
+SRC_URI="http://www.kde-look.org/content/files/$MY_P.tar.bz2";
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+
+S=${WORKDIR}/${MY_P:5}
+
+src_install() {
+       dodir /usr/share/cursors/xorg-x11/Gold/cursors/
+       cp -R Gold/cursors "${D}"/usr/share/cursors/xorg-x11/Gold/ || die
+       dodoc README "${FILESDIR}"/README.gentoo
+}

Reply via email to