tracker: added gir build option; remove long_desc.
This commit is contained in:
parent
e1cd11b875
commit
343cd33229
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'tracker'
|
# Template file for 'tracker'
|
||||||
pkgname=tracker
|
pkgname=tracker
|
||||||
version=0.16.4
|
version=0.16.4
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-libflac --enable-libvorbis --disable-unit-tests
|
configure_args="--enable-libflac --enable-libvorbis --disable-unit-tests
|
||||||
--enable-libtiff --disable-static --enable-network-manager"
|
--enable-libtiff --disable-static --enable-network-manager"
|
||||||
hostmakedepends="pkg-config intltool gobject-introspection"
|
hostmakedepends="pkg-config intltool"
|
||||||
makedepends="libpng-devel>=1.6 libgee-devel libsecret-devel upower-devel
|
makedepends="libpng-devel>=1.6 libgee-devel libsecret-devel upower-devel
|
||||||
exempi-devel poppler-glib-devel gupnp-dlna-devel libgxps-devel
|
exempi-devel poppler-glib-devel gupnp-dlna-devel libgxps-devel
|
||||||
libgsf-devel icu-devel>=49 enca-devel libvorbis-devel libflac-devel
|
libgsf-devel icu-devel>=49 enca-devel libvorbis-devel libflac-devel
|
||||||
|
@ -17,21 +17,31 @@ license="GPL-2"
|
||||||
homepage="http://live.gnome.org/Tracker"
|
homepage="http://live.gnome.org/Tracker"
|
||||||
distfiles="${GNOME_SITE}/$pkgname/0.16/$pkgname-$version.tar.xz"
|
distfiles="${GNOME_SITE}/$pkgname/0.16/$pkgname-$version.tar.xz"
|
||||||
checksum=9c2f50839c2b8b352ab9a022597ef985c1900e6286c0c3bcb7a64da39dbb3580
|
checksum=9c2f50839c2b8b352ab9a022597ef985c1900e6286c0c3bcb7a64da39dbb3580
|
||||||
long_desc="
|
|
||||||
Tracker trawls through your data and organises it so that it can be retrieved
|
# Package build options
|
||||||
extremely quickly later on via simple searches. This organisation puts your
|
build_options="gir"
|
||||||
data into categories so that application like photo managers and music players
|
desc_option_gir="Enable support for building gobject introspection data"
|
||||||
can instantly find relevant content automatically. Tracker enables you to tag
|
|
||||||
your data with keywords which can be used to find related information or to
|
# Disable gir for cross builds.
|
||||||
group and categorise your data further. Tracker lets you extend your data
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
with additional metadata."
|
build_options_default="gir"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$build_option_gir" ]; then
|
||||||
|
configure_args+=" --enable-introspection"
|
||||||
|
makedepends+=" gobject-introspection"
|
||||||
|
else
|
||||||
|
configure_args+=" --disable-introspection"
|
||||||
|
fi
|
||||||
|
|
||||||
tracker-devel_package() {
|
tracker-devel_package() {
|
||||||
depends="libglib-devel libtracker>=${version}_${revision}"
|
depends="libglib-devel libtracker>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/share/gir-1.0
|
if [ "$build_option_gir" ]; then
|
||||||
|
vmove usr/share/gir-1.0
|
||||||
|
fi
|
||||||
vmove usr/share/gtk-doc
|
vmove usr/share/gtk-doc
|
||||||
vmove usr/share/vala
|
vmove usr/share/vala
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
|
@ -44,6 +54,8 @@ libtracker_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/*.so.*"
|
vmove "usr/lib/*.so.*"
|
||||||
vmove "usr/lib/tracker-0.16/*.so*"
|
vmove "usr/lib/tracker-0.16/*.so*"
|
||||||
vmove usr/lib/girepository-1.0
|
if [ "$build_option_gir" ]; then
|
||||||
|
vmove usr/lib/girepository-1.0
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue