summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Schultz (mschultz) <mattsch@gmail.com>2012-01-24 14:14:48 +0000
committerMatthew Schultz (mschultz) <mattsch@gmail.com>2012-01-24 14:14:48 +0000
commit728afe4c7f7d33e92976734218f7c917d66b05f4 (patch)
treeb037232334d8802cab3ea3febd480c978eec6453 /x11-drivers
parentAutomatic update to categories (diff)
downloadsunrise-reviewed-728afe4c7f7d33e92976734218f7c917d66b05f4.tar.gz
sunrise-reviewed-728afe4c7f7d33e92976734218f7c917d66b05f4.tar.bz2
sunrise-reviewed-728afe4c7f7d33e92976734218f7c917d66b05f4.zip
Moved libfreenect to dev-libs.
svn path=/sunrise/; revision=12696
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/libfreenect/ChangeLog14
-rw-r--r--x11-drivers/libfreenect/Manifest5
-rw-r--r--x11-drivers/libfreenect/files/51-kinect.rules6
-rw-r--r--x11-drivers/libfreenect/libfreenect-0.0.1_p20110105-r1.ebuild80
-rw-r--r--x11-drivers/libfreenect/metadata.xml13
5 files changed, 0 insertions, 118 deletions
diff --git a/x11-drivers/libfreenect/ChangeLog b/x11-drivers/libfreenect/ChangeLog
deleted file mode 100644
index 754ac050f..000000000
--- a/x11-drivers/libfreenect/ChangeLog
+++ /dev/null
@@ -1,14 +0,0 @@
-# ChangeLog for x11-drivers/libfreenect
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 27 Jan 2011; Matthew Schultz (mschultz) <mattsch@gmail.com>
- -libfreenect-0.0.1_p20110105.ebuild,
- +libfreenect-0.0.1_p20110105-r1.ebuild, metadata.xml:
- Added several use flags and added library support for opencv and python.
-
- 23 Jan 2011; Matthew Schultz (mschultz) <mattsch@gmail.com>
- +files/51-kinect.rules, +libfreenect-0.0.1_p20110105.ebuild,
- +metadata.xml:
- New Ebuild for bug 351964
-
diff --git a/x11-drivers/libfreenect/Manifest b/x11-drivers/libfreenect/Manifest
deleted file mode 100644
index bcafe48a1..000000000
--- a/x11-drivers/libfreenect/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX 51-kinect.rules 384 RMD160 9de784f7a2284e07b7db061159aaee8704e82241 SHA1 04cbcb9d5bbd5aaf25619567580ebbfe8582ac90 SHA256 447878c45d095acf01e14fe284e71bfb9406dec5e8072110027885bc27484352
-DIST libfreenect-0.0.1_p20110105.tar.bz2 1541523 RMD160 dc367e67f883404e948c4e413210a109c9d22f38 SHA1 1bdf91bc82e4ed467121c87099c3040eb7cdd580 SHA256 128fa3896695d4bfd1542a6172279becaa260e74b404e9562a1b7dbd2973bb95
-EBUILD libfreenect-0.0.1_p20110105-r1.ebuild 1977 RMD160 9204cb19a775a9096ab61c5b29de8db86bc2d427 SHA1 e641f67fa73c2366d57be780e777a8a934fe4424 SHA256 3f0cda1ae3384db3c71b5f1cef29b598e63c22a37fe30d0d7da214a79762450d
-MISC ChangeLog 528 RMD160 a6ff1fde90e75c1281f77871722d0d11ce5e5c81 SHA1 628ea783f40e0fb4b06455396384fc5e9f0e9623 SHA256 27346ab3d4c516eefa9e5887337b35f593e63e1c09357d8526f3a760f9cce57c
-MISC metadata.xml 610 RMD160 fe471209b6768baee285a798512a501d39240fc0 SHA1 0347f5e7da9ea4da9ab68e062e042bd6ae71ca38 SHA256 1fd0660166ecc2b4a45ab29081ce76d6fbd2a1d85adeec529998bd1ed0de3512
diff --git a/x11-drivers/libfreenect/files/51-kinect.rules b/x11-drivers/libfreenect/files/51-kinect.rules
deleted file mode 100644
index ceab6f35a..000000000
--- a/x11-drivers/libfreenect/files/51-kinect.rules
+++ /dev/null
@@ -1,6 +0,0 @@
-# ATTR{product}=="Xbox NUI Motor"
-SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02b0", MODE="0660", GROUP="video"
-# ATTR{product}=="Xbox NUI Audio"
-SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02ad", MODE="0660", GROUP="video"
-# ATTR{product}=="Xbox NUI Camera"
-SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02ae", MODE="0660", GROUP="video" \ No newline at end of file
diff --git a/x11-drivers/libfreenect/libfreenect-0.0.1_p20110105-r1.ebuild b/x11-drivers/libfreenect/libfreenect-0.0.1_p20110105-r1.ebuild
deleted file mode 100644
index be9015fbb..000000000
--- a/x11-drivers/libfreenect/libfreenect-0.0.1_p20110105-r1.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-PYTHON_DEPEND="python? 2:2.6"
-
-inherit cmake-utils multilib python
-
-DESCRIPTION="Drivers and libraries for the Xbox Kinect device"
-HOMEPAGE="https://github.com/OpenKinect/libfreenect"
-SRC_URI="http://ompldr.org/vNzQ5bg/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples fakenect c_sync opencv python"
-
-RDEPEND="dev-libs/libusb:1
- examples? (
- media-libs/freeglut
- virtual/opengl
- )
- opencv? ( media-libs/opencv )
- python? ( dev-python/numpy )"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-pkg_setup() {
- if use python; then
- python_set_active_version 2
- python_pkg_setup
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- $(cmake-utils_use_build examples)
- $(cmake-utils_use_build fakenect)
- $(cmake-utils_use_build examples CPP)
- $(cmake-utils_use_build opencv CV)
- $(cmake-utils_use_build python)
- )
- # opencv & python requires c_sync
- if ! use c_sync && ( use opencv || use python ); then
- if use opencv; then
- local useflag="opencv"
- else
- local useflag="python"
- fi
- ewarn "${useflag} requires c synchronous support to be enabled; c_sync enabled"
- mycmakeargs+=(
- -DBUILD_C_SYNC=ON
- )
- else
- mycmakeargs+=(
- $(cmake-utils_use_build c_sync)
- )
- fi
- if use python; then
- #Add numpy core include path in python CMakeList.txt to allow compilation
- sed -i -e "s|../c_sync/|$(python_get_sitedir)/numpy/core/include/ ../c_sync/|" "wrappers/python/CMakeLists.txt" || die
- fi
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
- # Remove cvdemo if examples is not enabled
- if use opencv && ! use examples; then
- rm -f "${D}"/usr/bin/cvdemo || die
- fi
- insinto /$(get_libdir)/udev/rules.d/
- doins "${FILESDIR}/51-kinect.rules" || die
-}
-
-pkg_postinst() {
- elog "Make sure your user is in the 'video' group"
- elog "Just run 'gpasswd -a <USER> video', then have <USER> re-login."
-}
diff --git a/x11-drivers/libfreenect/metadata.xml b/x11-drivers/libfreenect/metadata.xml
deleted file mode 100644
index f6e3e2b1d..000000000
--- a/x11-drivers/libfreenect/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
- <longdescription>Drivers and libraries for the Xbox Kinect device</longdescription>
- <use>
- <flag name="c_sync">Install C synchronous library</flag>
- <flag name="fakenect">Install fakenect mock library</flag>
- <flag name="examples">Install demo programs</flag>
- <flag name="opencv">Install opencv library</flag>
- <flag name="python">Install python library extension</flag>
- </use>
-</pkgmetadata>