summaryrefslogtreecommitdiff
blob: cd796daab56df6c0bb110d472ab09cce467aa810 (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
39
40
41
42
43
44
45
46
47
48
49
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils autotools

DESCRIPTION="Provides the necessary logic to capture screen recordings and to process them"
HOMEPAGE="http://libinstrudeo.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND=">=dev-cpp/libxmlpp-2.10.0
	>=media-libs/freetype-2.1.9
	>=dev-libs/glib-2.10.0
	>=dev-cpp/glibmm-2.8.4
	media-libs/libvorbis
	=media-libs/libdc1394-1*
	|| ( media-libs/libdca media-libs/libdts )
	media-libs/libtheora
	media-libs/ftgl
	media-video/ffmpeg
	media-sound/gsm
	net-misc/curl
	dev-libs/openssl
	sys-libs/zlib
	virtual/glut"
RDEPEND="${DEPEND}"

src_unpack(){
	unpack ${A}
	cd "${S}"

	epatch "${FILESDIR}/img_convert_to_sws_scale.patch"
	eautoreconf
}

src_compile() {
	CXXFLAGS="${CXXFLAGS} -D__STDC_CONSTANT_MACROS" econf || die "econf failed"
	emake || die "emake failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
	dodoc AUTHORS ChangeLog NEWS README
}