void-packages/srcpkgs/totem-pl-parser/template

37 lines
1.1 KiB
Bash

# Template file for 'totem-pl-parser'
pkgname=totem-pl-parser
version=3.26.0
revision=1
build_style=meson
# XXX needs libquvi>=0.9
configure_args="-Denable-libarchive=yes -Denable-libgcrypt=yes"
hostmakedepends="pkg-config intltool glib-devel
$(vopt_if gir gobject-introspection)"
makedepends="libsoup-gnome-devel gmime-devel libarchive-devel libgcrypt-devel"
short_desc="Totem playlist parser library"
maintainer="Enno Boland <gottox@voidlinux.eu>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=f153a53391e9b42fed5cb6ce62322a58e323fde6ec4a54d8ba4d376cf4c1fbcb
# Package build options
build_options="gir"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
totem-pl-parser-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_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}