2011-10-03 09:19:57 +00:00
|
|
|
# Template file for 'tracker'
|
|
|
|
pkgname=tracker
|
2015-01-13 16:11:44 +00:00
|
|
|
version=1.2.5
|
2015-01-21 09:14:25 +00:00
|
|
|
revision=2
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-10-03 09:19:57 +00:00
|
|
|
configure_args="--enable-libflac --enable-libvorbis --disable-unit-tests
|
2014-05-10 08:04:35 +00:00
|
|
|
--enable-libtiff --disable-static --enable-network-manager
|
2014-09-02 21:58:22 +00:00
|
|
|
$(vopt_enable gir introspection)
|
2014-05-10 08:04:35 +00:00
|
|
|
ac_cv_lib_sqlite3_sqlite3_threadsafe=yes ax_cv_sqlite_threadsafe=yes"
|
2015-01-13 16:11:44 +00:00
|
|
|
hostmakedepends="automake libtool pkg-config intltool glib-devel
|
|
|
|
gettext-devel gobject-introspection"
|
2014-05-10 07:32:26 +00:00
|
|
|
makedepends="
|
|
|
|
libpng-devel>=1.6 libgee-devel libsecret-devel upower-devel>=0.99
|
2013-03-28 09:06:05 +00:00
|
|
|
exempi-devel poppler-glib-devel gupnp-dlna-devel libgxps-devel
|
2014-10-15 09:12:39 +00:00
|
|
|
libgsf-devel icu-devel>=54 enca-devel libvorbis-devel libflac-devel
|
2014-10-03 18:19:30 +00:00
|
|
|
taglib-devel giflib-devel>=5.1.0 totem-pl-parser-devel>=3.10
|
2014-03-27 13:56:49 +00:00
|
|
|
libexif-devel tiff-devel network-manager-applet-devel sqlite-devel
|
2015-01-13 16:11:44 +00:00
|
|
|
libmediaart-devel libuuid-devel"
|
2011-10-03 09:19:57 +00:00
|
|
|
short_desc="Personal search tool and storage system"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-13 17:03:41 +00:00
|
|
|
license="GPL-2"
|
2012-06-06 08:30:04 +00:00
|
|
|
homepage="http://live.gnome.org/Tracker"
|
2014-03-27 13:56:49 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
2015-01-13 16:11:44 +00:00
|
|
|
checksum=1e614bc33f93d5820f3c90510e11210bf34d02dba6ccbd3dc30097758a6d31aa
|
2014-02-16 10:48:45 +00:00
|
|
|
|
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
2014-05-10 08:04:35 +00:00
|
|
|
pre_configure() {
|
2015-01-13 16:11:44 +00:00
|
|
|
autoreconf -fi
|
2014-05-10 08:04:35 +00:00
|
|
|
}
|
|
|
|
|
2013-04-14 13:09:59 +00:00
|
|
|
tracker-devel_package() {
|
2013-11-23 10:22:43 +00:00
|
|
|
depends="libglib-devel libtracker>=${version}_${revision}"
|
2013-04-30 09:39:39 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 13:09:59 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2014-02-16 10:48:45 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-14 13:09:59 +00:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
vmove usr/share/vala
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-08-03 14:30:19 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 13:09:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
libtracker_package() {
|
2015-01-21 09:14:25 +00:00
|
|
|
shlib_provides="libtracker-common.so.0 libtracker-data.so.0 libtracker-extract.so.0"
|
2013-04-30 09:39:39 +00:00
|
|
|
short_desc+=" - shared libraries"
|
2013-04-14 13:09:59 +00:00
|
|
|
pkg_install() {
|
2013-08-03 14:30:19 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2014-03-27 13:56:49 +00:00
|
|
|
vmove "usr/lib/tracker-1.0/*.so*"
|
2014-02-16 10:48:45 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/lib/girepository-1.0
|
|
|
|
fi
|
2013-04-14 13:09:59 +00:00
|
|
|
}
|
|
|
|
}
|