diff --git a/testing/bake/01-no-backtrace-on-musl.patch b/testing/bake/01-no-backtrace-on-musl.patch new file mode 100644 index 0000000000000000000000000000000000000000..f6b8a2524147e73fee5af57c98b6d4890d17981e --- /dev/null +++ b/testing/bake/01-no-backtrace-on-musl.patch @@ -0,0 +1,11 @@ +--- a/util/include/bake_util.h ++++ b/util/include/bake_util.h +@@ -37,7 +37,7 @@ + #define UT_EXPORT + #endif + +-#ifndef __ANDROID__ ++#if !defined(__ANDROID__) && defined(__GLIBC__) + #define ENABLE_BACKTRACE + #endif + diff --git a/testing/bake/APKBUILD b/testing/bake/APKBUILD new file mode 100644 index 0000000000000000000000000000000000000000..03d8fd76ccaea65525e1f5a466f08cd62bb07def --- /dev/null +++ b/testing/bake/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Rob Blanckaert <basicer@gmail.com> +# Maintainer: Rob Blanckaert <basicer@gmail.com> +pkgname=bake +pkgver=2.5.1 +pkgrel=0 +pkgdesc="A build system that lets you clone, build and run C/C++ projects with a single command" +url="https://github.com/SanderMertens/bake" +# other architectures unsupported +arch="x86 x86_64 armv7 armhf aarch64" +license="GPL-3.0-or-later" +source=" + $pkgname-$pkgver.tar.gz::https://github.com/SanderMertens/bake/archive/refs/tags/$pkgver.tar.gz + 01-no-backtrace-on-musl.patch + " +# no tests +options="!check" + +build() { + make -C build-Linux +} + +package() { + install -Dm755 bake "$pkgdir"/usr/bin/bake +} + +sha512sums=" +22942f157cf3e54fb6418a93bcfc940a538894ca56551b93bcb0c0bb5e907614a6b67f06e79046aa55e8649a4ef59012a8bc4912898e772d4a75b05af06d31cc bake-2.5.1.tar.gz +e42652d91c047baf398c53ac6a6761381482a23bdf5dabb85c552dd816517084cd7d03acf7dc72347625e164ccbad043416cd3e22e6af8f707f36648d994949a 01-no-backtrace-on-musl.patch +"