Summary: | app-misc/lasertraq-0.2 - Use a laserpointer as Mouse with a camera and gStreamer | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Daniel Hiepler <d-too> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | CONFIRMED --- | ||
Severity: | enhancement | Keywords: | EBUILD |
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://wiki.hobbyist.de/index.cgi?LaserTraq | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | ebuild for laserTraq-0.1.1 |
Description
Daniel Hiepler
2007-04-14 17:49:34 UTC
Created attachment 116256 [details]
ebuild for laserTraq-0.1.1
*** Bug 174608 has been marked as a duplicate of this bug. *** # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ # Ebuild shouldn't change for future releases DESCRIPTION="Use a laserpointer as Mouse with gStreamer and a video-capture device." HOMEPAGE="http://wiki.hobbyist.de/?LaserTraq" SRC_URI="http://www.hobbyist.de/lasertraq/${P}.tar.bz2" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86" IUSE="sdl gtk" DEPEND="media-libs/gstreamer gnome-base/libglade media-libs/libsdl media-libs/sdl-image" src_compile() { elog "Compiling lasertraqd..." cd ${S}/lasertraqd econf || die emake || die if use gtk ; then elog "Compiling traqConfig (gtk configuration program)" cd ${S}/traqconfig econf || die emake || die fi if use sdl ; then elog "Compiling traqDemo (small SDL demo to visualize mouse-clicks)" for a in ${S}/traqdemo/* ; do cd "${a}" econf || die emake || die cd .. done fi } src_install() { elog "Installing lasertraqd..." cd ${S}/lasertraqd einstall || die if use gtk ; then elog "Installing GTK-configuration GUI" cd ${S}/traqconfig einstall || die else elog "Set 'gtk' USE-Flag to compile GUI" fi if use sdl ; then elog "Installing traqdemos (small SDL demos to visualize mouse-clicks)" for a in ${S}/traqdemo/* ; do cd "${a}" einstall || die done else elog "Set 'sdl' USE-Flag to compile demo" fi } |