1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="Image capture application based on unicap"
8 HOMEPAGE="http://unicap-imaging.org/"
9 SRC_URI="http://unicap-imaging.org/downloads/${P}.tar.gz"
13 KEYWORDS="~amd64 ~x86"
16 DEPEND="gnome-base/gconf:2
17 gnome-base/libglade:2.0
21 media-libs/ucil[alsa,theora]
24 nls? ( virtual/libintl )"
28 # workaround for https://bugs.launchpad.net/unicap/+bug/563985
29 sed -e 's:<ucview/ucview\.h>:"ucview.h":g' -i src/ucview-window.h
33 econf $(use_enable nls)
37 emake DESTDIR="${D}" install || die
38 dodoc AUTHORS ChangeLog NEWS README || die
42 has_version media-video/ucview_plugins ||
43 einfo 'Plugins for UCView are available in media-video/ucview_plugins.'