diff options
Diffstat (limited to 'media-video/aegisub/aegisub-2.1.6_pre2505.ebuild')
-rw-r--r-- | media-video/aegisub/aegisub-2.1.6_pre2505.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/media-video/aegisub/aegisub-2.1.6_pre2505.ebuild b/media-video/aegisub/aegisub-2.1.6_pre2505.ebuild new file mode 100644 index 0000000..1b9893a --- /dev/null +++ b/media-video/aegisub/aegisub-2.1.6_pre2505.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +WX_GTK_VER="2.8" +inherit eutils wxwidgets + +DESCRIPTION="Advanced SSA/ASS subtitle editor" +HOMEPAGE="http://malakith.net/aegiwiki/Main_Page" +SRC_URI="http://www.mahou.org/~verm/aegisub/aegisub-2.1.6-dev-r2505.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa debug ffmpeg lua openal perl portaudio pulseaudio spell ruby" + +RDEPEND="=x11-libs/wxGTK-2.8* + media-libs/libass + media-libs/fontconfig + media-libs/freetype + + alsa? ( media-libs/alsa-lib ) + portaudio? ( =media-libs/portaudio-18* ) + pulseaudio? ( media-sound/pulseaudio ) + openal? ( media-libs/openal ) + + perl? ( dev-lang/perl ) + ruby? ( dev-lang/ruby ) + lua? ( dev-lang/lua ) + + spell? ( app-text/hunspell ) + ffmpeg? ( media-video/ffmpeg )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + media-gfx/imagemagick + dev-libs/glib" + +S="${WORKDIR}/aegisub-2.1.6-dev-r2505" + +pkg_setup() { + check_wxuse opengl +} + +src_compile() { + econf --with-libass --prefix=/usr \ + $(use_with alsa) \ + $(use_with portaudio) \ + $(use_with pulseaudio) \ + $(use_with openal) \ + $(use_with lua) \ + $(use_with ruby) \ + $(use_with perl) \ + $(use_with ffmpeg) \ + $(use_with spell hunspell) \ + $(use_enable debug) + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + doicon "${FILESDIR}"/${PN}.png + make_desktop_entry "${PN}" "Aegisub" "${PN}" "AudioVideo;Video;" +} |