nautilus: added gir build option to allow cross compilation.
This commit is contained in:
parent
43f0859660
commit
ad763ce579
|
@ -1,12 +1,11 @@
|
|||
# Template file for 'nautilus'
|
||||
pkgname=nautilus
|
||||
version=3.18.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-update-mimedb --disable-debug
|
||||
--disable-schemas-compile --disable-nst-extension"
|
||||
hostmakedepends="pkg-config intltool gobject-introspection
|
||||
glib-devel"
|
||||
--disable-schemas-compile --disable-nst-extension $(vopt_enable gir introspection)"
|
||||
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)"
|
||||
makedepends="gtk+3-devel libnotify-devel libexif-devel exempi-devel
|
||||
libxml2-devel tracker-devel gnome-desktop-devel"
|
||||
depends="hicolor-icon-theme desktop-file-utils gsettings-desktop-schemas>=3.14"
|
||||
|
@ -17,6 +16,11 @@ license="GPL-2, LGPL-2.1"
|
|||
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
||||
checksum=9db310b255268f1bd5e93642821a138029550d96a51b408528377d6b121d55ad
|
||||
|
||||
build_options="gir"
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="gir"
|
||||
fi
|
||||
|
||||
libnautilus_package() {
|
||||
short_desc+=" - shared libraries"
|
||||
pkg_install() {
|
||||
|
@ -30,7 +34,9 @@ nautilus-devel_package() {
|
|||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/share/gir-1.0
|
||||
vmove usr/share/gtk-doc
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue