Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1582 - ebuild: xawtv updated to 3.73
Summary: ebuild: xawtv updated to 3.73
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Bart Verwilst
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-07 01:15 UTC by Craig Dooley
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Dooley 2002-04-07 01:15:38 UTC
I've updated xawtv to version 3.73 and added the deinterlace plugin from
http://xaw-deinterlace.sourceforge.net

/usr/portage/media-video/xawtv/files/digest-xawtv-3.73

MD5 c9a8b96439a877bccd9463bf3331b538 xawtv_3.73.tar.gz 498974
MD5 b6749d2289e2c49fca3802b2d47efc2e xaw-deinterlace-0.0.3.diff.bz2 3155




/usr/portage/media-video/xawtv/xawtv-3.73.ebuild:

# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# Updated to 3.73 by Craig Dooley <cd5697@albany.edu>
# /space/gentoo/cvsroot/gentoo-x86/media-video/xawtv/xawtv-3.73.ebuild,v 1.1
2002/03/30 17:00:37 agriffis Exp

S=${WORKDIR}/${P}
DESCRIPTION="TV application for the bttv driver"
SRC_URI="http://bytesex.org/xawtv/xawtv_3.73.tar.gz
http://prdownloads.sourceforge.net/xaw-deinterlace/xaw-deinterlace-0.0.3.diff.bz2"
HOMEPAGE="http://bytesex.org/xawtv/"

DEPEND="virtual/glibc
        >=sys-libs/ncurses-5.1
        >=media-libs/jpeg-6b
        >=media-libs/libpng-1.0.8
        >=x11-base/xfree-4.0.1
        motif? ( x11-libs/openmotif )        aalib? ( media-libs/aalib )
        quicktime? ( media-libs/quicktime4linux )
        alsa? ( media-libs/alsa-lib )"


src_unpack() {
        unpack ${PN}_${PV}.tar.gz
        cd ${S}
        bzcat ${DISTDIR}/xaw-deinterlace-0.0.3.diff.bz2 | patch -p1
}



src_compile() {
        local myconf
        use motif && myconf="--enable-motif" \
                || myconf="--disable-motif"
        use aalib && myconf="$myconf --enable-aa" \
                || myconf="$myconf --disable-aa"
        use quicktime && myconf="$myconf --enable-quicktime" \
                || myconf="$myconf --disable-quicktime"
        use alsa && myconf="$myconf --enable-alsa" \
                || myconf="$myconf --disable-alsa"

        touch src/Xawtv.h src/MoTV.h

        ./configure  --prefix=/usr --host=${CHOST} \
                --disable-lirc \
                --enable-jpeg \
                --enable-xfree-ext \
                --enable-xvideo \
                --with-x \
                $myconf

        emake || die
}

src_install() {
        fontdir=${D}/usr/X11R6/lib/X11/fonts/misc
        make install \
                prefix=${D}/usr \
                mandir=${D}/usr/share/man \
                resdir=${D}/etc/X11 \
                fontdir=$fontdir
        # remove the bogus fonts.dir so it isn't "owned" by this ebuild
        rm -f $fontdir/fonts.dir

        dodoc COPYING Changes KNOWN_PROBLEMS Miro_gpio.txt
        dodoc Programming-FAQ README* Sound-FAQ TODO
        dodoc Trouble-Shooting UPDATE_TO_v3.0

        insinto /usr/local/httpd/cgi-bin
        insopts -m 755
        doins webcam/webcam.cgi
}

src_postinst() {
        mkfontdir /usr/X11R6/lib/X11/fonts/misc
}

src_postrm() {
        mkfontdir /usr/X11R6/lib/X11/fonts/misc
}