mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 16:02:55 +02:00
gmime3: enable gir
This commit is contained in:
parent
88abaa8e03
commit
f759d0d0e2
1 changed files with 13 additions and 10 deletions
|
@ -4,10 +4,12 @@ version=3.2.3
|
||||||
revision=3
|
revision=3
|
||||||
wrksrc="gmime-${version}"
|
wrksrc="gmime-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static --enable-crypto"
|
build_helper="gir"
|
||||||
hostmakedepends="pkg-config $(vopt_if gir gobject-introspection)
|
configure_args="--disable-static --enable-crypto $(vopt_enable vala)
|
||||||
$(vopt_if vala vala-devel)"
|
$(vopt_enable gir introspection)"
|
||||||
makedepends="glib-devel gpgme-devel libidn2-devel"
|
hostmakedepends="pkg-config $(vopt_if vala vala)"
|
||||||
|
makedepends="glib-devel gpgme-devel libidn2-devel
|
||||||
|
$(vopt_if vala vala)"
|
||||||
checkdepends="gnupg2"
|
checkdepends="gnupg2"
|
||||||
short_desc="GNOME Core mime parsing library"
|
short_desc="GNOME Core mime parsing library"
|
||||||
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
|
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
|
||||||
|
@ -17,12 +19,13 @@ distfiles="${GNOME_SITE}/gmime/${version%.*}/gmime-${version}.tar.xz"
|
||||||
checksum=6a0875eeb552ab447dd54853a68ced62217d863631048737dd97eaa2713e7311
|
checksum=6a0875eeb552ab447dd54853a68ced62217d863631048737dd97eaa2713e7311
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options+="gir vala"
|
build_options="gir vala"
|
||||||
|
|
||||||
# Disable gir for cross builds.
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
x86_64-musl) build_options_default+=" gir vala" ;;
|
||||||
build_options_default="gir vala"
|
*-musl) ;;
|
||||||
fi
|
*) build_options_default+=" gir vala" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686|x86_64|armv?l*|aarch64*)
|
i686|x86_64|armv?l*|aarch64*)
|
||||||
|
@ -44,7 +47,7 @@ gmime3-devel_package() {
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
vmove usr/share/gtk-doc
|
vmove usr/share/gtk-doc
|
||||||
if [ "$build_option_gir" ]; then
|
if [ "$build_option_gir" ]; then
|
||||||
vmove "usr/share/gir-*"
|
vmove usr/share/gir-1.0
|
||||||
fi
|
fi
|
||||||
if [ "$build_option_vala" ]; then
|
if [ "$build_option_vala" ]; then
|
||||||
vmove usr/share/vala
|
vmove usr/share/vala
|
||||||
|
|
Loading…
Add table
Reference in a new issue