libmediaart: update to 1.9.5.

This commit is contained in:
Enno Boland 2021-10-04 17:43:14 +02:00
parent e8ef7219b6
commit cacfad020b
No known key found for this signature in database
GPG key ID: 5A7B9F1D0DFEB55D

View file

@ -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 <orphan@voidlinux.org>"
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