mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
Merge pull request #613 from awiouy/syncthing
syncthing: upgrade to 0.14.3
This commit is contained in:
commit
966ea00cc8
@ -1,5 +1,5 @@
|
|||||||
8.0.103
|
8.0.103
|
||||||
- Update to version 0.13.10
|
- Update to version 0.14.3
|
||||||
|
|
||||||
8.0.102
|
8.0.102
|
||||||
- Enable automatic upgrades
|
- Enable automatic upgrades
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="syncthing"
|
PKG_NAME="syncthing"
|
||||||
PKG_VERSION="0.13.10"
|
PKG_VERSION="0.14.3"
|
||||||
PKG_REV="103"
|
PKG_REV="103"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="MPLv2"
|
PKG_LICENSE="MPLv2"
|
||||||
@ -39,14 +39,11 @@ PKG_ADDON_PROVIDES=""
|
|||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
configure_target() {
|
configure_target() {
|
||||||
|
go run build.go assets
|
||||||
export GOLANG=$ROOT/$TOOLCHAIN/lib/golang/bin/go
|
|
||||||
|
|
||||||
mkdir -p $ROOT/$PKG_BUILD $ROOT/$PKG_BUILD/src/github.com/syncthing
|
mkdir -p $ROOT/$PKG_BUILD $ROOT/$PKG_BUILD/src/github.com/syncthing
|
||||||
ln -fs $ROOT/$PKG_BUILD $ROOT/$PKG_BUILD/src/github.com/syncthing/syncthing
|
ln -fs $ROOT/$PKG_BUILD $ROOT/$PKG_BUILD/src/github.com/syncthing/syncthing
|
||||||
cd $ROOT/$PKG_BUILD/src/github.com/syncthing/syncthing
|
ln -fs $ROOT/$PKG_BUILD/vendor $ROOT/$PKG_BUILD/vendor/src
|
||||||
|
|
||||||
go run build.go assets
|
|
||||||
|
|
||||||
case $TARGET_ARCH in
|
case $TARGET_ARCH in
|
||||||
x86_64)
|
x86_64)
|
||||||
@ -73,13 +70,14 @@ configure_target() {
|
|||||||
export CGO_NO_EMULATION=1
|
export CGO_NO_EMULATION=1
|
||||||
export CGO_CFLAGS=$CFLAGS
|
export CGO_CFLAGS=$CFLAGS
|
||||||
export LDFLAGS="-w -linkmode external -extldflags -Wl,--unresolved-symbols=ignore-in-shared-libs -extld $TARGET_CC -X main.Version=v$PKG_VERSION"
|
export LDFLAGS="-w -linkmode external -extldflags -Wl,--unresolved-symbols=ignore-in-shared-libs -extld $TARGET_CC -X main.Version=v$PKG_VERSION"
|
||||||
export GOPATH=$ROOT/$PKG_BUILD/src/github.com/syncthing/syncthing:$ROOT/$PKG_BUILD/Godeps/_workspace
|
export GOLANG=$ROOT/$TOOLCHAIN/lib/golang/bin/go
|
||||||
|
export GOPATH=$ROOT/$PKG_BUILD/src/github.com/syncthing/syncthing:$ROOT/$PKG_BUILD/vendor:$ROOT/$PKG_BUILD/Godeps/_workspace
|
||||||
export GOROOT=$ROOT/$TOOLCHAIN/lib/golang
|
export GOROOT=$ROOT/$TOOLCHAIN/lib/golang
|
||||||
export PATH=$PATH:$GOROOT/bin
|
export PATH=$PATH:$GOROOT/bin
|
||||||
export GO15VENDOREXPERIMENT=1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
make_target() {
|
make_target() {
|
||||||
|
cd $ROOT/$PKG_BUILD/src/github.com/syncthing/syncthing
|
||||||
mkdir -p bin
|
mkdir -p bin
|
||||||
$GOLANG build -v -o bin/syncthing -a -ldflags "$LDFLAGS" ./cmd/syncthing
|
$GOLANG build -v -o bin/syncthing -a -ldflags "$LDFLAGS" ./cmd/syncthing
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user