blob: d12f3bb32298ac9b4651b5258f8d3af96f64684a (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/vmaid/vmaid-2.1.2.ebuild,v 1.1 2007/05/29 10:43:01 matsuu Exp $
DESCRIPTION="Video maid is the AVI file editor"
HOMEPAGE="http://vmaid.sourceforge.jp/"
SRC_URI="mirror://sourceforge.jp/vmaid/25596/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="alsa ao mime win32codecs"
RDEPEND=">=x11-libs/gtk+-2
ao? ( media-libs/libao )
!ao? ( alsa? ( >=media-libs/alsa-lib-0.9 ) )
win32codecs? ( media-libs/win32codecs )"
DEPEND="${RDEPEND}
sys-devel/gettext
dev-util/pkgconfig
app-text/scrollkeeper"
#MAKEOPTS="-j1"
src_compile() {
local myconf
if use ao ; then
myconf="${myconf} --with-ao=yes"
elif use alsa ; then
myconf="${myconf} --with-alsa=yes"
fi
econf \
$(use_enable mime) \
$(use_with win32codecs w32) \
${myconf} || die
emake || die
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS CONTRIBUTORS ChangeLog NEWS README
dohtml -r doc/{en,ja}
}
|