New package: simutron-1.0.1

[Piraty: append _rev to version]

Closes: #25742 [via git-merge-pr]
This commit is contained in:
Artur Sinila 2020-11-11 02:07:18 +03:00 committed by Piraty
parent b0b3dadfa2
commit 59dfe6c511
3 changed files with 39 additions and 0 deletions

View File

@ -3919,5 +3919,7 @@ libwinbind-client-samba4.so samba-libs-4.13.2_1
libsixel.so.1 libsixel-1.8.6_1
libpamtest.so.0 pam_wrapper-1.1.3_1
libopenaptx.so.0 libopenaptx-0.2.0_1
libsimavr.so.1 simavr-1.6_2
libsimavrparts.so.1 simavr-1.6_2
libsword-1.8.1.so libsword-1.8.1_6
libtree-sitter.so.0 tree-sitter-0.18.2_1

View File

@ -0,0 +1,13 @@
--- plugins/avrmcu/plugin/firmware.c
+++ plugins/avrmcu/plugin/firmware.c
@@ -118,10 +118,6 @@
case AVR_MMCU_TAG_SIMAVR_CONSOLE: {
firmware->console_register_addr = src[0] | (src[1] << 8);
} break;
- case AVR_MMCU_TAG_BITBANG: {
- firmware->bitbang_on_mask =
- src[0] | (src[1] << 8) | (src[2] << 16) | (src[3] << 24);
- } break;
}
size -= next;
src += next - 2; // already incremented

24
srcpkgs/simutron/template Normal file
View File

@ -0,0 +1,24 @@
# Template file for 'simutron'
pkgname=simutron
_version=1.0.1
_rev=SR2
version=1.0.1.${_rev}
revision=1
build_wrksrc=build
build_style=qmake
hostmakedepends="subversion qt5-qmake qt5-host-tools pkg-config"
makedepends="simavr-devel qt5-devel"
short_desc="AVR simulator IDE"
maintainer="Artur Sinila <opensource@logarithmus.dev>"
license="GPL-3.0-only"
homepage="https://sourceforge.net/projects/simutron/"
nostrip_files="LCD20x4Test.elf"
do_fetch() {
svn checkout "https://svn.code.sf.net/p/${pkgname}/code/branches/RB-${_version}-${_rev}" "$wrksrc"
}
post_extract() {
rm share/simutron/examples/MENWIZ/LCD20x4Test/bin/Debug/LCD20x4Test.elf
rm share/simutron/examples/MENWIZ/LCD20x4Test/bin/Release/LCD20x4Test.elf
}