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: 1619472034.ad6580276e6b5ebd99e447eed982c669c45a1149.conikost@gentoo
1 commit: ad6580276e6b5ebd99e447eed982c669c45a1149
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 26 21:20:18 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 26 21:20:34 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad658027
7
8 x11-themes/neutral-xcursors: drop old version
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 .../neutral-xcursors-20150106.ebuild | 99 ----------------------
14 1 file changed, 99 deletions(-)
15
16 diff --git a/x11-themes/neutral-xcursors/neutral-xcursors-20150106.ebuild b/x11-themes/neutral-xcursors/neutral-xcursors-20150106.ebuild
17 deleted file mode 100644
18 index d60e6d4a9bb..00000000000
19 --- a/x11-themes/neutral-xcursors/neutral-xcursors-20150106.ebuild
20 +++ /dev/null
21 @@ -1,99 +0,0 @@
22 -# Copyright 1999-2019 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -
27 -NEUTRAL_PN="Neutral"
28 -NEUTRAL_PV="1.13a" # 2006-03-06
29 -NEUTRAL_P="${NEUTRAL_PN}-${NEUTRAL_PV}"
30 -
31 -PLUS_PN="Neutral_Plus"
32 -PLUS_PV="1.2" # 2007-06-23
33 -PLUS_P="${PLUS_PN}-${PLUS_PV}"
34 -
35 -PLUSPLUS_PN="Neutral++"
36 -PLUSPLUS_PV="1.0.3" # 2015-01-06
37 -PLUSPLUS_P="${PLUSPLUS_PN}-${PLUSPLUS_PV}"
38 -
39 -WHITE_PN="Neutral++_White"
40 -WHITE_PV="1.1.1" # 2015-01-06
41 -WHITE_P="${WHITE_PN}-${WHITE_PV}"
42 -
43 -inherit gnome2-utils vcs-snapshot
44 -
45 -DESCRIPTION="A family of smoothed and shadowed cursors that resemble the standard X ones"
46 -HOMEPAGE="
47 - https://opendesktop.org/content/show.php/Neutral?content=28310
48 - https://opendesktop.org/content/show.php/Neutral+Plus?content=48837
49 - https://opendesktop.org/content/show.php/Neutral%2B%2B?content=108142
50 - https://opendesktop.org/content/show.php/Neutral%2B%2B+White?content=108143
51 -"
52 -# Neutral++{,_White} URIs return tar.xz archives that are actually tar.bz2.
53 -SRC_URI="
54 - https://opendesktop.org/CONTENT/content-files/28310-neutral-${NEUTRAL_PV}.tar.gz -> ${NEUTRAL_P}.tar.gz
55 - https://opendesktop.org/CONTENT/content-files/48837-Neutral_Plus_${PLUS_PV}.tar.bz2 -> ${PLUS_P}.tar.bz2
56 - https://opendesktop.org/CONTENT/content-files/108142-Neutral++-${PLUSPLUS_PV}.tar.xz -> ${PLUSPLUS_P}.tar.bz2
57 - https://opendesktop.org/CONTENT/content-files/108143-Neutral++_White-${WHITE_PV}.tar.xz -> ${WHITE_P}.tar.bz2
58 -"
59 -
60 -LICENSE="Artistic-2"
61 -SLOT="0"
62 -KEYWORDS="amd64 arm ~arm64 sparc x86"
63 -IUSE=""
64 -
65 -DEPEND="x11-apps/xcursorgen"
66 -
67 -RESTRICT="binchecks strip"
68 -
69 -S="${WORKDIR}"
70 -
71 -src_prepare() {
72 - default_src_prepare
73 - sed -i -e 's|neutral|Neutral|g' ${NEUTRAL_P}/index.theme || die
74 - mkdir -p ${PLUS_P}/source/cursors || die
75 -}
76 -
77 -src_compile() {
78 - local cursor_dir
79 - for cursor_dir in ${NEUTRAL_P} ${PLUS_P} ${PLUSPLUS_P} ${WHITE_P}; do
80 - pushd ${cursor_dir}/source > /dev/null || die
81 - sh make.sh || die
82 - popd > /dev/null || die
83 - done
84 -}
85 -
86 -src_install() {
87 - pushd ${NEUTRAL_P} > /dev/null || die
88 - insinto /usr/share/icons/${NEUTRAL_PN}
89 - doins -r index.theme source/cursors/
90 - popd > /dev/null || die
91 -
92 - pushd ${PLUS_P} > /dev/null || die
93 - insinto /usr/share/icons/${PLUS_PN}
94 - # Upstream ships an invalid (as per freedesktop.org) index.theme.
95 - # See https://www.freedesktop.org/wiki/Specifications/icon-theme-spec/
96 - doins -r "${FILESDIR}/index.theme" source/cursors/
97 - popd > /dev/null || die
98 -
99 - pushd ${PLUSPLUS_P} > /dev/null || die
100 - insinto /usr/share/icons/${PLUSPLUS_PN}
101 - doins -r index.theme cursors/
102 - popd > /dev/null || die
103 -
104 - pushd ${WHITE_P} > /dev/null || die
105 - insinto /usr/share/icons/${WHITE_PN}
106 - doins -r index.theme cursors/
107 - popd > /dev/null || die
108 -}
109 -
110 -pkg_preinst() {
111 - gnome2_icon_savelist
112 -}
113 -
114 -pkg_postinst() {
115 - gnome2_icon_cache_update
116 -}
117 -
118 -pkg_postrm() {
119 - gnome2_icon_cache_update
120 -}