From c068b196376eeaff9332478c3b694e0191342b0d Mon Sep 17 00:00:00 2001 From: Cryolitia PukNgae Date: Wed, 1 Jan 2025 17:56:31 +0800 Subject: [PATCH] addpatch: ncspot 1.2.1-1 extra make depends for aws-lc --- ncspot/riscv64.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 ncspot/riscv64.patch diff --git a/ncspot/riscv64.patch b/ncspot/riscv64.patch new file mode 100644 index 000000000..67996eebe --- /dev/null +++ b/ncspot/riscv64.patch @@ -0,0 +1,19 @@ +--- PKGBUILD ++++ PKGBUILD +@@ -9,7 +9,7 @@ arch=('x86_64') + url="https://github.com/hrkfdn/ncspot" + license=('BSD-2-Clause') + depends=('glibc' 'gcc-libs' 'openssl' 'libpulse' 'libxcb' 'dbus' 'hicolor-icon-theme') +-makedepends=('cargo' 'python' 'pkgconf' 'ueberzug' 'pandoc-cli' 'portaudio') ++makedepends=('cargo' 'python' 'pkgconf' 'ueberzug' 'pandoc-cli' 'portaudio' 'cmake' 'clang') + optdepends=('ueberzug: display album art in terminal (X11)') + source=("${pkgname}-${pkgver}.tar.gz::https://github.com/hrkfdn/ncspot/archive/v${pkgver}.tar.gz") + b2sums=('032d58508f86164fcdac9929bdf01b7fa5f51926c042d9d87f06f1bfd7436be885d0a48ff3b52bb403f2805a6df504d400cf4a64e955754eae8dd19c2cc581c9') +@@ -33,6 +33,7 @@ build() { + check() { + cd "${srcdir}/${pkgname}-${pkgver}" + export RUSTUP_TOOLCHAIN=stable ++ CFLAGS=${CFLAGS/-Wp,-D_FORTIFY_SOURCE=3/} + cargo test --frozen --features cover + } +