diff --git a/srcpkgs/libmediaart/template b/srcpkgs/libmediaart/template index d32cce6973..0d1d9f5123 100644 --- a/srcpkgs/libmediaart/template +++ b/srcpkgs/libmediaart/template @@ -1,23 +1,29 @@ # Template file for 'libmediaart' pkgname=libmediaart -version=1.9.4 -revision=3 -build_style=gnu-configure +version=1.9.5 +revision=1 +build_style=meson build_helper="gir" -configure_args="$(vopt_enable gir introspection) $(vopt_enable vala)" -hostmakedepends="pkg-config intltool glib-devel $(vopt_if vala vala)" +configure_args="$(vopt_bool gtk_doc)" +hostmakedepends="pkg-config intltool glib-devel $(vopt_if vala vala) + $(vopt_if gtk_doc gtk-doc)" makedepends="libglib-devel gdk-pixbuf-devel $(vopt_if vala vala)" short_desc="Media art extraction and cache management library" maintainer="Orphaned " license="LGPL-2.1-or-later" homepage="http://www.gnome.org/" +changelog="https://gitlab.gnome.org/GNOME/libmediaart/-/raw/master/NEWS" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" -checksum=a57be017257e4815389afe4f58fdacb6a50e74fd185452b23a652ee56b04813d +checksum=07def5a42c482ae71d3e1f77a4d0fdc337f74226059a65284d6d5a241f0e9cd6 # Package build options -build_options="gir vala" +build_options="gir vala gtk_doc" build_options_default="gir vala" +if [ -z "$CROSS_BUILD" ]; then + build_options_default+=" gtk_doc" +fi + libmediaart-devel_package() { depends="${makedepends} ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" @@ -25,7 +31,9 @@ libmediaart-devel_package() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.so" - vmove usr/share/gtk-doc + if [ "$build_option_gtk_doc" ]; then + vmove usr/share/gtk-doc + fi if [ "$build_option_gir" ]; then vmove usr/share/gir-1.0 fi