# Template file for 'libmediaart' pkgname=libmediaart version=1.9.5 revision=1 build_style=meson build_helper="gir" 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=07def5a42c482ae71d3e1f77a4d0fdc337f74226059a65284d6d5a241f0e9cd6 # Package build options 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" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.so" if [ "$build_option_gtk_doc" ]; then vmove usr/share/gtk-doc fi if [ "$build_option_gir" ]; then vmove usr/share/gir-1.0 fi if [ "$build_option_vala" ]; then vmove usr/share/vala fi } }