webkit2gtk: enable gir for all architecturs
This commit is contained in:
parent
bfe039cbb0
commit
c4df20bc28
1 changed files with 4 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'webkit2gtk'
|
# Template file for 'webkit2gtk'
|
||||||
pkgname=webkit2gtk
|
pkgname=webkit2gtk
|
||||||
version=2.24.1
|
version=2.24.1
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="webkitgtk-${version}"
|
wrksrc="webkitgtk-${version}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
build_helper="gir"
|
build_helper="gir"
|
||||||
|
@ -41,19 +41,17 @@ esac
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="gir wayland x11 jit sampling_profiler"
|
build_options="gir wayland x11 jit sampling_profiler"
|
||||||
build_options_default="wayland x11"
|
build_options_default="gir wayland x11"
|
||||||
|
|
||||||
desc_option_jit="Enable JustInTime JS support"
|
desc_option_jit="Enable JustInTime JS support"
|
||||||
desc_option_sampling_profiler="Toggle sampling profiler support (disabled on musl)"
|
desc_option_sampling_profiler="Toggle sampling profiler support (disabled on musl)"
|
||||||
|
|
||||||
# JIT conflicts with sampling_profiler
|
# JIT conflicts with sampling_profiler
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686*) build_options_default+=" gir" ;;
|
x86_64-musl) build_options_default+=" jit" ;;
|
||||||
x86_64-musl) build_options_default+=" gir jit" ;;
|
|
||||||
ppc*-musl|mips-musl|arm*-musl) ;;
|
ppc*-musl|mips-musl|arm*-musl) ;;
|
||||||
*-musl) build_options_default+=" jit" ;;
|
*-musl) build_options_default+=" jit" ;;
|
||||||
armv*|mips*|ppc*) build_options_default+=" gir" ;;
|
*) build_options_default+=" jit sampling_profiler" ;;
|
||||||
*) build_options_default+=" gir jit sampling_profiler" ;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
|
Loading…
Reference in a new issue