void-packages/srcpkgs/totem/template

48 lines
1.6 KiB
Bash

# Template file for 'totem'
pkgname=totem
version=43.0
revision=1
build_style=meson
build_helper="gir"
configure_args="-Denable-python=no"
hostmakedepends="gettext itstool pkg-config gstreamer1 gst-plugins-base1
gst-plugins-good1 glib-devel"
makedepends="clutter-gst3-devel clutter-gtk-devel dbus-glib-devel libhandy1-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"
checkdepends="xvfb-run"
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"
#changelog="https://gitlab.gnome.org/GNOME/totem/-/raw/gnome-43/NEWS"
changelog="https://gitlab.gnome.org/GNOME/totem/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/totem/${version%.*}/totem-${version}.tar.xz"
checksum=b36d3655928b5896462a4d39f83b6ad66d37dbc9c99dceb02ea8a2e37394a41e
make_check_pre="xvfb-run"
# XXX xulrunner plugin.
# XXX reenable python plugin if pylint pkg exists.
#pycompile_dirs="usr/lib/totem/plugins"
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/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
}
}