void-packages/srcpkgs/totem/template
2014-05-01 09:00:31 +02:00

60 lines
1.9 KiB
Text

# Template file for 'totem'
pkgname=totem
version=3.12.1
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/${version%.*}/$pkgname-$version.tar.xz"
checksum=dd168cdd4051d01131d47c24fa45bfd08b6ccf45900ac4b64bae47f6f47a35e3
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"
# XXX missing lirc plugin.
makedepends="
gnutls-devel gst-plugins-base1-devel>=1:1.2.4 totem-pl-parser-devel>=3.10
evolution-data-server-devel>=3.12 dbus-glib-devel zeitgeist-devel>=0.9.14
clutter-gst-devel>=2.0.10 clutter-gtk-devel>=1.5.2 libSM-devel
libpeas-devel>=1.9 libXtst-devel grilo-devel>=0.2.7 libepc-devel vala-devel>=0.24
gst-plugins-bad1-devel>=1:1.2.4 gsettings-desktop-schemas-devel>=3.12
nautilus-devel>=3.12 gst-plugins-ugly1>=1:1.2.4 gst-plugins-good1>=1:1.2.4"
depends="grilo-plugins>=0.2.12 hicolor-icon-theme desktop-file-utils
gst-libav>=1:1.2.4 gst-plugins-ugly1>=1:1.2.4 gst-plugins-good1>=1:1.2.4"
# XXX xulrunner plugin.
# XXX reenable python plugin if pylint pkg exists.
#pycompile_dirs="usr/lib/totem/plugins"
libtotem_package() {
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+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
vmove usr/share/gtk-doc
vmove "usr/lib/*.so"
}
}
totem-mozilla-plugin_package() {
short_desc+=" - Mozilla plug-in"
pkg_install() {
vmove usr/lib/mozilla
}
}