diff options
author | 2011-09-04 20:35:37 +0200 | |
---|---|---|
committer | 2011-09-04 20:35:37 +0200 | |
commit | f5d740aaaa72c9ba8fb451c93d63418c36ff9895 (patch) | |
tree | 222b1813c40245178e351652c6f13da41bd47c7c /media-libs | |
parent | added luxrender/luxrays/luxblend25 live ebuilds (diff) | |
download | mistafunk-f5d740aaaa72c9ba8fb451c93d63418c36ff9895.tar.gz mistafunk-f5d740aaaa72c9ba8fb451c93d63418c36ff9895.tar.bz2 mistafunk-f5d740aaaa72c9ba8fb451c93d63418c36ff9895.zip |
added libspnav (3dconnexion space navigator driver)
luxrender blender updates (live builds only)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libspnav/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libspnav/files/libspnav-makefile.patch | 17 | ||||
-rw-r--r-- | media-libs/libspnav/libspnav-9999.ebuild | 36 |
3 files changed, 55 insertions, 0 deletions
diff --git a/media-libs/libspnav/Manifest b/media-libs/libspnav/Manifest new file mode 100644 index 0000000..c1819b7 --- /dev/null +++ b/media-libs/libspnav/Manifest @@ -0,0 +1,2 @@ +AUX libspnav-makefile.patch 663 RMD160 b13fcd3264a4dbe2c53936bba9315c9009b24534 SHA1 d1e11a06f08d064a08ebdfabd523117c88124720 SHA256 8318a8e5826078bedf57d172e787b86c828687eebc87ccf426846af1c9be6603 +EBUILD libspnav-9999.ebuild 844 RMD160 bdb7529d2597d422b12830461348109609871c2c SHA1 bf32dc101cd5d96492c3b21624f5e5f04630ffd7 SHA256 6d6595ab5ca6d2232567046d3bb21982a85052c02bb2c6e6da2e77dde82bdd8c diff --git a/media-libs/libspnav/files/libspnav-makefile.patch b/media-libs/libspnav/files/libspnav-makefile.patch new file mode 100644 index 0000000..8bc4bd3 --- /dev/null +++ b/media-libs/libspnav/files/libspnav-makefile.patch @@ -0,0 +1,17 @@ +--- Makefile.in 2011-08-04 11:32:03.737000100 -0600 ++++ Makefile.in 2011-08-04 11:39:20.686000115 -0600 +@@ -31,10 +31,10 @@ + + .PHONY: install + install: $(lib_a) $(lib_so) +- mkdir -p $(PREFIX)/$(libdir) $(PREFIX)/include +- cp $(lib_a) $(PREFIX)/$(libdir)/$(lib_a) +- cp $(lib_so) $(PREFIX)/$(libdir)/$(lib_so) +- for h in $(hdr); do cp -p $(srcdir)/$$h $(PREFIX)/include/; done ++ mkdir -p $(DESTDIR)$(PREFIX)/$(libdir) $(DESTDIR)$(PREFIX)/include ++ cp $(lib_a) $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_a) ++ cp $(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so) ++ for h in $(hdr); do cp -p $(srcdir)/$$h $(DESTDIR)$(PREFIX)/include/; done + + .PHONY: uninstall + uninstall: diff --git a/media-libs/libspnav/libspnav-9999.ebuild b/media-libs/libspnav/libspnav-9999.ebuild new file mode 100644 index 0000000..2a0c98c --- /dev/null +++ b/media-libs/libspnav/libspnav-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + + +inherit subversion +EAPI=3 + +DESCRIPTION="A free, compatible alternative for 3Dconnexion's 3D input SDK" +HOMEPAGE="http://spacenav.sourceforge.net/" +ESVN_REPO_URI="https://spacenav.svn.sourceforge.net/svnroot/spacenav/trunk/libspnav" +ESVN_PATCHES=libspnav-makefile.patch + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+X" + +DEPEND="X? ( x11-libs/libX11 )" +RDEPEND="${DEPEND}" + +src_configure() { + #add system cflags + sed -i "/CFLAGS =/s/$/ ${CFLAGS}/" Makefile.in + + #disable opt and debug becuase they only add options to cflags + #which are better controlled by make.conf,etc. + econf \ + --disable-opt \ + --disable-debug \ + $(use_enable X x11) +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" +} |