# Template file for 'totem'
pkgname=totem
version=3.0.1
distfiles="${GNOME_SITE}/$pkgname/3.0/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-scrollkeeper --localstatedir=/var --disable-static
--disable-schemas-compile"
short_desc="A GNOME2 integrated movie player based on Gstreamer."
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=013b6cfedac6ff264aa27de7346597d0b8da7f4ed1f91b2c966a13d3fdff679a
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"

subpackages="totem-devel totem-mozilla-plugin"
triggers="gsettings-schemas"
gtk_iconcache_dirs="/usr/share/icons/hicolor"

Add_dependency run libgcc
Add_dependency run glibc
Add_dependency run libstdc++
Add_dependency run glib
Add_dependency run dbus-libs
Add_dependency run dbus-glib
Add_dependency run libbluetooth
Add_dependency run libffi
Add_dependency run libgirepository
Add_dependency run libSM
Add_dependency run libICE
Add_dependency run libX11
Add_dependency run libXrandr
Add_dependency run libXxf86vm
Add_dependency run libXtst
Add_dependency run libxml2
Add_dependency run atk
Add_dependency run gdk-pixbuf
Add_dependency run cairo
Add_dependency run pango
Add_dependency run libpng
Add_dependency run freetype
Add_dependency run fontconfig
Add_dependency run gtk+3
Add_dependency run libpeas
Add_dependency run gstreamer
Add_dependency run gst-plugins-base
Add_dependency run libsoup
Add_dependency run evolution-data-server
Add_dependency run totem-pl-parser
Add_dependency run nautilus

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 gtk+3-devel
Add_dependency build atk-devel
Add_dependency build gdk-pixbuf-devel
Add_dependency build totem-pl-parser-devel
Add_dependency build glib-devel
Add_dependency build gstreamer-devel
Add_dependency build cairo-devel
Add_dependency build libXrandr-devel
Add_dependency build libXxf86vm-devel
Add_dependency build dbus-glib-devel
Add_dependency build libXtst-devel
Add_dependency build libX11-devel
Add_dependency build libxml2-devel
Add_dependency build nautilus-devel
Add_dependency build pango-devel
Add_dependency build libpng-devel
Add_dependency build freetype-devel
Add_dependency build fontconfig-devel
Add_dependency build libpeas-devel
Add_dependency build libgirepository-devel
Add_dependency build libffi-devel
Add_dependency build libSM-devel
Add_dependency build libICE-devel
Add_dependency build libbluetooth-devel
Add_dependency build dbus-devel
Add_dependency build evolution-data-server-devel
Add_dependency build libsoup-devel
Add_dependency build brasero-devel

Add_dependency full gst-ffmpeg
Add_dependency full gst-plugins-bad
Add_dependency full gst-plugins-ugly
Add_dependency full gst-plugins-good
Add_dependency full hicolor-icon-theme
Add_dependency full desktop-file-utils
