2011-10-03 11:19:57 +02:00
|
|
|
# Template file for 'tracker'
|
|
|
|
pkgname=tracker
|
2014-03-27 14:56:49 +01:00
|
|
|
version=1.0.0
|
2014-03-27 16:22:15 +01:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-10-03 11:19:57 +02:00
|
|
|
configure_args="--enable-libflac --enable-libvorbis --disable-unit-tests
|
2012-10-15 16:48:35 +02:00
|
|
|
--enable-libtiff --disable-static --enable-network-manager"
|
2014-02-16 11:48:45 +01:00
|
|
|
hostmakedepends="pkg-config intltool"
|
2014-03-27 16:22:15 +01:00
|
|
|
makedepends="libpng-devel>=1.6 libgee-devel libsecret-devel upower-devel>=0.99
|
2013-03-28 10:06:05 +01:00
|
|
|
exempi-devel poppler-glib-devel gupnp-dlna-devel libgxps-devel
|
2012-10-15 16:48:35 +02:00
|
|
|
libgsf-devel icu-devel>=49 enca-devel libvorbis-devel libflac-devel
|
2013-09-26 21:18:47 +02:00
|
|
|
taglib-devel giflib-devel>=5.0 totem-pl-parser-devel>=3.10
|
2014-03-27 14:56:49 +01:00
|
|
|
libexif-devel tiff-devel network-manager-applet-devel sqlite-devel
|
|
|
|
libmediaart-devel"
|
2011-10-03 11:19:57 +02:00
|
|
|
short_desc="Personal search tool and storage system"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-13 19:03:41 +02:00
|
|
|
license="GPL-2"
|
2012-06-06 10:30:04 +02:00
|
|
|
homepage="http://live.gnome.org/Tracker"
|
2014-03-27 14:56:49 +01:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
|
|
checksum=a1d033faf2c78f0e239f3c2c961b96623c9a7dabd938c08e3f5660bd70f54ba2
|
2014-02-16 11:48:45 +01: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-04-14 15:09:59 +02:00
|
|
|
|
|
|
|
tracker-devel_package() {
|
2013-11-23 11:22:43 +01:00
|
|
|
depends="libglib-devel libtracker>=${version}_${revision}"
|
2013-04-30 11:39:39 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 15:09:59 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2014-02-16 11:48:45 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-14 15:09:59 +02:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
vmove usr/share/vala
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-08-03 16:30:19 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 15:09:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libtracker_package() {
|
2013-04-30 11:39:39 +02:00
|
|
|
short_desc+=" - shared libraries"
|
2013-04-14 15:09:59 +02:00
|
|
|
pkg_install() {
|
2013-08-03 16:30:19 +02:00
|
|
|
vmove "usr/lib/*.so.*"
|
2014-03-27 14:56:49 +01:00
|
|
|
vmove "usr/lib/tracker-1.0/*.so*"
|
2014-02-16 11:48:45 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/lib/girepository-1.0
|
|
|
|
fi
|
2013-04-14 15:09:59 +02:00
|
|
|
}
|
|
|
|
}
|