# Python itself is implicit.
# Version 3 might work if pygtk2 would use it ...
# Switch to gtk3 might be possible.
depends cython &&
# Not sure how necessary numpy is, it seems sensible to have; there
# generally is a lot of complaining about various probably-optional
# Python stuff.
depends python &&
depends numpy &&
depends pygtk2 &&
depends XSERVER &&
depends xf86-video-dummy &&
optional_depends pygtkglext --with-opengl --without-opengl \
  "for OpenGL support" &&

optional_depends ffmpeg \
  "--with-enc_ffmpeg --with-dec_avcodec2" \
  "--without-enc_ffmpeg --without-dec_avcodec2" \
  "for video en/decoding" &&
optional_depends x264 --with-enc_x264 --without-enc_x264 \
  "for video encoding" &&
optional_depends x265 --with-enc_x265 --without-enc_x265 \
  "for video encoding" &&
optional_depends libvpx --with-vpx --without-vpx \
  "for video en-/decoding" &&
optional_depends libwebp --with-webp --without-webp \
  "for video en-/decoding" &&
optional_depends pillow --with-pillow --without-pillow \
  "use pillow for encoding" &&
optional_depends JPEG --with-jpeg --without-jpeg \
  "for jpeg encoding" &&

suggest_depends python-lz4 "" "" \
  "use python-lz4 (for lz4 compression)" &&
suggest_depends python-lzo "" "" \
  "use python-lzo (for lzo compression)" &&
suggest_depends python-cryptography "" "" \
  "use python-cryptography (fallback to pycrypto if not found)" &&
suggest_depends python-rencode "" "" \
  "use rencode for faster serialization"
