openhd-git: fix missing submodules
This commit is contained in:
parent
aa33311685
commit
2f693a9896
@ -1,7 +1,7 @@
|
|||||||
pkgbase = openhd-git
|
pkgbase = openhd-git
|
||||||
pkgdesc = Open-source digital FPV system
|
pkgdesc = Open-source digital FPV system
|
||||||
pkgver = 2.6.0.r1.gd19b2c9
|
pkgver = 2.6.0.r9.g6360d3f
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://openhdfpv.org
|
url = https://openhdfpv.org
|
||||||
arch = any
|
arch = any
|
||||||
license = GPL3
|
license = GPL3
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
pkgname=openhd-git
|
pkgname=openhd-git
|
||||||
_reponame=OpenHD
|
_reponame=OpenHD
|
||||||
pkgver=2.6.0.r1.gd19b2c9
|
pkgver=2.6.0.r9.g6360d3f
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='Open-source digital FPV system'
|
pkgdesc='Open-source digital FPV system'
|
||||||
arch=(any)
|
arch=(any)
|
||||||
url='https://openhdfpv.org'
|
url='https://openhdfpv.org'
|
||||||
@ -24,6 +24,11 @@ pkgver() {
|
|||||||
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "$_reponame"
|
||||||
|
git submodule update --init --recursive
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cmake -B build -S "$_reponame/OpenHD" -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev
|
cmake -B build -S "$_reponame/OpenHD" -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev
|
||||||
cmake --build build
|
cmake --build build
|
||||||
|
Loading…
Reference in New Issue
Block a user