Add x11-themes/chameleon-xcursors-0.5
authorMaxim Koltsov <maksbotan@gentoo.org>
Sat, 20 Aug 2011 11:02:28 +0000 (11:02 +0000)
committerMaxim Koltsov <maksbotan@gentoo.org>
Sat, 20 Aug 2011 11:02:28 +0000 (11:02 +0000)
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64

x11-themes/chameleon-xcursors/ChangeLog [new file with mode: 0644]
x11-themes/chameleon-xcursors/Manifest [new file with mode: 0644]
x11-themes/chameleon-xcursors/chameleon-xcursors-0.5.ebuild [new file with mode: 0644]
x11-themes/chameleon-xcursors/metadata.xml [new file with mode: 0644]

diff --git a/x11-themes/chameleon-xcursors/ChangeLog b/x11-themes/chameleon-xcursors/ChangeLog
new file mode 100644 (file)
index 0000000..7890dca
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for x11-themes/chameleon-xcursors
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/chameleon-xcursors/ChangeLog,v 1.1 2011/08/20 11:02:28 maksbotan Exp $
+
+*chameleon-xcursors-0.5 (20 Aug 2011)
+
+  20 Aug 2011; <maks@gentoo.org> +chameleon-xcursors-0.5.ebuild, +metadata.xml:
+  Copy x11-themes/chameleon-cursors-0.5, thanks to Nickolaj Sjujskij
+  <sterkrig@myopera.com>
+
diff --git a/x11-themes/chameleon-xcursors/Manifest b/x11-themes/chameleon-xcursors/Manifest
new file mode 100644 (file)
index 0000000..27e2559
--- /dev/null
@@ -0,0 +1,8 @@
+DIST Chameleon-Anthracite-0.5.tar.bz2 1836588 RMD160 e6fdc28ba49d5e397b7326dd10b35f149afaaf14 SHA1 261cee17728d343c762b2d779376a49263ad0b8a SHA256 8c26a9eea82a6491e66618a143ea0fa5996ce3d964172427e592772ca1edccbd
+DIST Chameleon-DarkSkyBlue-0.5.tar.bz2 1965717 RMD160 0dfc5c5a532d54f755bff1f20f8a005a1c53b91d SHA1 ee1a59f7c98b30ae762b99601b8ebc81957d8f22 SHA256 697464c343b3517d595119227ed38630e2dc46250db527f37d2c20fac902b0ac
+DIST Chameleon-Pearl-0.5.tar.bz2 1875789 RMD160 0c0a22f45cd3d9fc6fe1f493600cc24fd29ca2df SHA1 4cc8e34a37755c5d583273d3620cf99ecd81ee97 SHA256 5735770e813dd9a5716696923f558eba7ffa7885435fec4882db8daf56c7dda5
+DIST Chameleon-SkyBlue-0.5.tar.bz2 1959985 RMD160 87b5f0cfb1f6bdb96857907af6ba4fce46e4ba85 SHA1 35805e50b16cf72a2f39f515edba7b4c5e1d7e15 SHA256 4a844bbca4bbec4b55104e36c316101a847c0297169e7c27f367e9a1ddbf28dd
+DIST Chameleon-White-0.5.tar.bz2 1690839 RMD160 b3f9064027a7ab93d491195013149e860c0c0f48 SHA1 07f4d4a655cfeae692bc6e5804b0b11ea69275bc SHA256 9024e5b21a8639a986876a141e137840eff5b5f8724a0539624bbe330cf4e316
+EBUILD chameleon-xcursors-0.5.ebuild 1690 RMD160 e5afc4e76f0f145824dde060a0e6f5077ea7dd29 SHA1 cc18882f23b440db740c4ed90f2cda165d8d466b SHA256 22c0d266e9dc75c7f0de58a4fa119bf1704da282508d54ec76be7ebf8bd29e1f
+MISC ChangeLog 448 RMD160 553151ffeed5a12ee34b54a2be48116a0ac6ae9c SHA1 134372d46f64685c89848ca49a812fb8666ff180 SHA256 59f3b9068fe0225941b1c3bfe2d0aeb9eab2fc726ff4138e8f6a1642270b25c3
+MISC metadata.xml 276 RMD160 26ec61367ef49cdc7782fd670c7eddd6c08f1b1c SHA1 92034babd08d5a65d5ae2bdd2a745aa98274dad4 SHA256 f46882a4f8cbd0d32ac9363f098eab6a3b4383c305972871a1c02482c8f54437
diff --git a/x11-themes/chameleon-xcursors/chameleon-xcursors-0.5.ebuild b/x11-themes/chameleon-xcursors/chameleon-xcursors-0.5.ebuild
new file mode 100644 (file)
index 0000000..c2ce573
--- /dev/null
@@ -0,0 +1,55 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/chameleon-xcursors/chameleon-xcursors-0.5.ebuild,v 1.1 2011/08/20 11:02:28 maksbotan Exp $
+
+EAPI="3"
+
+MY_PN="Chameleon"
+
+DESCRIPTION="Style neutral scalable cursor theme"
+HOMEPAGE="http://www.egregorion.net/2007/03/26/chameleon/"
+
+COLOURS="Anthracite DarkSkyBlue SkyBlue Pearl White"
+SRC_URI=""
+for COLOUR in ${COLOURS} ; do
+       SRC_URI="${SRC_URI} http://www.egregorion.net/works/${MY_PN}-${COLOUR}-${PV}.tar.bz2"
+done
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_install() {
+       dodir /usr/share/cursors/xorg-x11/
+       for COLOUR in ${COLOURS}; do
+               for SIZE in Large Regular Small; do
+                       local name=${MY_PN}-${COLOUR}-${SIZE}
+                       cp -r "${WORKDIR}"/${name}-${PV} \
+                               "${ED}"/usr/share/cursors/xorg-x11/${name}
+               done
+       done
+}
+
+pkg_postinst() {
+       elog "To use one of these sets of cursors, edit or create the file ~/.Xdefaults"
+       elog "and add the following line:"
+       elog "Xcursor.theme: ${MY_PN}-Pearl-Regular"
+       elog "(for example)"
+       elog
+       elog "You can change the size by adding a line like:"
+       elog "Xcursor.size: 48"
+       elog
+       elog "Also, to globally use this set of mouse cursors edit the file:"
+       elog "    /usr/share/cursors/xorg-x11/default/index.theme"
+       elog "and change the line:"
+       elog "    Inherits=[current setting]"
+       elog "to"
+       elog "    Inherits=${MY_PN}-Pearl-Regular"
+       elog
+       elog "Note this will be overruled by a user's ~/.Xdefaults file."
+       elog
+       ewarn "If you experience flickering, try setting the following line in"
+       ewarn "the Device section of your xorg.conf file:"
+       ewarn "    Option  \"HWCursor\"  \"false\""
+}
diff --git a/x11-themes/chameleon-xcursors/metadata.xml b/x11-themes/chameleon-xcursors/metadata.xml
new file mode 100644 (file)
index 0000000..8397010
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+       <email>sterkrig@myopera.com</email>
+       <name>Nikolaj Sjujskij</name>
+</maintainer>
+<maintainer>
+       <email>maksbotan@gentoo.org</email>
+       <name>Maxim Koltsov</name>
+</maintainer>
+</pkgmetadata>