void-packages/srcpkgs/totem/template

85 lines
2.8 KiB
Text

# Template file for 'totem'
pkgname=totem
version=3.8.0
revision=1
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.8/$pkgname-$version.tar.xz"
checksum=74c73a5decb69572cb182005b144493c2f6e7f48d4c57851e6da33e8e76fb039
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"
build_style=gnu-configure
configure_args="--disable-static --disable-schemas-compile
--disable-python --enable-nautilus"
hostmakedepends="which pkg-config intltool gnome-doc-utils
itstool gobject-introspection"
makedepends="gnutls-devel gst-plugins-base1-devel totem-pl-parser-devel
libbluetooth-devel evolution-data-server-devel>=3.8.0 dbus-glib-devel
clutter-gst-devel>=2.0.2_2 clutter-gtk-devel>=1.4.4
libpeas-devel libXtst-devel grilo-devel>=0.2.0 libepc-devel vala-devel>=0.20
gst-plugins-bad1-devel>=1.0.0_2 gsettings-desktop-schemas-devel>=3.8.0
libzeitgeist-devel nautilus-devel>=3.8.0 gst-plugins-ugly1 gst-plugins-good1"
# XXX xulrunner plugin.
# XXX reenable python plugin if pylint pkg exists.
#pycompile_dirs="usr/lib/totem/plugins"
libtotem_package() {
short_desc="${short_desc} - runtime library"
replaces="totem<3.6.2"
pkg_install() {
vmove "usr/lib/*.so*"
vmove usr/lib/girepository-1.0
}
}
totem-devel_package() {
depends="gtk+3-devel totem-pl-parser-devel libtotem-${version}_${revision}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
vmove usr/share/gtk-doc
}
}
totem-mozilla-plugin_package() {
short_desc="Mozilla plug-in for Totem media player"
pkg_install() {
vmove usr/lib/mozilla
}
}
totem_package() {
depends="grilo-plugins>=0.2.0 hicolor-icon-theme desktop-file-utils
gst-libav gst-plugins-ugly1 gst-plugins-good1"
pkg_install() {
vmove usr
}
}