diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-29 01:18:33 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-29 01:18:33 +0000 |
commit | 56767705335e747c2a8b3f3282e5c1a393352d54 (patch) | |
tree | db29fcdff8c7ce293aa55e7ba797c1242cd601c0 /dev-libs/libspnav/libspnav-1.0.ebuild | |
parent | ee2ff072f141c81ba073dc664091d2780d4e74e0 (diff) |
gentoo auto-resync : 29:11:2022 - 01:18:33
Diffstat (limited to 'dev-libs/libspnav/libspnav-1.0.ebuild')
-rw-r--r-- | dev-libs/libspnav/libspnav-1.0.ebuild | 57 |
1 files changed, 0 insertions, 57 deletions
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 -} |