Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Forum italiano (Italian) Risorse italiane (documentazione e tools)
  • Search

[freenect] ebuild sperimentale.

Forum riservato alla documentazione in italiano.

Moderator: ago

Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
Author
Message
cloc3
Advocate
Advocate
User avatar
Posts: 4840
Joined: Tue Jan 13, 2004 10:09 am
Location: http://www.gentoo-users.org/user/cloc3/
Contact:
Contact cloc3
Website

[freenect] ebuild sperimentale.

  • Quote

Post by cloc3 » Thu Nov 25, 2010 4:33 pm

ehi!
avete gia acquistato la vostra kinect?

io no, però ci ho già scritto un ebuild.
:lol:
emerge compila bene, ma mi dà un errore di sicurezza che non so assolutamente come trattare.
rimango aperto a suggerimenti.

Code: Select all

rhserver freenect # cat freenect-9999.ebuild 
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="3"

KEYWORDS="~x86 ~amd64 ~ppc ~ppc64"

if [[ ${PV} == "9999" ]]; then
	EGIT_REPO_URI="git://github.com/OpenKinect/libfreenect.git"
	SRC_URI=""
	KEYWORDS=""
	inherit git
else
	SRC_URI=""
fi

#inherit eutils autotools

DESCRIPTION="OpenKinect is an open community of people using
the Xbox Kinect hardware with PCs and other devices."
HOMEPAGE="http://openkinect.org"

LICENSE="GPL-2"
SLOT="0"
IUSE=""

DEPEND=">=dev-util/cmake-2.6
	>=dev-libs/libusb-1.0.3
	"

RDEPEND="media-libs/freeglut
	x11-libs/libXmu
	"

src_unpack() {
	if [[ ${PV} == "9999" ]]; then
		git_src_unpack
	else
		unpack ${A}
	fi
}

src_prepare() {
	mkdir build
	mkdir -p etc/udev/rules.d/
	cp "${FILESDIR}/66-kinect.rules" etc/udev/rules.d/
}

src_compile() {
	cd build
	cmake ..
	make
}

src_install() {
	mkdir -p "${D}usr/lib"
	mkdir -p "${D}usr/bin"
	cp build/bin/glview "${D}usr/bin"
	cp build/lib/* "${D}usr/lib"
	cp -a etc "${D}"
}
vu vu vu
gentù
mi piaci tu
Top
Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Risorse italiane (documentazione e tools)”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy