diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2020-09-05 18:49:15 +0200 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2020-09-06 20:45:44 +0200 |
commit | 7a8d3ae51d5629d43cd80c01db3498da65e1f62a (patch) | |
tree | 7520b357f8649c81b91fa8fe2a5aa380068fc0e5 /dev-embedded/arduino-builder | |
parent | profiles/base/package.use.mask: mask media-libs/libmypaint[openmp] (diff) | |
download | gentoo-7a8d3ae51d5629d43cd80c01db3498da65e1f62a.tar.gz gentoo-7a8d3ae51d5629d43cd80c01db3498da65e1f62a.tar.bz2 gentoo-7a8d3ae51d5629d43cd80c01db3498da65e1f62a.zip |
dev-embedded/arduino-builder: re-add missing platform.txt
Closes: https://bugs.gentoo.org/735718
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'dev-embedded/arduino-builder')
-rw-r--r-- | dev-embedded/arduino-builder/arduino-builder-1.5.4-r1.ebuild (renamed from dev-embedded/arduino-builder/arduino-builder-1.5.4.ebuild) | 3 | ||||
-rw-r--r-- | dev-embedded/arduino-builder/files/platform.txt | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/dev-embedded/arduino-builder/arduino-builder-1.5.4.ebuild b/dev-embedded/arduino-builder/arduino-builder-1.5.4-r1.ebuild index 6fc3e73f58bd..7fd9464f0d2b 100644 --- a/dev-embedded/arduino-builder/arduino-builder-1.5.4.ebuild +++ b/dev-embedded/arduino-builder/arduino-builder-1.5.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -555,6 +555,7 @@ src_install() { # the dev-embedded/arduino which copies those files in its "hardware" folder. insinto "/usr/share/${PN}" doins hardware/platform.keys.rewrite.txt + doins "${FILESDIR}/platform.txt" } pkg_postinst() { diff --git a/dev-embedded/arduino-builder/files/platform.txt b/dev-embedded/arduino-builder/files/platform.txt new file mode 100644 index 000000000000..2bdd70c789fd --- /dev/null +++ b/dev-embedded/arduino-builder/files/platform.txt @@ -0,0 +1,19 @@ +# arduino-preprocessor +# -------------------- + +tools.arduino-preprocessor.path={runtime.tools.arduino-preprocessor.path} +tools.arduino-preprocessor.cmd.path={path}/arduino-preprocessor +tools.arduino-preprocessor.pattern="{cmd.path}" "{source_file}" "{codecomplete}" -- -std=gnu++11 + +# ctags +# ------------------------------ +tools.ctags.path=/usr/bin +tools.ctags.cmd.path={path}/arduino-ctags +tools.ctags.pattern="{cmd.path}" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "{source_file}" + +# additional entries +tools.avrdude.path=/usr/bin + +preproc.macros.flags=-w -x c++ -E -CC +#preproc.macros.compatibility_flags={build.mbed_api_include} {build.nRF51822_api_include} {build.ble_api_include} {compiler.libsam.c.flags} {compiler.arm.cmsis.path} {build.variant_system_include} +#recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}" {compiler.cpreprocessor.flags} {compiler.cpp.flags} {preproc.macros.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {preproc.macros.compatibility_flags} {includes} "{source_file}" -o "{preprocessed_file_path}" |