void-packages/srcpkgs/tracker/template

67 lines
1.9 KiB
Text
Raw Normal View History

2011-10-03 09:19:57 +00:00
# Template file for 'tracker'
pkgname=tracker
2014-07-11 18:47:00 +00:00
version=1.0.2
2014-05-10 07:32:26 +00:00
revision=1
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
ac_cv_lib_sqlite3_sqlite3_threadsafe=yes ax_cv_sqlite_threadsafe=yes"
hostmakedepends="libtool pkg-config intltool glib-devel"
2014-05-10 07:32:26 +00:00
makedepends="
libpng-devel>=1.6 libgee-devel libsecret-devel upower-devel>=0.99
exempi-devel poppler-glib-devel gupnp-dlna-devel libgxps-devel
2012-10-15 14:48:35 +00:00
libgsf-devel icu-devel>=49 enca-devel libvorbis-devel libflac-devel
taglib-devel giflib-devel>=5.0 totem-pl-parser-devel>=3.10
libexif-devel tiff-devel network-manager-applet-devel sqlite-devel
libmediaart-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"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
2014-07-11 18:47:00 +00:00
checksum=73491517006a58802630ff28243fc6fe07a24fe8bea563670da0ad28595468c4
# Package build options
build_options="gir"
# 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
2014-05-10 08:04:35 +00:00
pre_configure() {
libtoolize -f
}
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"
pkg_install() {
vmove usr/include
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
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"
}
}
libtracker_package() {
2013-04-30 09:39:39 +00:00
short_desc+=" - shared libraries"
pkg_install() {
2013-08-03 14:30:19 +00:00
vmove "usr/lib/*.so.*"
vmove "usr/lib/tracker-1.0/*.so*"
if [ "$build_option_gir" ]; then
vmove usr/lib/girepository-1.0
fi
}
}