mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/android-tools to 9.0.0_r45-1
This commit is contained in:
parent
f703bdd726
commit
0601a56a83
1 changed files with 5 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
||||||
buildarch=28
|
buildarch=28
|
||||||
|
|
||||||
pkgname=android-tools
|
pkgname=android-tools
|
||||||
pkgver=9.0.0_r41
|
pkgver=9.0.0_r45
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Android platform tools'
|
pkgdesc='Android platform tools'
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
|
@ -19,8 +19,7 @@ optdepends=('python: for mkbootimg script')
|
||||||
makedepends=(git clang gtest ruby cmake ninja go-pie)
|
makedepends=(git clang gtest ruby cmake ninja go-pie)
|
||||||
provides=(fastboot adb)
|
provides=(fastboot adb)
|
||||||
conflicts=(fastboot adb)
|
conflicts=(fastboot adb)
|
||||||
# keep the boringssl commit in sync with android tree https://android.googlesource.com/platform/external/boringssl/+/$pkgver/BORINGSSL_REVISION
|
_boringssl_commit=`curl https://android.googlesource.com/platform/external/boringssl/+/refs/tags/android-$pkgver/BORINGSSL_REVISION?format=TEXT | base64 -d`
|
||||||
_boringssl_commit=45210dd4e21ace9d28cb76b3f83303fcdd2efcce
|
|
||||||
source=(git+https://android.googlesource.com/platform/system/core#tag=android-$pkgver
|
source=(git+https://android.googlesource.com/platform/system/core#tag=android-$pkgver
|
||||||
git+https://android.googlesource.com/platform/system/extras#tag=android-$pkgver
|
git+https://android.googlesource.com/platform/system/extras#tag=android-$pkgver
|
||||||
git+https://android.googlesource.com/platform/external/selinux#tag=android-$pkgver
|
git+https://android.googlesource.com/platform/external/selinux#tag=android-$pkgver
|
||||||
|
@ -48,7 +47,9 @@ sha1sums=('SKIP'
|
||||||
'7004dbd0c193668827174880de6f8434de8ceaee')
|
'7004dbd0c193668827174880de6f8434de8ceaee')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
PKGVER=$pkgver LDFLAGS='-Wl,-z,relro,-z,now' ./generate_build.rb > build.ninja
|
# for the Android version calculation see FS#63200
|
||||||
|
android_sdk_ver=`curl https://android.googlesource.com/platform/development/+/refs/tags/android-$pkgver/sdk/plat_tools_source.prop_template?format=TEXT | base64 -d | sed -n 's/^Pkg.Revision=\(.*\)$/\1/p'`
|
||||||
|
PKGVER="$android_sdk_ver-$pkgver" LDFLAGS='-Wl,-z,relro,-z,now' ./generate_build.rb > build.ninja
|
||||||
|
|
||||||
cd $srcdir/core
|
cd $srcdir/core
|
||||||
patch -p1 < ../fix_build_core.patch
|
patch -p1 < ../fix_build_core.patch
|
||||||
|
|
Loading…
Reference in a new issue