summaryrefslogtreecommitdiffstats
path: root/http/gnash/DEPENDS
blob: 24300a174be91d50851921a5647eb79c9ae21970 (plain) (blame)
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
depends  -sub "THREAD DATE_TIME"  boost     &&
depends  curl                               &&
depends  fontconfig                         &&
depends  g++                                &&
depends  jpeg                               &&
depends  libpng                             &&
depends  libxml2                            &&
depends  zlib                               &&

#
# Video rendering
#
if [[ "$GNASH_RENDERER" == "opengl" ]]; then
  depends OPENGL "--enable-renderer=ogl"
else
  depends $GNASH_RENDERER "--enable-renderer=$GNASH_RENDERER"
fi                                          &&

#
# Media rendering
#
if [[ $GNASH_MEDIA == "gstreamer" ]]; then
  depends  $GNASH_MEDIA '--enable-media=GST'
elif [[ $GNASH_MEDIA == "ffmpeg" ]]; then
  depends  LIBAVCODEC '--enable-media=ffmpeg'  &&
# needed for sound backend with ffmpeg
  depends  sdl
fi  &&

#
# GUI
#
if   [[ "${GNASH_GUI}" == "GTK" ]]; then
  depends  atk                           &&
  if [[ "$GNASH_RENDERER" != "cairo" ]]; then
    depends  cairo
  fi                                     &&
  depends  GTK2      '--enable-gui=gtk'  &&
  depends  gtkglext  '--enable-glext'    &&
  depends  pango
elif [[ "${GNASH_GUI}" == "KDE" ]]; then
  depends  kdebase '--enable-gui=kde'  &&
  depends  kdelibs '--enable-kparts'   &&
  depends  qt-x11
elif [[ "${GNASH_GUI}" == "KDE4" ]]; then
  depends  kdebase4 '--enable-gui=kde4'  &&
  depends  kdelibs4 '--enable-kparts4'   &&
  depends  qt4
fi  &&

# no longer needed to build
suggest_depends  NS-PLUGIN-COMPATIBLE                             \
                  '--enable-npapi'                                \
                  '--disable-npapi'                               \
                  'Suggested to run the plugin from a browser'    &&

optional_depends speex  \
                 ""     \
                 ""     \
                 "Enable decoding of Speex encode audio in FLV files" &&

optional_depends  libxft                                    \
                  "--with-Xft-incl=${INSTALL_ROOT}/usr/include/X11/Xft --with-Xft-lib=${INSTALL_ROOT}/usr/lib"  \
                  ""                                        \
                  'Enable support for xft library'          &&

optional_depends  dbus                           \
                  '--enable-extensions=dbus'     \
                  ''                             \
                  'for D-bus extension support'  &&

optional_depends  gettext                        \
                  '--enable-nls'                 \
                  '--disable-nls'                \
                  'for Native Language Support'  &&

optional_depends  lirc                                      \
                  '--enable-lirc'                           \
                  '--disable-lirc'                          \
                  'for Linux infra-red controller support'  &&

# http://bugs.sourcemage.org/show_bug.cgi?id=15660
# optional_depends GECKO                                      \
#                 '--enable-xpcom'                           \
#                 '--disable-xpcom'                          \
#                 'Enable xpcom support in NPAPI plugin'     &&

optional_depends giflib                                     \
                 ''                                         \
                 ''                                         \
                 'Enable support for gif images.'           &&

optional_depends expat                                      \
                 ''                                         \
                 ''                                         \
                 'Enable support for Expat library.'        &&

optional_depends docbook2x                                  \
                 "--enable-docbook"                         \
                 "--disable-docbook"                        \
                 "Enable support for building documentation"  &&

optional_depends libssh                                     \
                 "--enable-ssh"                             \
                 "--disable-ssh"                            \
                 "Enable using SSH for network communication"  &&

optional_depends openssl                                    \
                 "--enable-ssl"                             \
                 "--disable-ssl"                            \
                 "Enable using OpenSSL directly"            &&

optional_depends python                                     \
                 "--enable-python"                          \
                 "--disable-python"                         \
                 "Enable python wrapper support"            &&

if is_depends_enabled $SPELL python; then
  depends pygtk2
fi