mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Merge pull request #1677 from InuSasha/fixes/syncthing-le8
syncthing: update to 0.14.29 [backport]
This commit is contained in:
commit
8dbfc26f94
@ -1,11 +1,14 @@
|
|||||||
8.0.103
|
104
|
||||||
|
- Update to version 0.14.29
|
||||||
|
|
||||||
|
103
|
||||||
- Update to version 0.14.3
|
- Update to version 0.14.3
|
||||||
|
|
||||||
8.0.102
|
102
|
||||||
- Enable automatic upgrades
|
- Enable automatic upgrades
|
||||||
|
|
||||||
8.0.101
|
101
|
||||||
- Update to version 0.12.24
|
- Update to version 0.12.24
|
||||||
|
|
||||||
8.0.100
|
100
|
||||||
- Initial addon
|
- Initial addon
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="syncthing"
|
PKG_NAME="syncthing"
|
||||||
PKG_VERSION="0.14.3"
|
PKG_VERSION="0.14.29"
|
||||||
PKG_REV="103"
|
PKG_REV="104"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="MPLv2"
|
PKG_LICENSE="MPLv2"
|
||||||
PKG_SITE="https://syncthing.net/"
|
PKG_SITE="https://syncthing.net/"
|
||||||
@ -35,7 +35,17 @@ PKG_ADDON_TYPE="xbmc.service"
|
|||||||
PKG_MAINTAINER="Anton Voyl (awiouy)"
|
PKG_MAINTAINER="Anton Voyl (awiouy)"
|
||||||
|
|
||||||
configure_target() {
|
configure_target() {
|
||||||
go run build.go assets
|
export GOOS=linux
|
||||||
|
export CGO_ENABLED=1
|
||||||
|
export CGO_NO_EMULATION=1
|
||||||
|
export CGO_CFLAGS=$CFLAGS
|
||||||
|
export LDFLAGS="-w -linkmode external -extldflags -Wl,--unresolved-symbols=ignore-in-shared-libs -extld $CC -X main.Version=v$PKG_VERSION"
|
||||||
|
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 PATH=$PATH:$GOROOT/bin
|
||||||
|
|
||||||
|
$ROOT/$TOOLCHAIN/lib/golang/bin/go run build.go assets
|
||||||
|
|
||||||
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
|
||||||
@ -60,16 +70,6 @@ configure_target() {
|
|||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
export GOOS=linux
|
|
||||||
export CGO_ENABLED=1
|
|
||||||
export CGO_NO_EMULATION=1
|
|
||||||
export CGO_CFLAGS=$CFLAGS
|
|
||||||
export LDFLAGS="-w -linkmode external -extldflags -Wl,--unresolved-symbols=ignore-in-shared-libs -extld $CC -X main.Version=v$PKG_VERSION"
|
|
||||||
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 PATH=$PATH:$GOROOT/bin
|
|
||||||
}
|
}
|
||||||
|
|
||||||
make_target() {
|
make_target() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user