Name: uke-gbos-allocator-aidl-android Version: 17.0.0 Release: 1%{?dist} Summary: Android AArch64 frozen Graphics Allocator AIDL v3 library License: Apache-2.0 AND Apache-2.0 WITH LLVM-exception URL: https://android.googlesource.com/platform/hardware/interfaces/ Source0: %{name}-%{version}.tar.gz Source1: build-allocator-aidl-android.sh ExclusiveArch: x86_64 AutoReqProv: no BuildRequires: bash BuildRequires: binutils BuildRequires: clang BuildRequires: curl BuildRequires: lld BuildRequires: unzip %global debug_package %{nil} %global __os_install_post %{nil} %description Carries the Android AArch64 vendor library generated from the frozen Graphics Allocator AIDL v3 source. The installed library links to the fitted Android platform Binder, libc++ and common graphics interfaces. %prep %autosetup sha256sum --check --strict INPUTS.sha256 %build ndk_archive=android-ndk-r30-linux.zip test "$(df -B1 --output=avail . | tail -n1)" -gt 2147483648 curl -qfsSL --proto '=https' --retry 1 --max-time 140 --max-filesize 738633529 \ https://dl.google.com/android/repository/android-ndk-r30-linux.zip -o "$ndk_archive" test "$(stat -c %%s "$ndk_archive")" = 738633529 printf '%%s %%s\n' 753611f410d002cfcd3f3dc2ef49aad532089d3180b436c060a90bf0fcb64df2 "$ndk_archive" | sha256sum --check --strict - toolchain=android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64 unzip -q "$ndk_archive" "$toolchain/sysroot/usr/include/*" \ "$toolchain/sysroot/usr/lib/aarch64-linux-android/37/*" \ "$toolchain/lib/clang/21/lib/linux/libclang_rt.builtins-aarch64-android.a" bash %{SOURCE1} inputs android-ndk-r30 output %install install -d %{buildroot}%{_datadir}/%{name} install -m644 output/*.so output/SHA256SUMS output/INTERFACE.txt output/NEEDED.txt \ %{buildroot}%{_datadir}/%{name}/ %check (cd output; sha256sum --check --strict SHA256SUMS) grep -Fxq 'android.hardware.graphics.allocator 3 b061131f0ee5260aa8f779bf3569dfc861a1b89c' output/INTERFACE.txt %files %license LICENSE inputs/notices/LLVM-NOTICE.txt %{_datadir}/%{name} %changelog * Sun Nov 29 2026 MCC45TR <75160848+MCC45TR@users.noreply.github.com> - 17.0.0-1 - Build the frozen Android vendor graphics allocator interface for AArch64.