# Building this package requires a minimal set of package to be installed:
# Version of glibc
# glibc for target architecture is required to build and for further usage.
GLIBC_VER=2.42-5
# Version of linux+api
LINUXAPI_VER=6.18.35-0
# Version of aosc-aaa
AOSCAAA_VER=13.3.0-0
# Version of libxcrypt
LIBXCRYPT_VER=4.5.2-0
# Version of gcc
GCC_VER=15.3.0
# Version of newlib
__NEWLIB_VER=4.6.0.20260123
# Target architecture - this variable is used during build process

VER=${GCC_VER}+glibc${GLIBC_VER/-/+}
SRCS="tbl::https://ftp.gnu.org/gnu/gcc/gcc-${GCC_VER}/gcc-${GCC_VER}.tar.xz \
      tbl::https://sourceware.org/pub/newlib/newlib-${__NEWLIB_VER}.tar.gz \
      file::rename=glibc_amd64.deb::https://repo.aosc.io/debs/pool/stable/main/g/glibc_${GLIBC_VER}_amd64.deb \
      file::rename=linux+api_amd64.deb::https://repo.aosc.io/debs/pool/stable/main/l/linux+api_${LINUXAPI_VER}_amd64.deb \
      file::rename=aosc-aaa_amd64.deb::https://repo.aosc.io/debs/pool/stable/main/a/aosc-aaa_${AOSCAAA_VER}_amd64.deb \
      file::rename=libxcrypt_amd64.deb::https://repo.aosc.io/debs/pool/stable/main/libx/libxcrypt_${LIBXCRYPT_VER}_amd64.deb \
      file::rename=glibc_arm64.deb::https://repo.aosc.io/debs/pool/stable/main/g/glibc_${GLIBC_VER}_arm64.deb \
      file::rename=linux+api_arm64.deb::https://repo.aosc.io/debs/pool/stable/main/l/linux+api_${LINUXAPI_VER}_arm64.deb \
      file::rename=aosc-aaa_arm64.deb::https://repo.aosc.io/debs/pool/stable/main/a/aosc-aaa_${AOSCAAA_VER}_arm64.deb \
      file::rename=libxcrypt_arm64.deb::https://repo.aosc.io/debs/pool/stable/main/libx/libxcrypt_${LIBXCRYPT_VER}_arm64.deb \
      file::rename=glibc_loongarch64.deb::https://repo.aosc.io/debs/pool/stable/main/g/glibc_${GLIBC_VER}_loongarch64.deb \
      file::rename=linux+api_loongarch64.deb::https://repo.aosc.io/debs/pool/stable/main/l/linux+api_${LINUXAPI_VER}_loongarch64.deb \
      file::rename=aosc-aaa_loongarch64.deb::https://repo.aosc.io/debs/pool/stable/main/a/aosc-aaa_${AOSCAAA_VER}_loongarch64.deb \
      file::rename=libxcrypt_loongarch64.deb::https://repo.aosc.io/debs/pool/stable/main/libx/libxcrypt_${LIBXCRYPT_VER}_loongarch64.deb \
      file::rename=glibc_loongson3.deb::https://repo.aosc.io/debs/pool/stable/main/g/glibc_${GLIBC_VER}_loongson3.deb \
      file::rename=linux+api_loongson3.deb::https://repo.aosc.io/debs/pool/stable/main/l/linux+api_${LINUXAPI_VER}_loongson3.deb \
      file::rename=aosc-aaa_loongson3.deb::https://repo.aosc.io/debs/pool/stable/main/a/aosc-aaa_${AOSCAAA_VER}_loongson3.deb \
      file::rename=libxcrypt_loongson3.deb::https://repo.aosc.io/debs/pool/stable/main/libx/libxcrypt_${LIBXCRYPT_VER}_loongson3.deb \
      file::rename=glibc_ppc64el.deb::https://repo.aosc.io/debs/pool/stable/main/g/glibc_${GLIBC_VER}_ppc64el.deb \
      file::rename=linux+api_ppc64el.deb::https://repo.aosc.io/debs/pool/stable/main/l/linux+api_${LINUXAPI_VER}_ppc64el.deb \
      file::rename=aosc-aaa_ppc64el.deb::https://repo.aosc.io/debs/pool/stable/main/a/aosc-aaa_${AOSCAAA_VER}_ppc64el.deb \
      file::rename=libxcrypt_ppc64el.deb::https://repo.aosc.io/debs/pool/stable/main/libx/libxcrypt_${LIBXCRYPT_VER}_ppc64el.deb \
      file::rename=glibc_riscv64.deb::https://repo.aosc.io/debs/pool/stable/main/g/glibc_${GLIBC_VER}_riscv64.deb \
      file::rename=linux+api_riscv64.deb::https://repo.aosc.io/debs/pool/stable/main/l/linux+api_${LINUXAPI_VER}_riscv64.deb \
      file::rename=aosc-aaa_riscv64.deb::https://repo.aosc.io/debs/pool/stable/main/a/aosc-aaa_${AOSCAAA_VER}_riscv64.deb \
      file::rename=libxcrypt_riscv64.deb::https://repo.aosc.io/debs/pool/stable/main/libx/libxcrypt_${LIBXCRYPT_VER}_riscv64.deb"
