totem-pl-parser: update to 3.10.1.

This commit is contained in:
Juan RP 2014-02-19 09:41:08 +01:00
parent f84bef8e15
commit 7e16a47a37
1 changed files with 26 additions and 7 deletions

View File

@ -1,11 +1,12 @@
# Template file for 'totem-pl-parser'
pkgname=totem-pl-parser
version=3.10.0
version=3.10.1
revision=1
build_style=gnu-configure
# XXX needs libquvi>=0.9
configure_args="--disable-static --enable-libarchive --enable-libgcrypt"
hostmakedepends="pkg-config intltool gobject-introspection"
configure_args="--disable-static --enable-libarchive --enable-libgcrypt
--with-libgcrypt-prefix=${XBPS_CROSS_BASE}/usr"
hostmakedepends="pkg-config intltool glib-devel"
makedepends="libsoup-gnome-devel>=2.44 gmime-devel libarchive-devel>=3.1.2 libgcrypt-devel"
depends="libsoup-gnome>=2.44"
short_desc="Totem playlist parser library"
@ -13,17 +14,35 @@ maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=87eac3fdf2b632dfac0edda07906a3e84f1ce4442b8127394414020dafe41aa9
checksum=13d20222e7230eff1b22acc2b6b54d3c910590782a3ac39b859857407fb5e413
# Package build options
build_options="gir"
desc_option_gir="Enable support for building gobject introspection data"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
if [ "$build_option_gir" ]; then
configure_args+=" --enable-introspection"
makedepends+=" gobject-introspection"
else
configure_args+=" --disable-introspection"
fi
totem-pl-parser-devel_package() {
depends="libglib-devel libxml2-devel gmime-devel libquvi-devel
libgcrypt-devel ${sourcepkg}>=${version}"
libgcrypt-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
vmove usr/share/gtk-doc
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
vmove usr/share/gtk-doc
}
}