blob: b0f18dfb8659c0e8ebbd8c369d48b34268761bdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
inherit autotools
DESCRIPTION="Plugins for UCView image capture application"
HOMEPAGE="http://unicap-imaging.org/"
SRC_URI="http://unicap-imaging.org/downloads/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls"
DEPEND=">=media-video/ucview-0.30
x11-libs/gtk+:2
nls? ( virtual/libintl )"
RDEPEND=${DEPEND}
src_prepare() {
mkdir -p ucview_{debayer,histogram,videoplay}_plugin/m4
eautoreconf
}
src_configure() {
econf $(use_enable nls)
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog NEWS README || die
# remove stray empty dir
rmdir "${D}"/usr/share/ucview{/glade,}
}
|