diff --git a/.SRCINFO b/.SRCINFO index 0f501d6..5edf860 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = edgetx-companion pkgdesc = EEPROM Editor and Simulator for EdgeTX RC radio transmitter firmwares - pkgver = 2.10.0 + pkgver = 2.9.3 pkgrel = 1 url = https://edgetx.org/ arch = x86_64 @@ -18,7 +18,6 @@ pkgbase = edgetx-companion makedepends = git makedepends = icu makedepends = python - makedepends = python-jinja makedepends = python-lz4 makedepends = python-pillow makedepends = python-pyqt5 @@ -37,16 +36,16 @@ pkgbase = edgetx-companion provides = companion conflicts = companion options = !debug - source = git+https://github.com/EdgeTX/edgetx.git#tag=v2.10.0-rc3 + source = git+https://github.com/EdgeTX/edgetx.git#tag=v2.9.3 + source = git+https://github.com/jbeder/yaml-cpp.git source = git+https://github.com/raphaelcoeffic/AccessDenied.git source = git+https://github.com/FreeRTOS/FreeRTOS-Kernel.git - source = git+https://github.com/adfernandes/segger-rtt.git + source = git+https://github.com/edgetx/libopenui.git source = git+https://github.com/FreeRTOS/FreeRTOS-Kernel-Community-Supported-Ports.git source = git+https://github.com/FreeRTOS/FreeRTOS-Kernel-Partner-Supported-Ports.git source = git+https://github.com/EdgeTX/lvgl.git source = git+https://github.com/nothings/stb.git source = install.patch - b2sums = 3330392c092e883ccca0cc45132c95b10a89b9b3d8bf62c761ffcf75eaa1a837fe23c51a787cb0f4a936f1447b134e9dab75818ab11e1c86a530d9e27bf6e051 b2sums = SKIP b2sums = SKIP b2sums = SKIP @@ -54,6 +53,8 @@ pkgbase = edgetx-companion b2sums = SKIP b2sums = SKIP b2sums = SKIP - b2sums = 97badff74d64db444a780f48a3003e4a7232e7c0ab1ef43f9adbf20044c988f41dd455dc5aad548e5d3501ccc7a1ad9967a69bf43cbd2bb133eb6d00d50f210c + b2sums = SKIP + b2sums = SKIP + b2sums = 2f2d110ba03c3d852bec93a0705570df93e72f5e3757bd64494083c5a1ae59c5228024fca563043c05014b1962ccde88e029a6bac2fe36be6e852a53b35a43fb pkgname = edgetx-companion diff --git a/PKGBUILD b/PKGBUILD index 7e43da5..09eb540 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,8 +4,7 @@ # Contributer: Arnaud pkgname=edgetx-companion -pkgver=2.10.0 -_rc=-rc3 +pkgver=2.9.3 pkgrel=1 pkgdesc="EEPROM Editor and Simulator for EdgeTX RC radio transmitter firmwares" arch=('x86_64') @@ -15,21 +14,22 @@ depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'qt5-base' 'qt5-multimedia' 'sd optdepends=('dfu-util: tool for flashing stm32 based radios') makedepends=('arm-none-eabi-binutils' 'arm-none-eabi-gcc' 'arm-none-eabi-newlib' 'avr-gcc' 'avr-libc' 'bc' 'clang' 'cmake' 'fox' 'gcc' 'git' 'icu' 'python' - 'python-jinja' 'python-lz4' 'python-pillow' 'python-pyqt5' 'qt5-svg' - 'qt5-tools' 'qt5-translations' 'sed' 'xsd') + 'python-lz4' 'python-pillow' 'python-pyqt5' 'qt5-svg' 'qt5-tools' + 'qt5-translations' 'sed' 'xsd') options=('!debug') provides=('companion') conflicts=('companion') -source=("git+https://github.com/EdgeTX/edgetx.git#tag=v$pkgver$_rc" +source=("git+https://github.com/EdgeTX/edgetx.git#tag=v$pkgver" + "git+https://github.com/jbeder/yaml-cpp.git" "git+https://github.com/raphaelcoeffic/AccessDenied.git" "git+https://github.com/FreeRTOS/FreeRTOS-Kernel.git" - "git+https://github.com/adfernandes/segger-rtt.git" + "git+https://github.com/edgetx/libopenui.git" "git+https://github.com/FreeRTOS/FreeRTOS-Kernel-Community-Supported-Ports.git" "git+https://github.com/FreeRTOS/FreeRTOS-Kernel-Partner-Supported-Ports.git" "git+https://github.com/EdgeTX/lvgl.git" "git+https://github.com/nothings/stb.git" install.patch) -b2sums=('3330392c092e883ccca0cc45132c95b10a89b9b3d8bf62c761ffcf75eaa1a837fe23c51a787cb0f4a936f1447b134e9dab75818ab11e1c86a530d9e27bf6e051' +b2sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' @@ -37,7 +37,8 @@ b2sums=('3330392c092e883ccca0cc45132c95b10a89b9b3d8bf62c761ffcf75eaa1a837fe23c51 'SKIP' 'SKIP' 'SKIP' - '97badff74d64db444a780f48a3003e4a7232e7c0ab1ef43f9adbf20044c988f41dd455dc5aad548e5d3501ccc7a1ad9967a69bf43cbd2bb133eb6d00d50f210c') + 'SKIP' + '2f2d110ba03c3d852bec93a0705570df93e72f5e3757bd64494083c5a1ae59c5228024fca563043c05014b1962ccde88e029a6bac2fe36be6e852a53b35a43fb') prepare() { export EDGETX_VERSION_TAG=$pkgver @@ -52,7 +53,8 @@ prepare() { done declare -A submodules=( - ["$_pkgbase/radio/src/thirdparty/"]="AccessDenied FreeRTOS-Kernel Segger_RTT" + ["$_pkgbase/companion/src/thirdparty/"]="yaml-cpp" + ["$_pkgbase/radio/src/thirdparty/"]="AccessDenied FreeRTOS-Kernel libopenui" ["$_pkgbase/radio/src/thirdparty/FreeRTOS/portable/ThirdParty/"]="FreeRTOS-Kernel-Community-Supported-Ports FreeRTOS-Kernel-Partner-Supported-Ports" ["$_pkgbase/radio/src/thirdparty/libopenui/thirdparty/"]="lvgl stb" ) @@ -68,8 +70,8 @@ prepare() { } build() { - cd $srcdir/edgetx - ./tools/build-companion.sh $MAKEFLAGS $srcdir/edgetx $srcdir/build + cd $_pkgbase + ./tools/build-companion.sh $MAKEFLAGS $_pkgbase $srcdir/build } package() { diff --git a/install.patch b/install.patch index e73f262..4d947c8 100644 --- a/install.patch +++ b/install.patch @@ -1,3 +1,5 @@ +--- build-companion-org.sh 2022-11-29 15:37:49.493916416 +0100 ++++ build-companion.sh 2022-11-29 20:11:06.425385270 +0100 @@ -30,7 +30,7 @@ SRCDIR=$1 OUTDIR=$2 @@ -20,9 +22,16 @@ declare -a simulator_plugins=(x9lite x9lites x7 x7-access -@@ -176,14 +176,4 @@ +@@ -161,19 +161,10 @@ + esac + + rm -f CMakeCache.txt native/CMakeCache.txt ++ + cmake ${BUILD_OPTIONS} "${SRCDIR}" + cmake --build . --target native-configure cmake --build native -j"${JOBS}" --target libsimulator - done +-done ++done -cmake --build . --target native-configure -if [ "$(uname)" = "Darwin" ]; then