1 |
commit: 37f1631137091333134f92bb58f44ef6807987da |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 30 07:12:51 2017 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 30 07:27:03 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37f16311 |
7 |
|
8 |
x11-themes/chameleon-xcursors: EAPI bump, bug 605728 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
.../chameleon-xcursors-0.5-r1.ebuild | 56 ++++++++++++++++++++++ |
13 |
1 file changed, 56 insertions(+) |
14 |
|
15 |
diff --git a/x11-themes/chameleon-xcursors/chameleon-xcursors-0.5-r1.ebuild b/x11-themes/chameleon-xcursors/chameleon-xcursors-0.5-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..9c05a493d77 |
18 |
--- /dev/null |
19 |
+++ b/x11-themes/chameleon-xcursors/chameleon-xcursors-0.5-r1.ebuild |
20 |
@@ -0,0 +1,56 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+MY_PN="Chameleon" |
27 |
+ |
28 |
+DESCRIPTION="Style neutral scalable cursor theme" |
29 |
+HOMEPAGE="http://www.egregorion.net/2007/03/26/chameleon/" |
30 |
+ |
31 |
+COLOURS="Anthracite DarkSkyBlue SkyBlue Pearl White" |
32 |
+SRC_URI="" |
33 |
+for COLOUR in ${COLOURS} ; do |
34 |
+ SRC_URI="${SRC_URI} http://www.egregorion.net/works/${MY_PN}-${COLOUR}-${PV}.tar.bz2" |
35 |
+done |
36 |
+ |
37 |
+LICENSE="GPL-2" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~x86" |
40 |
+IUSE="" |
41 |
+ |
42 |
+S=${WORKDIR} |
43 |
+ |
44 |
+src_install() { |
45 |
+ dodir /usr/share/cursors/xorg-x11/ |
46 |
+ for COLOUR in ${COLOURS}; do |
47 |
+ for SIZE in Large Regular Small; do |
48 |
+ local name=${MY_PN}-${COLOUR}-${SIZE} |
49 |
+ cp -r "${WORKDIR}"/${name}-${PV} \ |
50 |
+ "${ED}"/usr/share/cursors/xorg-x11/${name} || die |
51 |
+ done |
52 |
+ done |
53 |
+} |
54 |
+ |
55 |
+pkg_postinst() { |
56 |
+ elog "To use one of these sets of cursors, edit or create the file ~/.Xdefaults" |
57 |
+ elog "and add the following line:" |
58 |
+ elog "Xcursor.theme: ${MY_PN}-Pearl-Regular" |
59 |
+ elog "(for example)" |
60 |
+ elog |
61 |
+ elog "You can change the size by adding a line like:" |
62 |
+ elog "Xcursor.size: 48" |
63 |
+ elog |
64 |
+ elog "Also, to globally use this set of mouse cursors edit the file:" |
65 |
+ elog " /usr/share/cursors/xorg-x11/default/index.theme" |
66 |
+ elog "and change the line:" |
67 |
+ elog " Inherits=[current setting]" |
68 |
+ elog "to" |
69 |
+ elog " Inherits=${MY_PN}-Pearl-Regular" |
70 |
+ elog |
71 |
+ elog "Note this will be overruled by a user's ~/.Xdefaults file." |
72 |
+ elog |
73 |
+ ewarn "If you experience flickering, try setting the following line in" |
74 |
+ ewarn "the Device section of your xorg.conf file:" |
75 |
+ ewarn " Option \"HWCursor\" \"false\"" |
76 |
+} |