depends  bc        &&
depends  zlib      &&
depends  xorg-libs  &&

message  "${MESSAGE_COLOR}The xscreensaver demo program allows you to"    \
         "browse among the different effects available in xscreensaver."  \
         "${DEFAULT_COLOR}"                                               &&
optional_depends  libglade2 '' '' 'Enable xscreensaver demo?'             &&

optional_depends  linux-pam                                     \
                  "--with-pam"                                  \
                  "--without-pam"                               \
                  "for Pluggable Authentication Modules (PAM)"  &&

optional_depends  krb5                                          \
                  "--with-kerberos"                             \
                  "--without-kerberos"                          \
                  "for Kerberos authentication support"         &&

optional_depends  shadow                                        \
                  "--with-shadow"                               \
                  "--without-shadow"                            \
                  "for shadow password authentication support"  &&

optional_depends  gdm2                                          \
                  "--with-login-manager"                        \
                  "--without-login-manager"                     \
                  "for login manager support"                   &&

optional_depends  libgnome                                      \
                  ""                                            \
                  ""                                            \
                  "use gnome-open to open stuff?"               &&

optional_depends  GLUT                                          \
                  "--with-gl"                                   \
                  "--without-gl"                                \
                  "for OpenGL/GLUT screensavers"                &&

optional_depends  libgle                                        \
                  "--with-gle"                                  \
                  "--without-gle"                               \
                  "Enable GLE OpenGL tubing and extrusion"      &&

optional_depends  fortune                                       \
                  "--with-fortune"                              \
                  "--without-fortune"                           \
                  "for fortune text messages" "games"           &&

optional_depends  GTK2                                          \
                  "--with-gtk --with-pixbuf"                    \
                  "--without-gtk --without-pixbuf"              \
                  "for GDK-Pixbuf image support and a gtk interface" &&

optional_depends  libxpm                                        \
                  "--with-xpm"                                  \
                  "--without-xpm"                               \
                  "Include support for XPM files? (Not needed if Pixbuf is used)?" &&

optional_depends  JPEG                                          \
                  "--with-jpeg"                                 \
                  "--without-jpeg"                              \
                  "for JPEG image support"                      &&

optional_depends  WEB-BROWSER                                   \
                  ""                                            \
                  ""                                            \
                  "Which browser to use for help"               &&

optional_depends  libxext                                              \
                  "--with-dpms-ext --with-xshm-ext --with-xdbe-ext"    \
                  "--without-dpms-ext --with-xshm-ext --with-xdbe-ext" \
                  "Enable power mgmt, shared mem and double buffer support?" &&

optional_depends  libxrandr                                     \
                  "--with-randr-ext"                            \
                  "--without-randr-ext"                         \
                  "Include support for the X Resize+Rotate extension?" &&

optional_depends  libxinerama                                   \
                  "--with-xinerama-ext"                         \
                  "--without-xinerama-ext"                      \
                  "Enable Xinerama multihead support?"          &&

suggest_depends  xplanet                                        \
                  ""                                            \
                  ""                                            \
                  "support for xplanet screensaver"             &&
suggest_depends  xsnow                                          \
                  ""                                            \
                  ""                                            \
                  "support for xsnow screensaver"               &&
suggest_depends  xmountains                                     \
                  ""                                            \
                  ""                                            \
                  "support for xmountains screensaver"          &&
suggest_depends  xearth                                         \
                  ""                                            \
                  ""                                            \
                  "support for xearth screensaver"              &&
suggest_depends  xdaliclock                                     \
                  ""                                            \
                  ""                                            \
                  "support for xdaliclock screensaver"          &&
suggest_depends  electricsheep                                  \
                  ""                                            \
                  ""                                            \
                  "support for ElectricSheep screensaver"

