Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119119 - New ebuild for spook - a webcam streaming program
Summary: New ebuild for spook - a webcam streaming program
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-01-15 12:59 UTC by Ruben Faelens
Modified: 2008-01-27 22:39 UTC (History)
0 users

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


Attachments
The proposed ebuild: media-video/spook/spook-20050207.ebuild (spook-20050207.ebuild,1.43 KB, text/plain)
2006-01-15 13:00 UTC, Ruben Faelens
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ruben Faelens 2006-01-15 12:59:00 UTC
I've made an ebuild for spook. Could it be included into the portage tree?

Spook is a program that streams a v4l, v4l2, ieee1394 or vdig input as an xvid or jpeg stream. It can also handle audio, encoding it as mpeg2.

[ebuild]
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit linux-info

DESCRIPTION="Spook is a Linux server application to capture live video and audio and stream it over an IP network."
AUTHOR="Nathan Lutchansky"
HOMEPAGE="http://www.litech.org/spook/"
SRC_URI="http://www.litech.org/spook/dist/spook-${PV}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~ppc-macos"
IUSE="ieee1394 xvid jpeg"
if use ppc-macos; then
    IUSE="${IUSE} vdig"
else
    IUSE="${IUSE} v4l v4l2"
fi

DEPEND="ieee1394? ( media-libs/libdc1394 )
        xvid? ( media-libs/xvid )
        jpeg? ( media-libs/jpeg )"

src_unpack() {
    unpack ${A}
}

src_compile() {
    ## There is mp2 support for audio in the program,
    ## but the author hasn't adjusted the configure.ac file
    ## TODO: Find the dependencies for mp2 support,
    ##       add mpeg2 as a use flag,
    ##       and add a configure option
    ## TODO: patch the configure.ac file ourselves
    ##       if it isn't fixed upstream soon
    local myconf="$(use_enable v4l input-v4l)\
                  $(use_enable v4l2 input-v4l2)\
                  $(use_enable ieee1394 input-dc1394)\
                  $(use_enable input-vdig)\
                  $(use_enable jpeg encoder-jpeg)\
                  $(use_enable xvid encoder-mpeg4)"
    if use v4l || use v4l2; then
      myconf="${myconf} --with-kernel-source $KERNEL_DIR"
    fi
    econf ${myconf}
    make
}

src_install() {
    make DESTDIR=${D} install
    dodoc COPYING INSTALL README spook.conf.dist
}

[/ebuild]
Comment 1 Ruben Faelens 2006-01-15 13:00:31 UTC
Created attachment 77186 [details]
The proposed ebuild: media-video/spook/spook-20050207.ebuild
Comment 2 Ruben Faelens 2008-01-27 22:39:01 UTC
Spook is being reworked completely. Furthermore, this patch is pretty much outdated and hasn't recieved any attention in two years; closing.