# Template file for 'totem'
pkgname=totem
version=3.6.0
revision=1
build_style=gnu-configure
configure_args="--disable-scrollkeeper --disable-static
--disable-schemas-compile --disable-python --enable-nautilus"

makedepends="which pkg-config intltool gnome-doc-utils gnutls-devel
gst-plugins-base1-devel totem-pl-parser-devel nautilus-devel>=3.6.0
libbluetooth-devel evolution-data-server-devel>=3.6.0 dbus-glib-devel
libsoup-devel mx-devel clutter-gst-devel>=1.9.92 clutter-gtk-devel>=1.3.2
libpeas-devel libXtst-devel grilo-devel>=0.2.0 libepc-devel vala-devel
gst-plugins-bad1-devel>=1.0.0_2 gsettings-desktop-schemas-devel>=3.6.0
libzeitgeist-devel"

fulldepends="grilo-plugins>=0.2.0 hicolor-icon-theme desktop-file-utils
gst-plugins-ugly1 gst-plugins-good1 gsettings-desktop-schemas>=3.6.0"

# XXX xulrunner plugin.
subpackages="totem-devel totem-mozilla-plugin"
gtk_iconcache_dirs="/usr/share/icons/hicolor"
# XXX reenable python plugin if pylint pkg exists.
#pycompile_dirs="usr/lib/totem/plugins"
short_desc="A GNOME integrated movie player based on Gstreamer"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="custom, GPL-2"
distfiles="${GNOME_SITE}/$pkgname/3.6/$pkgname-$version.tar.xz"
checksum=e767da34f5212bd9b2d3ea9bc7e3a87b284581ee012214274225dd8decb8fe3e
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"
