summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMinze Zwerver2017-06-02 22:00:28 +0200
committerMinze Zwerver2017-06-02 22:00:28 +0200
commit806edc5a0178090a328805c0bcbb94a1c51ba93f (patch)
treedcd83c20da9002c82c6c3d3fa6f32c4f2e3bbd25 /PKGBUILD
parent1a4f16ac05cb45eb825193eccbd849e2d4138341 (diff)
downloadaur-806edc5a0178090a328805c0bcbb94a1c51ba93f.tar.gz
update to version 2.2 & qt4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 13 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bddc63ca54a..fb566dd9cca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,39 +2,38 @@
# Previous Maintainer: Jeff Youdontneedtoknow <jeffpublicjr at gmail dot com>
# Contributer: Arnaud
pkgname=opentx-companion
-pkgver=2.1.9
-pkgrel=2
+pkgver=2.2.0
+pkgrel=1
pkgdesc="EEPROM Editor for OpenTX RC transmitter firmwares"
arch=('x86_64')
url="http://www.open-tx.org/"
license=('GPL')
-depends=('phonon-qt4' 'qt4' 'sdl')
-makedepends=('cmake' 'xsd' 'python-pyqt4' 'bc' 'python' 'avr-gcc' 'avr-libc' 'sed')
+depends=('qt5-base' 'qt5-multimedia' 'qt5-svg' 'sdl')
+makedepends=('cmake' 'xsd' 'bc' 'python' 'avr-gcc' 'avr-libc' 'sed')
provides=('companion')
conflicts=('companion' 'companion9x-svn')
source=("https://github.com/opentx/opentx/archive/$pkgver.tar.gz"
)
-md5sums=('470e5ebdb06a8491a1718a2c049b772d'
+sha256sums=('27a07efcbb7d5759bafea7d8a6d97f910c2830881c0d4c71cbbc7da65446b2cd'
)
build() {
- cd $srcdir/opentx-$pkgver/companion
+ cd $srcdir/opentx-$pkgver
+ patch -p1 -i ../../cmake_version.diff
+
+# cd $srcdir/opentx-$pkgver/
mkdir -p lbuild
cd lbuild
- cmake -DCMAKE_INSTALL_PREFIX=/usr ../src
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DFIRMWARE_TARGET=OFF ../
make
}
-#prepare() {
-# cd $srcdir/opentx-$pkgver
-# patch -p1 -i ../opentx-$pkgver-gcc6.patch
-#}
package() {
- cd $srcdir/opentx-$pkgver/companion/lbuild
+ cd $srcdir/opentx-$pkgver/lbuild
make DESTDIR=$pkgdir/ install
cd $pkgdir/usr/share/applications
- sed -i -e 's/Categories=Application/Categories=Development;/' companion21.desktop
- sed -i -e 's/Categories=Application/Categories=Development;/' simulator21.desktop
+ sed -i -e 's/Categories=Application/Categories=Development;/' companion22.desktop
+ sed -i -e 's/Categories=Application/Categories=Development;/' simulator22.desktop
rm -Rf $pkgdir/lib
}