diff options
Diffstat (limited to 'media-video/guvcview/guvcview-1.6.0.ebuild')
-rw-r--r-- | media-video/guvcview/guvcview-1.6.0.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/media-video/guvcview/guvcview-1.6.0.ebuild b/media-video/guvcview/guvcview-1.6.0.ebuild new file mode 100644 index 000000000000..d7336cd0fa52 --- /dev/null +++ b/media-video/guvcview/guvcview-1.6.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/guvcview/guvcview-1.6.0.ebuild,v 1.1 2012/07/15 07:31:17 hasufell Exp $ + +EAPI=4 + +inherit autotools eutils + +MY_P=${PN}-src-${PV} +DESCRIPTION="GTK+ UVC Viewer" +HOMEPAGE="http://guvcview.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="pulseaudio" + +RDEPEND=">=dev-libs/glib-2.10:2 + virtual/ffmpeg + >=media-libs/libsdl-1.2.10 + >=media-libs/libpng-1.4 + media-libs/libv4l + >=media-libs/portaudio-19_pre + sys-fs/udev + x11-libs/gtk+:3 + pulseaudio? ( >=media-sound/pulseaudio-0.9.15 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + sys-devel/gettext" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -i -e '/^docdir/,/^$/d' Makefile.am || die + epatch "${FILESDIR}"/${PN}-1.5.3-header.patch + eautoreconf +} + +src_configure() { + econf \ + --disable-silent-rules \ + --disable-debian-menu \ + $(use_enable pulseaudio pulse) +} |