38 lines
1.1 KiB
Text
38 lines
1.1 KiB
Text
# Template file for 'totem-pl-parser'
|
|
pkgname=totem-pl-parser
|
|
version=3.10.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
# XXX needs libquvi>=0.9
|
|
configure_args="--disable-static --enable-libarchive --enable-libgcrypt
|
|
$(vopt_enable gir introspection)"
|
|
hostmakedepends="pkg-config intltool glib-devel
|
|
$(vopt_if gir gobject-introspection)"
|
|
makedepends="libsoup-gnome-devel>=2.44 gmime-devel libarchive-devel>=3.1.2 libgcrypt-devel"
|
|
short_desc="Totem playlist parser library"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://www.gnome.org"
|
|
license="GPL-2"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=14512c76c7f375d8bb9e9a220afbac20be2d2eb82abee9a8986d264079a0c72f
|
|
|
|
# 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
|
|
vmove usr/share/gtk-doc
|
|
}
|
|
}
|