2011-10-02 17:02:00 +02:00
|
|
|
# Template file for 'grilo'
|
|
|
|
pkgname=grilo
|
2015-02-18 09:25:52 +01:00
|
|
|
version=0.2.12
|
2014-02-19 09:45:14 +01:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2015-02-18 09:32:43 +01:00
|
|
|
configure_args="--disable-static --disable-vala $(vopt_enable gir introspection)"
|
2015-02-18 09:25:52 +01:00
|
|
|
hostmakedepends="libtool pkg-config intltool
|
2015-03-27 10:50:40 +01:00
|
|
|
$(vopt_if gir 'vala-devel gobject-introspection')"
|
2015-02-18 09:25:52 +01:00
|
|
|
makedepends="gtk+3-devel libxml2-devel libsoup-devel liboauth-devel totem-pl-parser-devel"
|
2011-10-02 17:02:00 +02:00
|
|
|
short_desc="Framework focused on making media discovery and browsing easy"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-10-02 17:02:00 +02:00
|
|
|
license="LGPL-2.1"
|
2012-08-13 15:41:22 +02:00
|
|
|
homepage="http://live.gnome.org/Grilo"
|
2012-09-26 07:08:36 +02:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/0.2/$pkgname-$version.tar.xz"
|
2015-02-18 09:25:52 +01:00
|
|
|
checksum=55b4663550bc8185f8db232e96b9ba99fbfa9175e31e7321fa5ccaacf3617b85
|
2011-10-02 17:02:00 +02:00
|
|
|
|
2014-02-19 09:45:14 +01:00
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
2013-09-19 15:12:27 +02:00
|
|
|
pre_configure() {
|
2014-02-19 09:45:14 +01:00
|
|
|
libtoolize -f
|
2013-09-19 15:12:27 +02:00
|
|
|
}
|
|
|
|
|
2013-04-12 15:11:12 +02:00
|
|
|
grilo-devel_package() {
|
2015-02-18 09:25:52 +01:00
|
|
|
depends="${makedepends} grilo>=${version}_${revision}"
|
2013-05-28 09:23:29 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 15:11:12 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2014-02-19 09:45:14 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
2015-02-18 09:32:43 +01:00
|
|
|
#vmove "usr/share/vala*/*"
|
2014-02-19 09:45:14 +01:00
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-12 15:11:12 +02:00
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-19 15:08:32 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 15:11:12 +02:00
|
|
|
}
|
|
|
|
}
|