void-packages/srcpkgs/totem/template

57 lines
1.8 KiB
Bash

# Template file for 'totem'
pkgname=totem
version=3.34.0
revision=1
build_style=meson
build_helper="gir"
configure_args="-Denable-python=no -Denable-nautilus=yes
-Denable-introspection=$(vopt_if gir yes no)
-Denable-vala=$(vopt_if vala yes no)"
hostmakedepends="gnome-doc-utils intltool itstool pkg-config
$(vopt_if vala vala) gstreamer1 gst-plugins-base1 gst-plugins-good1
glib-devel"
# 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 zeitgeist-devel gst-plugins-base1-devel"
depends="grilo-plugins gst-libav gst-plugins-good1 gst-plugins-ugly1 tracker"
short_desc="GNOME integrated movie player based on Gstreamer"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.0-or-later, GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/Videos"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=04d56ede3e04ad16579774b64908641e57f13731793c9a258e93fd04cca8d701
# XXX xulrunner plugin.
# XXX reenable python plugin if pylint pkg exists.
#pycompile_dirs="usr/lib/totem/plugins"
disable_parallel_build=yes
build_options="gir vala"
build_options_default="gir vala"
libtotem_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
if [ "$build_option_gir" ]; then
vmove usr/lib/girepository-1.0
fi
}
}
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/*.so"
vmove usr/lib/pkgconfig
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}