media-video/uvccapture - 0.5 (ago)

Search

Package Information

Description:
Take a photo from webcam on your shell
Homepage:
http://staticwave.ca/source/uvccapture/
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
0.5 7 amd64 0
View Raw Ebuild
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

DESCRIPTION="Take a photo from webcam on your shell"
HOMEPAGE="http://staticwave.ca/source/uvccapture/"
SRC_URI="http://staticwave.ca/source/${PN}/${P}.tar.bz2"

KEYWORDS="amd64"
IUSE=""
LICENSE="GPL-2"
SLOT="0"

DEPEND="virtual/jpeg:*"
RDEPEND=""

src_prepare () {
	sed -i "s:videodev.h:videodev2.h:" uvccapture.c v4l2uvc.c || die
	eapply -p0 "${FILESDIR}/Makefile.patch"
	default
}

src_compile () {
	emake \
		CC="$(tc-getCC)" \
		LDFLAGS="${LDFLAGS}"
}

src_install () {
	dobin ${PN}
}

Dependencies

DEPEND

virtual/jpeg:*

Manifest for 0.5

Type File Size Source URLs
DIST uvccapture-0.5.tar.bz2 15467 bytes http://staticwave.ca/source/uvccapture/uvccapture-0.5.tar.bz2