2011-10-02 15:02:00 +00:00
|
|
|
# Template file for 'grilo'
|
|
|
|
pkgname=grilo
|
2014-03-27 16:28:50 +00:00
|
|
|
version=0.2.10
|
2014-02-19 08:45:14 +00:00
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-11-08 22:11:40 +00:00
|
|
|
configure_args="--enable-vala --disable-static --libdir=/usr/lib"
|
2014-03-27 16:28:50 +00:00
|
|
|
hostmakedepends="libtool pkg-config intltool vala-devel>=0.24"
|
|
|
|
makedepends="vala-devel>=0.24 gtk+3-devel>=3.8 libxml2-devel
|
2014-02-19 08:45:14 +00:00
|
|
|
libsoup-devel>=2.44 liboauth-devel totem-pl-parser-devel"
|
2011-10-02 15:02:00 +00:00
|
|
|
short_desc="Framework focused on making media discovery and browsing easy"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="LGPL-2.1"
|
2012-08-13 13:41:22 +00:00
|
|
|
homepage="http://live.gnome.org/Grilo"
|
2012-09-26 05:08:36 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/0.2/$pkgname-$version.tar.xz"
|
2014-03-27 16:28:50 +00:00
|
|
|
checksum=559a2470fe541b0090bcfdfac7a33e92dba967727bbab6d0eca70e5636a77b25
|
2011-10-02 15:02:00 +00:00
|
|
|
|
2014-02-19 08:45:14 +00:00
|
|
|
# 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-03-28 17:37:51 +00:00
|
|
|
|
2013-09-19 13:12:27 +00:00
|
|
|
pre_configure() {
|
2014-02-19 08:45:14 +00:00
|
|
|
libtoolize -f
|
2013-09-19 13:12:27 +00:00
|
|
|
}
|
|
|
|
|
2013-04-12 13:11:12 +00:00
|
|
|
grilo-devel_package() {
|
2014-02-19 08:45:14 +00:00
|
|
|
depends="gtk+3-devel libxml2-devel libsoup-devel>=2.44 grilo>=${version}_${revision}"
|
2013-05-28 07:23:29 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 13:11:12 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2014-02-19 08:45:14 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-12 13:11:12 +00:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/share/vala*/*"
|
2013-09-19 13:08:32 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 13:11:12 +00:00
|
|
|
}
|
|
|
|
}
|