commit: 06dae82fdb9e2307b50c2f2cc3636e68a7ce9aad Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> AuthorDate: Mon Nov 28 21:59:01 2022 +0000 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> CommitDate: Mon Nov 28 22:40:58 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06dae82f
dev-libs/libspnav: Drop old + MissingRemoteId Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> dev-libs/libspnav/Manifest | 1 - dev-libs/libspnav/libspnav-0.2.3.ebuild | 46 -------------------------- dev-libs/libspnav/libspnav-0.3.ebuild | 53 ------------------------------ dev-libs/libspnav/libspnav-1.0.ebuild | 57 --------------------------------- dev-libs/libspnav/metadata.xml | 1 + 5 files changed, 1 insertion(+), 157 deletions(-) diff --git a/dev-libs/libspnav/Manifest b/dev-libs/libspnav/Manifest index 9a841a93504b..a3845adba141 100644 --- a/dev-libs/libspnav/Manifest +++ b/dev-libs/libspnav/Manifest @@ -1,3 +1,2 @@ DIST libspnav-0.2.3.tar.gz 11985 BLAKE2B 134a0c3f7c9a7ef7c4f68910e0266880958e2b74e253b75237b0fa8d3e482bcd1f42e715b85f0ffca3a62103530e854090818564d9c241bfc55de039cc4883ee SHA512 b2c452d979d455fc99bfdc172c8a2408a6e8dc40acc52964fa64f4d75a8ee77dda12e5e212c0c4e07a0a24d055f16f85bb6ce6287e24e6bd0665de457e37e6a7 -DIST libspnav-0.3.tar.gz 12386 BLAKE2B 6598e0eb3cb41c9e13f0cb62715cd199d2fff0903d8f62726fa82227f2aa49f4dc41083929cbdde18974dfb08c23947158b465bb552c12ea8c9f9fd754962c2b SHA512 1bd61c1ccda37af9b3eaeda6d8f269777f7d13b1c3d3ed4d194b917199bd232d79c9513bcdae6fce6c298ad8460c095a98e3cfd98ee76e1852fc0e93e478c252 DIST libspnav-1.0.tar.gz 31578 BLAKE2B 535cdf588b4b1de8f37f9239a48df10e755d004fbe6b5f3771b00bb2f9a8b36e7db30297a8a99ac689d890c08c728303af3d71c60c299574bf02476aa5724b11 SHA512 ae36ea51dbca7d5ba31d82ffaa46bad2bd877f5f7c077d2e711747427f6d60a000ab0c827ae6523ba6a275dbad205eea8c20520fe2575a6fa6b554ea8b5e0eaa diff --git a/dev-libs/libspnav/libspnav-0.2.3.ebuild b/dev-libs/libspnav/libspnav-0.2.3.ebuild deleted file mode 100644 index 094057542c4c..000000000000 --- a/dev-libs/libspnav/libspnav-0.2.3.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit toolchain-funcs - -MY_PN='spacenav' -DESCRIPTION="libspnav is a replacement for the magellan library with a cleaner API" -HOMEPAGE="http://spacenav.sourceforge.net/" -SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}%20library%20%28SDK%29/${PN}%20${PV}/${P}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ppc64 x86" -IUSE="X" - -CDEPEND="X? ( x11-libs/libX11 )" -RDEPEND="app-misc/spacenavd[X?] - ${CDEPEND}" -DEPEND="${CDEPEND}" - -src_prepare() { - eapply "${FILESDIR}"/${P}-makefile.patch - eapply_user -} - -src_configure() { - local args=( - --disable-opt - --disable-debug - $(use_enable X x11) - ) - econf "${args[@]}" -} - -src_compile() { - emake AR="$(tc-getAR)" CC="$(tc-getCC)" -} - -src_install() { - local args=( - DESTDIR="${D}" - libdir="$(get_libdir)" - ) - emake "${args[@]}" install -} diff --git a/dev-libs/libspnav/libspnav-0.3.ebuild b/dev-libs/libspnav/libspnav-0.3.ebuild deleted file mode 100644 index c4af54f4d64b..000000000000 --- a/dev-libs/libspnav/libspnav-0.3.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit toolchain-funcs - -MY_PN='spacenav' -DESCRIPTION="libspnav is a replacement for the magellan library with a cleaner API" -HOMEPAGE="http://spacenav.sourceforge.net/" -SRC_URI="https://github.com/FreeSpacenav/libspnav/releases/download/v${PV}/libspnav-${PV}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -IUSE="static-libs X" - -CDEPEND="X? ( x11-libs/libX11 )" -RDEPEND="app-misc/spacenavd[X?] - ${CDEPEND}" -DEPEND="${CDEPEND}" - -src_configure() { - local args=( - --disable-opt - --disable-debug - $(use_enable X x11) - ) - econf "${args[@]}" -} - -src_compile() { - local args=( - AR="$(tc-getAR)" - CC="$(tc-getCC)" - incpaths=-I. - libpaths= - ) - emake "${args[@]}" -} - -src_install() { - local args=( - DESTDIR="${D}" - libdir="$(get_libdir)" - ) - emake "${args[@]}" install - - # The custom configure script does not support --disable-static - # and conditionally patching $(lib_a) out of Makefile.in does not - # seem like a very maintainable option, hence we delete the .a file - # after "make install", instead. - use static-libs || find "${D}" -type f -name \*.a -delete -} diff --git a/dev-libs/libspnav/libspnav-1.0.ebuild b/dev-libs/libspnav/libspnav-1.0.ebuild deleted file mode 100644 index c0aa5dfe1b28..000000000000 --- a/dev-libs/libspnav/libspnav-1.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit toolchain-funcs - -MY_PN='spacenav' -DESCRIPTION="libspnav is a replacement for the magellan library with a cleaner API" -HOMEPAGE="http://spacenav.sourceforge.net/" -SRC_URI="https://github.com/FreeSpacenav/libspnav/releases/download/v${PV}/libspnav-${PV}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -IUSE="static-libs X" - -CDEPEND="X? ( x11-libs/libX11 )" -RDEPEND="app-misc/spacenavd[X?] - ${CDEPEND}" -DEPEND="${CDEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-no-xorg-compile.patch -) - -src_configure() { - local args=( - --disable-opt - --disable-debug - $(use_enable X x11) - ) - econf "${args[@]}" -} - -src_compile() { - local args=( - AR="$(tc-getAR)" - CC="$(tc-getCC)" - incpaths=-I. - libpaths= - ) - emake "${args[@]}" -} - -src_install() { - local args=( - DESTDIR="${D}" - libdir="$(get_libdir)" - ) - emake "${args[@]}" install - - # The custom configure script does not support --disable-static - # and conditionally patching $(lib_a) out of Makefile.in does not - # seem like a very maintainable option, hence we delete the .a file - # after "make install", instead. - use static-libs || find "${D}" -type f -name \*.a -delete -} diff --git a/dev-libs/libspnav/metadata.xml b/dev-libs/libspnav/metadata.xml index 71a95287a26b..126ce2bc79ed 100644 --- a/dev-libs/libspnav/metadata.xml +++ b/dev-libs/libspnav/metadata.xml @@ -15,6 +15,7 @@ magellan SDK. </longdescription> <upstream> + <remote-id type="github">FreeSpacenav/libspnav</remote-id> <remote-id type="sourceforge">spacenav</remote-id> </upstream> </pkgmetadata>