CHKSUMS="sha256::fa59c1beef8995f27c4d71c1df227587189315d3e6faff1bb4306e61b0c530eb \
         sha256::6ff27e3bf022666f43f7802255be680eeff722ac181b1725d21e2e8318604ee3 \
         sha256::2edb139a2434bcf564f412c2f70a2903a45adf0827d88d073bda443a05fd47b8 \
         sha256::e0ff73e00f6aadb9af227de4f0f968188333af21cfcea6664ddca7ede39dabd8 \
         sha256::ec5482ac64494d2e2e3f978c85882e652cc244dcd7e02d38cc52477c8d16e52a \
         sha256::ad49e24bc54d7461c046aef4f7933285f84319b81bd78057ea8deaf7fed7093b \
         sha256::59b281607761e402a8df139fe75bca0905db3a26fe3be6fe28adbe9bd701300a \
         sha256::58d2a658d28bf8e9d01221d6817ffe00734d8910ff0892b5218337ca835a5380 \
         sha256::653272c9fa245ccfc3536e18950fd2c14ad7e321952f45613ca9783f5923ab42 \
         sha256::bb3337a70c034392a8533e89bd8b31d67d7c8a15e08b8b514ca1ba442567e125 \
         sha256::461904276e0e2f68b27084ed31d0f505e23fe6ad4ed38916c3e78521699b8f87 \
         sha256::070c524d0c1b5c04318309d73218ca2ab38438117c993df89a984c4dc2295cf1 \
         sha256::f5448163fb75d918770a8650a39fceabef74e9d3286d6af5675b4f3eb62adad7 \
         sha256::88db9cc5d8710ba1d2089e839897ffa935fdaae0a0762f9f3a580097588993c6 \
         sha256::c9ec44d4be59c98c32209328954232fbb7840604e3b556717227e84e7b9dad3a \
         sha256::edd9de383cc4f7dccc1ce4a3c4abb73811b31640fcf595280f08b54ef19655f3 \
         sha256::ea0ba1b5363802e4f9752448b57493dd527aebee1afb8849211e93a7a37dea20 \
         sha256::e328d2ba7d86a30044c7ff2bd47fe525afc061ebe27f41d4cdd6e832f831d1a9 \
         sha256::6528bd21f9e3269e338f0b6dd382401605270f35de62dd78690d50818767f11f \
         sha256::ac42c7b3a86ca04a8c2cef2e92d7debabe9ac5d3fa06c93a5f7e48f69d30b914 \
         sha256::143d9ccf73453cabdda0ae221d3f2908a8224fac19d856baf7c10614c6925fa0 \
         sha256::6650109dc51dd3040769668c58e119f22ba4d8d72205ce0747e94e0fbeef95c0 \
         sha256::463ca2551052c9b237b656f3fd206cb78605425b3c3f32c71752dbe9a5a56242 \
         sha256::b931611a3eccac9697461c413cc694a69886ef2b110b0c469e1790e5eb58e8b9 \
         sha256::82c6c0047b429c8d08fc7a4ab01372a2ff6f5da95a4721bf80b49894831edcd5 \
         sha256::e53751423ccfbd51538cdd7b2a2a2919472bfa6b6bdac0aca58e508ef4c7f910"
CHKUPDATE="anitya::id=6502"
SUBDIR="gcc-${GCC_VER}"
REL=1
