gmime: always enable gir
Use the predefined iconv-detect.h and configure hints for iconv for all cross builds.
This commit is contained in:
parent
832d5f8a17
commit
834dab8325
1 changed files with 16 additions and 16 deletions
|
@ -3,34 +3,34 @@ pkgname=gmime
|
|||
version=2.6.23
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --disable-mono --enable-smime --with-gpgme-prefix=${XBPS_CROSS_BASE}/usr"
|
||||
hostmakedepends="pkg-config intltool $(vopt_if gir gobject-introspection)"
|
||||
build_helper="gir"
|
||||
configure_args="--disable-static --disable-mono --enable-smime
|
||||
--with-gpgme-prefix=${XBPS_CROSS_BASE}/usr"
|
||||
hostmakedepends="automake pkg-config intltool libtool
|
||||
$(vopt_if gir gobject-introspection)"
|
||||
makedepends="glib-devel gpgme-devel"
|
||||
short_desc="GNOME Core mime parsing library"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||
license="GPL-2"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="http://www.gnome.org/"
|
||||
distfiles="${GNOME_SITE}/gmime/${version%.*}/gmime-${version}.tar.xz"
|
||||
checksum=7149686a71ca42a1390869b6074815106b061aaeaaa8f2ef8c12c191d9a79f6a
|
||||
|
||||
# Package build options
|
||||
build_options="gir"
|
||||
|
||||
# Disable gir for cross builds.
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="gir"
|
||||
fi
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686|x86_64|armv?l*|aarch64*)
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
configure_args+=" am_cv_func_iconv=yes am_cv_func_iconv_works=yes"
|
||||
configure_args+=" am_cv_lib_iconv=no ac_cv_have_iconv_detect_h=yes"
|
||||
configure_args+=" am_cv_proto_iconv_arg1="
|
||||
fi
|
||||
|
||||
pre_build() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
cp ${FILESDIR}/*.h ${wrksrc}
|
||||
fi
|
||||
}
|
||||
;;
|
||||
esac
|
||||
|
||||
gmime-devel_package() {
|
||||
depends="libglib-devel zlib-devel gmime>=${version}_${revision}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue