File 0001-use-installed-libastylej.patch of Package Arduino

From f286eddda3e461575f4ba86d9c26848c77e25830 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Tue, 13 Sep 2016 19:57:59 +0200
Subject: [PATCH 1/7] use installed libastylej

don't download a fresh one during build
---
 build/build.xml | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/build/build.xml b/build/build.xml
index c4de6aecf..0d8e7d39f 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -667,13 +667,6 @@
   </target>
 
   <target name="linux-libastyle-x86" depends="linux-build" description="Download libastyle.so for x86/x64 arch">
-    <antcall target="unzip">
-      <param name="archive_file" value="./libastylej-2.05.1-5.zip" />
-      <param name="archive_url" value="https://downloads.arduino.cc/libastylej-2.05.1-5.zip" />
-      <param name="final_folder" value="${staging_folder}/libastylej-2.05.1" />
-      <param name="dest_folder" value="${staging_folder}" />
-    </antcall>
-    <copy file="linux/libastylej-2.05.1/libastylej${arch-bits}.so" tofile="linux/work/lib/libastylej.so" />
     <chmod perm="755" file="linux/work/lib/libastylej.so" />
 
     <antcall target="portable-${portable}">
-- 
2.34.1

openSUSE Build Service is sponsored by