libical: cross GOject-Introspection
This commit is contained in:
parent
be59ed88f6
commit
dfb575d6e8
1 changed files with 11 additions and 5 deletions
|
@ -1,9 +1,9 @@
|
|||
# Template file for 'libical'
|
||||
pkgname=libical
|
||||
version=3.0.8
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=cmake
|
||||
build_helper="gir"
|
||||
build_helper="gir qemu"
|
||||
configure_args="-DICAL_BUILD_DOCS=false
|
||||
$(vopt_if gir '-DGOBJECT_INTROSPECTION=true -DICAL_GLIB_VAPI=true')"
|
||||
hostmakedepends="gettext libglib-devel libxml2-devel perl pkg-config $(vopt_if gir vala)"
|
||||
|
@ -19,9 +19,15 @@ patch_args="-Np1"
|
|||
disable_parallel_build=yes
|
||||
|
||||
build_options="gir"
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="gir"
|
||||
|
||||
post_configure() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# QEMU_SET_ENV=LD_LIBRARY_PATH=/builddir/libical-3.0.8/build/lib
|
||||
# in pre_build doesn't work??
|
||||
ln -sf ../../lib/libical.so.3 build/src/libical-glib
|
||||
fi
|
||||
}
|
||||
|
||||
libical-devel_package() {
|
||||
depends="icu-devel ${sourcepkg}>=${version}_${revision}"
|
||||
|
|
Loading…
Reference in a new issue