46 lines
912 B
Bash
46 lines
912 B
Bash
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=5
|
|
inherit autotools
|
|
|
|
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
|
|
media-libs/libpng:0
|
|
>=media-libs/libsdl-1.2.10
|
|
media-libs/libv4l
|
|
>=media-libs/portaudio-19_pre
|
|
virtual/udev
|
|
virtual/ffmpeg
|
|
x11-libs/gtk+:3
|
|
pulseaudio? ( >=media-sound/pulseaudio-0.9.15 )
|
|
!<sys-kernel/linux-headers-3.4-r2" #448260
|
|
DEPEND="${RDEPEND}
|
|
dev-util/intltool
|
|
sys-devel/gettext
|
|
virtual/os-headers
|
|
virtual/pkgconfig"
|
|
|
|
S=${WORKDIR}/${MY_P}
|
|
|
|
src_prepare() {
|
|
sed -i -e '/^docdir/,/^$/d' Makefile.am || die
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
econf \
|
|
--disable-debian-menu \
|
|
$(use_enable pulseaudio pulse)
|
|
}
|