Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libspnav/
Date: Mon, 28 Nov 2022 22:41:47
Message-Id: 1669675258.06dae82fdb9e2307b50c2f2cc3636e68a7ce9aad.sping@gentoo
1 commit: 06dae82fdb9e2307b50c2f2cc3636e68a7ce9aad
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 28 21:59:01 2022 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 28 22:40:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06dae82f
7
8 dev-libs/libspnav: Drop old + MissingRemoteId
9
10 Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
11
12 dev-libs/libspnav/Manifest | 1 -
13 dev-libs/libspnav/libspnav-0.2.3.ebuild | 46 --------------------------
14 dev-libs/libspnav/libspnav-0.3.ebuild | 53 ------------------------------
15 dev-libs/libspnav/libspnav-1.0.ebuild | 57 ---------------------------------
16 dev-libs/libspnav/metadata.xml | 1 +
17 5 files changed, 1 insertion(+), 157 deletions(-)
18
19 diff --git a/dev-libs/libspnav/Manifest b/dev-libs/libspnav/Manifest
20 index 9a841a93504b..a3845adba141 100644
21 --- a/dev-libs/libspnav/Manifest
22 +++ b/dev-libs/libspnav/Manifest
23 @@ -1,3 +1,2 @@
24 DIST libspnav-0.2.3.tar.gz 11985 BLAKE2B 134a0c3f7c9a7ef7c4f68910e0266880958e2b74e253b75237b0fa8d3e482bcd1f42e715b85f0ffca3a62103530e854090818564d9c241bfc55de039cc4883ee SHA512 b2c452d979d455fc99bfdc172c8a2408a6e8dc40acc52964fa64f4d75a8ee77dda12e5e212c0c4e07a0a24d055f16f85bb6ce6287e24e6bd0665de457e37e6a7
25 -DIST libspnav-0.3.tar.gz 12386 BLAKE2B 6598e0eb3cb41c9e13f0cb62715cd199d2fff0903d8f62726fa82227f2aa49f4dc41083929cbdde18974dfb08c23947158b465bb552c12ea8c9f9fd754962c2b SHA512 1bd61c1ccda37af9b3eaeda6d8f269777f7d13b1c3d3ed4d194b917199bd232d79c9513bcdae6fce6c298ad8460c095a98e3cfd98ee76e1852fc0e93e478c252
26 DIST libspnav-1.0.tar.gz 31578 BLAKE2B 535cdf588b4b1de8f37f9239a48df10e755d004fbe6b5f3771b00bb2f9a8b36e7db30297a8a99ac689d890c08c728303af3d71c60c299574bf02476aa5724b11 SHA512 ae36ea51dbca7d5ba31d82ffaa46bad2bd877f5f7c077d2e711747427f6d60a000ab0c827ae6523ba6a275dbad205eea8c20520fe2575a6fa6b554ea8b5e0eaa
27
28 diff --git a/dev-libs/libspnav/libspnav-0.2.3.ebuild b/dev-libs/libspnav/libspnav-0.2.3.ebuild
29 deleted file mode 100644
30 index 094057542c4c..000000000000
31 --- a/dev-libs/libspnav/libspnav-0.2.3.ebuild
32 +++ /dev/null
33 @@ -1,46 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI="7"
38 -
39 -inherit toolchain-funcs
40 -
41 -MY_PN='spacenav'
42 -DESCRIPTION="libspnav is a replacement for the magellan library with a cleaner API"
43 -HOMEPAGE="http://spacenav.sourceforge.net/"
44 -SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}%20library%20%28SDK%29/${PN}%20${PV}/${P}.tar.gz"
45 -LICENSE="BSD"
46 -SLOT="0"
47 -KEYWORDS="amd64 ppc64 x86"
48 -IUSE="X"
49 -
50 -CDEPEND="X? ( x11-libs/libX11 )"
51 -RDEPEND="app-misc/spacenavd[X?]
52 - ${CDEPEND}"
53 -DEPEND="${CDEPEND}"
54 -
55 -src_prepare() {
56 - eapply "${FILESDIR}"/${P}-makefile.patch
57 - eapply_user
58 -}
59 -
60 -src_configure() {
61 - local args=(
62 - --disable-opt
63 - --disable-debug
64 - $(use_enable X x11)
65 - )
66 - econf "${args[@]}"
67 -}
68 -
69 -src_compile() {
70 - emake AR="$(tc-getAR)" CC="$(tc-getCC)"
71 -}
72 -
73 -src_install() {
74 - local args=(
75 - DESTDIR="${D}"
76 - libdir="$(get_libdir)"
77 - )
78 - emake "${args[@]}" install
79 -}
80
81 diff --git a/dev-libs/libspnav/libspnav-0.3.ebuild b/dev-libs/libspnav/libspnav-0.3.ebuild
82 deleted file mode 100644
83 index c4af54f4d64b..000000000000
84 --- a/dev-libs/libspnav/libspnav-0.3.ebuild
85 +++ /dev/null
86 @@ -1,53 +0,0 @@
87 -# Copyright 1999-2022 Gentoo Authors
88 -# Distributed under the terms of the GNU General Public License v2
89 -
90 -EAPI="7"
91 -
92 -inherit toolchain-funcs
93 -
94 -MY_PN='spacenav'
95 -DESCRIPTION="libspnav is a replacement for the magellan library with a cleaner API"
96 -HOMEPAGE="http://spacenav.sourceforge.net/"
97 -SRC_URI="https://github.com/FreeSpacenav/libspnav/releases/download/v${PV}/libspnav-${PV}.tar.gz"
98 -LICENSE="BSD"
99 -SLOT="0"
100 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
101 -IUSE="static-libs X"
102 -
103 -CDEPEND="X? ( x11-libs/libX11 )"
104 -RDEPEND="app-misc/spacenavd[X?]
105 - ${CDEPEND}"
106 -DEPEND="${CDEPEND}"
107 -
108 -src_configure() {
109 - local args=(
110 - --disable-opt
111 - --disable-debug
112 - $(use_enable X x11)
113 - )
114 - econf "${args[@]}"
115 -}
116 -
117 -src_compile() {
118 - local args=(
119 - AR="$(tc-getAR)"
120 - CC="$(tc-getCC)"
121 - incpaths=-I.
122 - libpaths=
123 - )
124 - emake "${args[@]}"
125 -}
126 -
127 -src_install() {
128 - local args=(
129 - DESTDIR="${D}"
130 - libdir="$(get_libdir)"
131 - )
132 - emake "${args[@]}" install
133 -
134 - # The custom configure script does not support --disable-static
135 - # and conditionally patching $(lib_a) out of Makefile.in does not
136 - # seem like a very maintainable option, hence we delete the .a file
137 - # after "make install", instead.
138 - use static-libs || find "${D}" -type f -name \*.a -delete
139 -}
140
141 diff --git a/dev-libs/libspnav/libspnav-1.0.ebuild b/dev-libs/libspnav/libspnav-1.0.ebuild
142 deleted file mode 100644
143 index c0aa5dfe1b28..000000000000
144 --- a/dev-libs/libspnav/libspnav-1.0.ebuild
145 +++ /dev/null
146 @@ -1,57 +0,0 @@
147 -# Copyright 1999-2022 Gentoo Authors
148 -# Distributed under the terms of the GNU General Public License v2
149 -
150 -EAPI="7"
151 -
152 -inherit toolchain-funcs
153 -
154 -MY_PN='spacenav'
155 -DESCRIPTION="libspnav is a replacement for the magellan library with a cleaner API"
156 -HOMEPAGE="http://spacenav.sourceforge.net/"
157 -SRC_URI="https://github.com/FreeSpacenav/libspnav/releases/download/v${PV}/libspnav-${PV}.tar.gz"
158 -LICENSE="BSD"
159 -SLOT="0"
160 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
161 -IUSE="static-libs X"
162 -
163 -CDEPEND="X? ( x11-libs/libX11 )"
164 -RDEPEND="app-misc/spacenavd[X?]
165 - ${CDEPEND}"
166 -DEPEND="${CDEPEND}"
167 -
168 -PATCHES=(
169 - "${FILESDIR}"/${P}-no-xorg-compile.patch
170 -)
171 -
172 -src_configure() {
173 - local args=(
174 - --disable-opt
175 - --disable-debug
176 - $(use_enable X x11)
177 - )
178 - econf "${args[@]}"
179 -}
180 -
181 -src_compile() {
182 - local args=(
183 - AR="$(tc-getAR)"
184 - CC="$(tc-getCC)"
185 - incpaths=-I.
186 - libpaths=
187 - )
188 - emake "${args[@]}"
189 -}
190 -
191 -src_install() {
192 - local args=(
193 - DESTDIR="${D}"
194 - libdir="$(get_libdir)"
195 - )
196 - emake "${args[@]}" install
197 -
198 - # The custom configure script does not support --disable-static
199 - # and conditionally patching $(lib_a) out of Makefile.in does not
200 - # seem like a very maintainable option, hence we delete the .a file
201 - # after "make install", instead.
202 - use static-libs || find "${D}" -type f -name \*.a -delete
203 -}
204
205 diff --git a/dev-libs/libspnav/metadata.xml b/dev-libs/libspnav/metadata.xml
206 index 71a95287a26b..126ce2bc79ed 100644
207 --- a/dev-libs/libspnav/metadata.xml
208 +++ b/dev-libs/libspnav/metadata.xml
209 @@ -15,6 +15,7 @@
210 magellan SDK.
211 </longdescription>
212 <upstream>
213 + <remote-id type="github">FreeSpacenav/libspnav</remote-id>
214 <remote-id type="sourceforge">spacenav</remote-id>
215 </upstream>
216 </pkgmetadata>