1c5f4690e6
That means that version comparators are not supported anymore in hostmakedepends and makedepends. This will ensure that a pkg is always built with the same build dependencies everywhere, if the srcpkgs tree is uptodate.
61 lines
1.9 KiB
Bash
61 lines
1.9 KiB
Bash
# Template file for 'tracker'
|
|
pkgname=tracker
|
|
version=1.2.5
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--enable-libflac --enable-libvorbis --disable-unit-tests
|
|
--enable-libtiff --disable-static --enable-network-manager
|
|
$(vopt_enable gir introspection)
|
|
ac_cv_lib_sqlite3_sqlite3_threadsafe=yes ax_cv_sqlite_threadsafe=yes"
|
|
hostmakedepends="automake libtool pkg-config intltool glib-devel
|
|
gettext-devel gobject-introspection"
|
|
makedepends="
|
|
libpng-devel libgee-devel libsecret-devel upower-devel
|
|
exempi-devel poppler-glib-devel gupnp-dlna-devel libgxps-devel
|
|
libgsf-devel icu-devel enca-devel libvorbis-devel libflac-devel
|
|
taglib-devel giflib-devel totem-pl-parser-devel
|
|
libexif-devel tiff-devel network-manager-applet-devel sqlite-devel
|
|
libmediaart-devel libuuid-devel"
|
|
short_desc="Personal search tool and storage system"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="http://live.gnome.org/Tracker"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=1e614bc33f93d5820f3c90510e11210bf34d02dba6ccbd3dc30097758a6d31aa
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
# Disable gir for cross builds.
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
tracker-devel_package() {
|
|
depends="libglib-devel libtracker>=${version}_${revision}"
|
|
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
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
libtracker_package() {
|
|
shlib_provides="libtracker-common.so.0 libtracker-data.so.0 libtracker-extract.so.0"
|
|
short_desc+=" - shared libraries"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
vmove "usr/lib/tracker-1.0/*.so*"
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/lib/girepository-1.0
|
|
fi
|
|
}
|
|
}
|