totem: remove gir build option

This commit is contained in:
Michal Vasilek 2021-11-13 21:56:50 +01:00 committed by paper
parent e583417fc7
commit 1079f328fe

View file

@ -4,12 +4,9 @@ version=3.38.0
revision=1 revision=1
build_style=meson build_style=meson
build_helper="gir" build_helper="gir"
configure_args="-Denable-python=no -Denable-nautilus=yes configure_args="-Denable-python=no"
-Denable-introspection=$(vopt_if gir yes no) hostmakedepends="intltool itstool pkg-config gstreamer1 gst-plugins-base1
-Denable-vala=$(vopt_if gir yes no)" gst-plugins-good1 glib-devel"
hostmakedepends="intltool itstool pkg-config
$(vopt_if gir vala) gstreamer1 gst-plugins-base1 gst-plugins-good1
glib-devel"
# XXX missing lirc plugin. # XXX missing lirc plugin.
makedepends="clutter-gst3-devel clutter-gtk-devel dbus-glib-devel makedepends="clutter-gst3-devel clutter-gtk-devel dbus-glib-devel
evolution-data-server-devel gnome-desktop-devel grilo-devel gst-plugins-good1 evolution-data-server-devel gnome-desktop-devel grilo-devel gst-plugins-good1
@ -31,16 +28,11 @@ do_check() {
: :
} }
build_options="gir"
build_options_default="gir"
libtotem_package() { libtotem_package() {
short_desc+=" - runtime library" short_desc+=" - runtime library"
pkg_install() { pkg_install() {
vmove "usr/lib/*.so.*" vmove "usr/lib/*.so.*"
if [ "$build_option_gir" ]; then vmove usr/lib/girepository-1.0
vmove usr/lib/girepository-1.0
fi
} }
} }
@ -51,8 +43,6 @@ totem-devel_package() {
vmove usr/include vmove usr/include
vmove "usr/lib/*.so" vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
if [ "$build_option_gir" ]; then vmove usr/share/gir-1.0
vmove usr/share/gir-1.0
fi
} }
} }