void-packages/srcpkgs/totem/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

53 lines
1.7 KiB
Bash

# Template file for 'totem'
pkgname=totem
version=3.14.2
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=967dcf3070365a82873e5bc678299d5fb058f87f151d1e22d60313fab2ac09cc
build_style=gnu-configure
configure_args="--disable-static --disable-schemas-compile
--disable-python --enable-nautilus"
hostmakedepends="pkg-config intltool gnome-doc-utils
itstool gobject-introspection"
# XXX missing lirc plugin.
makedepends="
gnutls-devel gst-plugins-base1-devel totem-pl-parser-devel
evolution-data-server-devel dbus-glib-devel zeitgeist-devel
clutter-gst-devel clutter-gtk-devel libSM-devel
libpeas-devel libXtst-devel grilo-devel libepc-devel vala-devel
gst-plugins-bad1-devel gsettings-desktop-schemas-devel
nautilus-devel gst-plugins-ugly1 gst-plugins-good1
gnome-desktop-devel"
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"
}
}