SHARE
TWEET

PKFBUILD for librepilot-next

a guest Apr 22nd, 2019 95 in 160 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=librepilot
  2. pkgver=16.09
  3. pkgrel=781
  4. pkgdesc="A ground control station and firmware for UAV flight controllers"
  5. arch=('i686' 'x86_64')
  6. url="http://www.librepilot.org"
  7. license=('GPL')
  8. depends=('qt5-svg' 'qt5-serialport' 'qt5-multimedia' 'qt5-quickcontrols' 'sdl' 'libusb' 'openscenegraph')
  9. makedepends=('python2' 'qt5-tools' 'lib32-glibc')
  10. conflicts=('librepilot-git')
  11. replaces=('openpilot')
  12. source=('git+https://bitbucket.org/librepilot/librepilot.git#commit=31666f0')
  13. md5sums=('SKIP')
  14.  
  15. build() {
  16.   cd "$srcdir/$pkgname"
  17.   make \
  18.   prefix=/usr \
  19.   udevrulesdir=/usr/lib/udev/rules.d \
  20.   GCS_WITH_OSGEARTH=0 \
  21.   config_new
  22.  
  23.   make clean
  24.   make arm_sdk_install
  25.   make fw_resource
  26.   make -j2 gcs
  27. }
  28.  
  29. package() {
  30.   cd "$srcdir/$pkgname/"
  31.   make DESTDIR=$pkgdir enable-udev-rules=yes install
  32. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top