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
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 }