1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils wxwidgets
11 DESCRIPTION="Advanced SSA/ASS subtitle editor"
12 HOMEPAGE="http://www.aegisub.net"
13 SRC_URI="http://www.mahou.org/~verm/aegisub/${MY_P}.tar.gz"
17 KEYWORDS="~amd64 ~x86"
18 IUSE="alsa debug +ffmpeg lua openal perl pulseaudio spell ruby"
20 RDEPEND="=x11-libs/wxGTK-2.8*[opengl]
26 alsa? ( media-libs/alsa-lib )
27 pulseaudio? ( media-sound/pulseaudio )
28 openal? ( media-libs/openal )
29 ffmpeg? ( media-video/ffmpeg )
31 perl? ( dev-lang/perl )
32 ruby? ( dev-lang/ruby )
35 spell? ( app-text/hunspell )"
46 econf $(use_with alsa) \
48 $(use_with pulseaudio) \
54 $(use_with spell hunspell) \
59 emake DESTDIR="${D}" install || die "emake install failed"
60 doicon "${FILESDIR}"/${PN}.png
61 make_desktop_entry "${PN}" "Aegisub" "${PN}" "AudioVideo;Video;"