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/neutral-xcursors/
Date: Mon, 26 Apr 2021 21:20:50
Message-Id: 1619472033.78217f97b03d68338e52b848abaf82c8ebad77cc.conikost@gentoo
1 commit: 78217f97b03d68338e52b848abaf82c8ebad77cc
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 26 21:18:54 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 26 21:20:33 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78217f97
7
8 x11-themes/neutral-xcursors: bump to EAPI=7
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 x11-themes/neutral-xcursors/metadata.xml | 3 +-
14 .../neutral-xcursors-20150106-r1.ebuild | 81 ++++++++++++++++++++++
15 2 files changed, 83 insertions(+), 1 deletion(-)
16
17 diff --git a/x11-themes/neutral-xcursors/metadata.xml b/x11-themes/neutral-xcursors/metadata.xml
18 index 585b0dc75dd..3c58a0219fb 100644
19 --- a/x11-themes/neutral-xcursors/metadata.xml
20 +++ b/x11-themes/neutral-xcursors/metadata.xml
21 @@ -2,4 +2,5 @@
22 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
23 <pkgmetadata>
24 <!-- maintainer-needed -->
25 - </pkgmetadata>
26 + <stabilize-allarches/>
27 +</pkgmetadata>
28
29 diff --git a/x11-themes/neutral-xcursors/neutral-xcursors-20150106-r1.ebuild b/x11-themes/neutral-xcursors/neutral-xcursors-20150106-r1.ebuild
30 new file mode 100644
31 index 00000000000..28dbb5e6b7d
32 --- /dev/null
33 +++ b/x11-themes/neutral-xcursors/neutral-xcursors-20150106-r1.ebuild
34 @@ -0,0 +1,81 @@
35 +# Copyright 1999-2021 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +
40 +NEUTRAL_PN="Neutral"
41 +NEUTRAL_PV="1.13a"
42 +NEUTRAL_P="${NEUTRAL_PN}-${NEUTRAL_PV}"
43 +
44 +PLUS_PN="Neutral_Plus"
45 +PLUS_PV="1.2"
46 +PLUS_P="${PLUS_PN}-${PLUS_PV}"
47 +
48 +PLUSPLUS_PN="Neutral++"
49 +PLUSPLUS_PV="1.0.3"
50 +PLUSPLUS_P="${PLUSPLUS_PN}-${PLUSPLUS_PV}"
51 +
52 +WHITE_PN="Neutral++_White"
53 +WHITE_PV="1.1.1"
54 +WHITE_P="${WHITE_PN}-${WHITE_PV}"
55 +
56 +DESCRIPTION="A family of smoothed and shadowed cursors that resemble the standard X ones"
57 +HOMEPAGE="
58 + https://store.kde.org/p/999947/
59 + https://store.kde.org/p/999928/
60 + https://store.kde.org/p/999941/
61 + https://store.kde.org/p/999806/
62 +"
63 +
64 +SRC_URI="
65 + mirror://gentoo/${NEUTRAL_P}.tar.gz
66 + mirror://gentoo/${PLUS_P}.tar.bz2
67 + mirror://gentoo/${PLUSPLUS_P}.tar.bz2
68 + mirror://gentoo/${WHITE_P}.tar.bz2
69 +"
70 +S="${WORKDIR}"
71 +
72 +LICENSE="Artistic-2"
73 +SLOT="0"
74 +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc x86"
75 +
76 +DEPEND="x11-apps/xcursorgen"
77 +RDEPEND="x11-libs/libXcursor"
78 +
79 +src_prepare() {
80 + default
81 +
82 + mv neutral Neutral || die
83 + mkdir -p "${PLUS_PN}"/source/cursors || die
84 +}
85 +
86 +src_compile() {
87 + local cursor_dirs=( "${NEUTRAL_PN}" "${PLUS_PN}" "${PLUSPLUS_PN}" "${WHITE_PN}" )
88 + for cursor_dir in "${cursor_dirs[@]}"; do
89 + pushd "${cursor_dir}"/source
90 + ./make.sh || die
91 + popd
92 + done
93 +}
94 +
95 +src_install() {
96 + pushd "${NEUTRAL_PN}"
97 + insinto /usr/share/cursors/xorg-x11/"${NEUTRAL_PN}"
98 + doins -r index.theme source/cursors/
99 + popd
100 +
101 + pushd "${PLUS_PN}"
102 + insinto /usr/share/cursors/xorg-x11/"${PLUS_PN}"
103 + doins -r "${FILESDIR}/index.theme" source/cursors/
104 + popd
105 +
106 + pushd "${PLUSPLUS_PN}"
107 + insinto /usr/share/cursors/xorg-x11/"${PLUSPLUS_PN}"
108 + doins -r index.theme cursors/
109 + popd
110 +
111 + pushd "${WHITE_PN}"
112 + insinto /usr/share/cursors/xorg-x11/"${WHITE_PN}"
113 + doins -r index.theme cursors/
114 + popd
115 +}