forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aegisub-2.1.9.ebuild
61 lines (51 loc) · 1.28 KB
/
aegisub-2.1.9.ebuild
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
50
51
52
53
54
55
56
57
58
59
60
61
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
WX_GTK_VER="2.8"
inherit autotools wxwidgets
DESCRIPTION="Advanced SSA/ASS subtitle editor"
HOMEPAGE="http://www.aegisub.org/"
SRC_URI="https://rion-overlay.googlecode.com/files/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="alsa debug +ffmpeg lua nls openal oss portaudio pulseaudio spell"
RDEPEND="
x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,debug?]
virtual/opengl
virtual/glu
>=media-libs/libass-0.9.11[fontconfig]
virtual/libiconv
>=media-libs/fontconfig-2.4.2
media-libs/freetype:2
alsa? ( media-libs/alsa-lib )
portaudio? ( =media-libs/portaudio-19* )
pulseaudio? ( media-sound/pulseaudio )
openal? ( media-libs/openal )
lua? ( >=dev-lang/lua-5.1.1 )
spell? ( >=app-text/hunspell-1.2 )
ffmpeg? ( >=media-libs/ffmpegsource-2.17 )
"
DEPEND="${RDEPEND}
dev-util/intltool
virtual/pkgconfig
media-gfx/imagemagick
"
src_prepare() {
sh autogen.sh --skip-configure
eautoreconf
}
src_configure() {
econf \
$(use_with alsa) \
$(use_with oss) \
$(use_with portaudio) \
$(use_with pulseaudio) \
$(use_with openal) \
$(use_with lua) \
$(use_with ffmpeg ffms) \
$(use_with spell hunspell) \
$(use_enable debug) \
$(use_enable nls)
}