2010-11-20 03:31:31 +01:00
|
|
|
# Template file for 'totem-pl-parser'
|
|
|
|
pkgname=totem-pl-parser
|
2014-02-19 09:41:08 +01:00
|
|
|
version=3.10.1
|
2013-03-28 10:32:12 +01:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-09-26 21:17:10 +02:00
|
|
|
# XXX needs libquvi>=0.9
|
2014-02-19 09:41:08 +01:00
|
|
|
configure_args="--disable-static --enable-libarchive --enable-libgcrypt
|
|
|
|
--with-libgcrypt-prefix=${XBPS_CROSS_BASE}/usr"
|
|
|
|
hostmakedepends="pkg-config intltool glib-devel"
|
2013-09-26 21:17:10 +02:00
|
|
|
makedepends="libsoup-gnome-devel>=2.44 gmime-devel libarchive-devel>=3.1.2 libgcrypt-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="libsoup-gnome>=2.44"
|
2010-11-20 03:31:31 +01:00
|
|
|
short_desc="Totem playlist parser library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-02-20 15:03:54 +01:00
|
|
|
homepage="http://www.gnome.org"
|
|
|
|
license="GPL-2"
|
2013-09-26 21:17:10 +02:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
2014-02-19 09:41:08 +01:00
|
|
|
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
|
2013-04-14 15:09:59 +02:00
|
|
|
|
|
|
|
totem-pl-parser-devel_package() {
|
|
|
|
depends="libglib-devel libxml2-devel gmime-devel libquvi-devel
|
2014-02-19 09:41:08 +01:00
|
|
|
libgcrypt-devel ${sourcepkg}>=${version}_${revision}"
|
2013-05-14 14:43:02 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 15:09:59 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-26 21:17:10 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2014-02-19 09:41:08 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
|
|
|
vmove usr/share/gtk-doc
|
2013-04-14 15:09:59 +02:00
|
|
|
}
|
|
|
|
}
|