upgrade to 2.8

This commit is contained in:
horstderheld 2022-11-29 21:28:32 +01:00
parent 029e38df80
commit aa0d869431
3 changed files with 36 additions and 25 deletions

View file

@ -4,16 +4,16 @@
# Contributer: Arnaud
pkgname=edgetx-companion
pkgver=2.7.1
pkgver=2.8.0
pkgrel=1
pkgdesc="EEPROM Editor and Simulator for EdgeTX RC radio transmitter firmwares"
arch=('x86_64')
url='https://edgetx.org/'
license=('GPL2')
depends=('hicolor-icon-theme' 'qt5-base' 'qt5-multimedia' 'sdl')
depends=('hicolor-icon-theme' 'qt5-multimedia' 'sdl')
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' 'cmake' 'fox' 'gcc' 'git' 'icu' 'python'
'avr-gcc' 'avr-libc' 'bc' 'cmake' 'fox' 'gcc' 'git' 'icu' 'python' 'python-lz4'
'python-pillow' 'python-pyqt5' 'qt5-svg' 'qt5-tools' 'qt5-translations'
'sed' 'xsd')
provides=('companion')
@ -23,21 +23,21 @@ _versuff=${pkgver/./} && _versuff=${_versuff%%.*}
source=("git+https://github.com/EdgeTX/edgetx.git#tag=v${pkgver}"
install.patch)
sha256sums=('SKIP'
'f9b62f82f402ea96153a7e45ec22aeaa4780039d57b28cc8ca8456e05c34ffe7')
'efa51cbbff6cb466a6a9bd681b04b158fce6e48d2db4c5cc235c1a871037f6c8')
prepare() {
cd ${_pkgbase}
patch ./tools/build-companion-nightly.sh < ${srcdir}/install.patch
patch ./tools/build-companion.sh < ${srcdir}/install.patch
git submodule update --init --recursive
}
build() {
cd ${_pkgbase}
./tools/build-companion-nightly.sh ${MAKEFLAGS} ${srcdir}/${_pkgbase} ${srcdir}/build ${_versuff}
./tools/build-companion.sh ${MAKEFLAGS} ${srcdir}/${_pkgbase} ${srcdir}/build ${_versuff}
}
package() {
cd ${srcdir}/build
cd ${srcdir}/build/native
make DESTDIR=${pkgdir}/ install
cd ${pkgdir}/usr/share/applications
sed -i -e 's/Categories=Application/Categories=Utility/' companion${_versuff}.desktop