eclipse/eclipse-swt-disable-gtk2.patch

26 lines
896 B
Diff

--- eclipse.platform.swt/bundles/org.eclipse.swt/buildSWT.xml.orig
+++ eclipse.platform.swt/bundles/org.eclipse.swt/buildSWT.xml
@@ -898,15 +898,19 @@
</not>
</condition>
<antcall target="init_build"/>
+ <antcall target="build_gtk2"/>
+ <antcall target="build_gtk3"/>
+ <delete dir="${build_dir}" quiet="true"/>
+ <antcall target="refresh_fragment"/>
+ </target>
+
+ <target name="build_gtk2" depends="get_version" if="machine_gtk2">
<antcall target="${build_task}">
<param name="build_targets" value="${targets}"/>
<param name="build_machine" value="${machine}"/>
<param name="port" value="${port}"/>
<param name="keyfile" value="${keyfile}"/>
</antcall>
- <antcall target="build_gtk3"/>
- <delete dir="${build_dir}" quiet="true"/>
- <antcall target="refresh_fragment"/>
</target>
<target name="build_gtk3" depends="get_version" if="machine_gtk3">