Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/gentoo-xcursors/
Date: Mon, 26 Apr 2021 20:33:49
Message-Id: 1619469214.189142a2df1581dceeed3077214909814cbc51fb.conikost@gentoo
1 commit: 189142a2df1581dceeed3077214909814cbc51fb
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 26 19:49:37 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 26 20:33:34 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=189142a2
7
8 x11-themes/gentoo-xcursors: add missing dep
9
10 Bug: https://bugs.gentoo.org/758236
11 Package-Manager: Portage-3.0.18, Repoman-3.0.3
12 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
13
14 .../gentoo-xcursors-0.3.2-r1.ebuild | 45 ++++++++++++++++++++++
15 x11-themes/gentoo-xcursors/metadata.xml | 1 +
16 2 files changed, 46 insertions(+)
17
18 diff --git a/x11-themes/gentoo-xcursors/gentoo-xcursors-0.3.2-r1.ebuild b/x11-themes/gentoo-xcursors/gentoo-xcursors-0.3.2-r1.ebuild
19 new file mode 100644
20 index 00000000000..f13b85327b3
21 --- /dev/null
22 +++ b/x11-themes/gentoo-xcursors/gentoo-xcursors-0.3.2-r1.ebuild
23 @@ -0,0 +1,45 @@
24 +# Copyright 1999-2021 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=7
28 +
29 +DESCRIPTION="A high quality set of animated mouse cursors"
30 +HOMEPAGE="https://schlomp.space/tastytea/gentoo-xcursors"
31 +SRC_URI="https://schlomp.space/tastytea/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
32 +S="${WORKDIR}/${PN}"
33 +
34 +LICENSE="MIT"
35 +SLOT="0"
36 +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
37 +
38 +RDEPEND="x11-libs/libXcursor"
39 +
40 +src_install() {
41 + insinto /usr/share/cursors/xorg-x11
42 + doins -r cursors/*
43 +}
44 +
45 +pkg_postinst() {
46 + einfo "To use this set of cursors, edit or create the file ~/.Xdefaults"
47 + einfo "and add the following line (for example):"
48 + einfo "Xcursor.theme: gentoo"
49 + einfo ""
50 + einfo "You can change the size by adding a line like:"
51 + einfo "Xcursor.size: 48"
52 + einfo ""
53 + einfo "Also, to globally use this set of mouse cursors edit the file:"
54 + einfo " /usr/local/share/cursors/xorg-x11/default/index.theme"
55 + einfo "and change the line:"
56 + einfo " Inherits=[current setting]"
57 + einfo "to (for example)"
58 + einfo " Inherits=gentoo"
59 + einfo ""
60 + einfo "Note this will be overruled by a user's ~/.Xdefaults file."
61 + einfo ""
62 + ewarn "If you experience flickering, try setting the following line in"
63 + ewarn ""
64 + ewarn "the Device section of your xorg.conf file:"
65 + ewarn " Option \"HWCursor\" \"false\""
66 + einfo ""
67 + einfo "The three sets installed are gentoo, gentoo-silver and gentoo-blue."
68 +}
69
70 diff --git a/x11-themes/gentoo-xcursors/metadata.xml b/x11-themes/gentoo-xcursors/metadata.xml
71 index 5337cea475c..10f42e36d15 100644
72 --- a/x11-themes/gentoo-xcursors/metadata.xml
73 +++ b/x11-themes/gentoo-xcursors/metadata.xml
74 @@ -13,6 +13,7 @@
75 <email>x11@g.o</email>
76 <name>X11</name>
77 </maintainer>
78 + <stabilize-allarches/>
79 <upstream>
80 <bugs-to>https://schlomp.space/tastytea/gentoo-xcursors/issues</bugs-to>
81 </upstream>