2010-11-20 02:31:31 +00:00
|
|
|
# Template file for 'totem-pl-parser'
|
|
|
|
pkgname=totem-pl-parser
|
2015-02-18 08:17:57 +00:00
|
|
|
version=3.10.4
|
2014-09-08 18:58:20 +00:00
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-09-26 19:17:10 +00:00
|
|
|
# XXX needs libquvi>=0.9
|
2014-02-19 08:41:08 +00:00
|
|
|
configure_args="--disable-static --enable-libarchive --enable-libgcrypt
|
2014-09-08 18:58:20 +00:00
|
|
|
$(vopt_enable gir introspection)"
|
|
|
|
hostmakedepends="pkg-config intltool glib-devel
|
|
|
|
$(vopt_if gir gobject-introspection)"
|
2013-09-26 19:17:10 +00:00
|
|
|
makedepends="libsoup-gnome-devel>=2.44 gmime-devel libarchive-devel>=3.1.2 libgcrypt-devel"
|
2010-11-20 02:31:31 +00:00
|
|
|
short_desc="Totem playlist parser library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-02-20 14:03:54 +00:00
|
|
|
homepage="http://www.gnome.org"
|
|
|
|
license="GPL-2"
|
2013-09-26 19:17:10 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
2015-02-18 08:17:57 +00:00
|
|
|
checksum=482353f8466b1cab06d99c0a112a4adc414bf43b9c8f3bd636570d20d1f4e265
|
2014-02-19 08:41:08 +00:00
|
|
|
|
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
2013-04-14 13:09:59 +00:00
|
|
|
totem-pl-parser-devel_package() {
|
2014-09-08 18:58:20 +00:00
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
2013-05-14 12:43:02 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 13:09:59 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-26 19:17:10 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2014-02-19 08:41:08 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
|
|
|
vmove usr/share/gtk-doc
|
2013-04-14 13:09:59 +00:00
|
|
|
}
|
|
|
|
}
|