-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathtemplate
More file actions
28 lines (26 loc) · 1.08 KB
/
template
File metadata and controls
28 lines (26 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Template file for 'android-tools'
pkgname=android-tools
version=35.0.2
revision=3
archs="armv* aarch64* x86_64* i686* ppc64le* riscv64*"
build_style=cmake
# requires new changes in libusb that have not been released yet
configure_args="-DANDROID_TOOLS_USE_BUNDLED_LIBUSB=ON"
hostmakedepends="perl go protobuf pkg-config samurai"
makedepends="gtest-devel zlib-devel libusb-devel pcre2-devel fmt-devel
liblz4-devel libzstd-devel protobuf-devel brotli-devel abseil-cpp-devel"
depends="python3"
short_desc="Android platform tools (adb and fastboot)"
maintainer="John <me@johnnynator.dev>"
license="Apache-2.0, ISC, GPL-2.0-only, MIT"
homepage="https://developer.android.com/tools/help/adb.html"
distfiles="https://github.com/nmeum/android-tools/releases/download/${version}/android-tools-${version}.tar.xz"
checksum=d2c3222280315f36d8bfa5c02d7632b47e365bfe2e77e99a3564fb6576f04097
case "${XBPS_TARGET_MACHINE}" in
i686*) CFLAGS="-msse2" CXXFLAGS="-msse2";;
esac
post_install() {
vlicense vendor/boringssl/LICENSE boringssl.LICENSE
vlicense vendor/boringssl/third_party/fiat/LICENSE fiat.LICENSE
vsv adb
}