void-packages/srcpkgs/totem/template
2018-06-20 02:21:25 -03:00

53 lines
1.7 KiB
Bash

# Template file for 'totem'
pkgname=totem
version=3.26.1
revision=1
build_style=meson
configure_args="-Denable-python=no -Denable-nautilius=yes"
hostmakedepends="gnome-doc-utils intltool itstool pkg-config
$(vopt_if gir 'gobject-introspection')"
# XXX missing lirc plugin.
makedepends="clutter-gst3-devel clutter-gtk-devel dbus-glib-devel
evolution-data-server-devel gnome-desktop-devel grilo-devel gst-plugins-good1
gst-plugins-ugly1 libSM-devel libXtst-devel libepc-devel libpeas-devel
nautilus-devel vala-devel zeitgeist-devel"
depends="grilo-plugins gst-libav gst-plugins-good1 gst-plugins-ugly1"
short_desc="A GNOME integrated movie player based on Gstreamer"
maintainer="Enno Boland <gottox@voidlinux.eu>"
homepage="http://www.gnome.org"
license="LGPL-2.0-or-later, GPL-2.0-or-later"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=298160c9ee8d34f1ac6586c69e0440e3586a75fd4b1719d79f908edb9c00c382
hostmakedepends="gnome-doc-utils intltool itstool pkg-config
$(vopt_if gir 'gobject-introspection')"
# XXX xulrunner plugin.
# XXX reenable python plugin if pylint pkg exists.
#pycompile_dirs="usr/lib/totem/plugins"
disable_parallel_build=yes
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
libtotem_package() {
short_desc+=" - runtime library"
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"
}
}