45 lines
1.3 KiB
Bash
45 lines
1.3 KiB
Bash
# Template file for 'totem-pl-parser'
|
|
pkgname=totem-pl-parser
|
|
version=3.26.2
|
|
revision=1
|
|
build_style=meson
|
|
# XXX needs libquvi>=0.9
|
|
configure_args="-Denable-libarchive=yes -Denable-libgcrypt=yes"
|
|
hostmakedepends="glib-devel intltool pkg-config
|
|
$(vopt_if gir 'gobject-introspection')"
|
|
makedepends="libarchive-devel libgcrypt-devel libsoup-gnome-devel"
|
|
short_desc="Totem playlist parser library"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="LGPL-2.0-or-later"
|
|
homepage="https://gitlab.gnome.org/GNOME/totem-pl-parser"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=d386acf965a44597e25ddee4a42ccde3c649a55b657e3a605648815b70861c3a
|
|
|
|
# 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} totem-pl-parser-${version}_${revision}
|
|
libtotem-plparser-mini-${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
|
|
}
|
|
}
|
|
|
|
libtotem-plparser-mini_package() {
|
|
short_desc+=" - totem-plparser-mini library"
|
|
pkg_install() {
|
|
vmove "usr/lib/libtotem-plparser-mini.so.*"
|
|
}
|
|
}
|