# Template file for 'totem'
pkgname=totem
version=3.2.1
revision=4
distfiles="${GNOME_SITE}/$pkgname/3.2/$pkgname-$version.tar.xz"
build_style=gnu-configure
configure_args="--disable-scrollkeeper --disable-static
--disable-schemas-compile --enable-python --enable-nautilus"
short_desc="A GNOME2 integrated movie player based on Gstreamer"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="custom, GPL-2"
checksum=e3af3281bde6666af4c7f9594b090087657b06c98e96212b11531269e2ee40a4
long_desc="
 Totem is a simple yet featureful media player for GNOME which can read
 a large number of file formats. It features :

   * Shoutcast, m3u, asx, SMIL and ra playlists support
   * DVD (with menus), VCD and Digital CD (with CDDB) playback
   * TV-Out configuration with optional resolution switching
   * 4.0, 5.0, 5.1 and stereo audio output
   * Full-screen mode (move your mouse and you get nice controls) with
     Xinerama, dual-head and RandR support
   * Aspect ratio toggling, scaling based on the video's original size
   * Full keyboard control
   * Simple playlist with repeat mode and saving feature
   * GNOME, Nautilus and GIO integration
   * Screenshot of the current movie
   * Brightness and Contrast control
   * Visualisation plugin when playing audio-only files
   * Video thumbnailer for nautilus
   * Nautilus properties page
   * Works on remote displays
   * DVD, VCD and OGG/OGM subtitles with automatic language selection
   * Extensible with plugins"

# XXX xulrunner plugin.
subpackages="totem-devel totem-mozilla-plugin"
gtk_iconcache_dirs="/usr/share/icons/hicolor"
pycompile_dirs="usr/lib/totem/plugins"

Add_dependency run pygobject
Add_dependency run grilo-plugins
Add_dependency run hicolor-icon-theme
Add_dependency run desktop-file-utils

Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build gnome-doc-utils
Add_dependency build gst-plugins-base-devel
Add_dependency build totem-pl-parser-devel
Add_dependency build nautilus-devel
Add_dependency build libbluetooth-devel
Add_dependency build evolution-data-server-devel
Add_dependency build libsoup-devel
Add_dependency build mx-devel
Add_dependency build pygobject-devel
Add_dependency build clutter-gst-devel
Add_dependency build clutter-gtk-devel
Add_dependency build libpeas-devel
Add_dependency build libXtst-devel
Add_dependency build grilo-devel
Add_dependency build libepc-devel

Add_dependency full gst-ffmpeg
Add_dependency full gst-plugins-bad
Add_dependency full gst-plugins-ugly
Add_dependency full gst-plugins-good
