Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174610 - app-misc/lasertraq-0.2 - Use a laserpointer as Mouse with a camera and gStreamer
Summary: app-misc/lasertraq-0.2 - Use a laserpointer as Mouse with a camera and gStreamer
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://wiki.hobbyist.de/index.cgi?Las...
Whiteboard:
Keywords: EBUILD
: 174608 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-14 17:49 UTC by Daniel Hiepler
Modified: 2014-03-03 13:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for laserTraq-0.1.1 (laserTraq-0.1.1.ebuild,1.45 KB, text/plain)
2007-04-14 17:51 UTC, Daniel Hiepler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Hiepler 2007-04-14 17:49:34 UTC
Ebuild for laserTraq project v0.1.1 (use a laserpointer as mouse-device)
http://wiki.hobbyist.de/?LaserTraq


Reproducible: Always




request for beeing added to the portage tree
Comment 1 Daniel Hiepler 2007-04-14 17:51:54 UTC
Created attachment 116256 [details]
ebuild for laserTraq-0.1.1
Comment 2 Matti Bickel (RETIRED) gentoo-dev 2007-04-21 19:19:37 UTC
*** Bug 174608 has been marked as a duplicate of this bug. ***
Comment 3 Daniel Hiepler 2007-05-03 20:00:48 UTC
# 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

}