totem: enable gir, add vala build_option
This commit is contained in:
parent
55d6174bd9
commit
4fb99219ec
|
@ -1,18 +1,22 @@
|
|||
# Template file for 'totem'
|
||||
pkgname=totem
|
||||
version=3.30.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=meson
|
||||
configure_args="-Denable-python=no -Denable-nautilius=yes"
|
||||
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 gir 'gobject-introspection')"
|
||||
$(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 vala-devel zeitgeist-devel"
|
||||
nautilus-devel zeitgeist-devel gst-plugins-base1-devel"
|
||||
depends="grilo-plugins gst-libav gst-plugins-good1 gst-plugins-ugly1 tracker"
|
||||
short_desc="A GNOME integrated movie player based on Gstreamer"
|
||||
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"
|
||||
|
@ -25,16 +29,21 @@ checksum=6011a4511c385011c3ed7491154f679e9fda83b7fde79773a5b0d7d5979f5065
|
|||
|
||||
disable_parallel_build=yes
|
||||
|
||||
build_options="gir"
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="gir"
|
||||
fi
|
||||
build_options="gir vala"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64-musl) build_options_default+=" gir vala" ;;
|
||||
*-musl) ;;
|
||||
*) build_options_default+=" gir vala" ;;
|
||||
esac
|
||||
|
||||
libtotem_package() {
|
||||
short_desc+=" - runtime library"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/*.so.*"
|
||||
vmove usr/lib/girepository-1.0
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/lib/girepository-1.0
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -43,9 +52,10 @@ totem-devel_package() {
|
|||
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"
|
||||
vmove usr/lib/pkgconfig
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue