mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
fix(rtaudio-nightly): Update build steps (#5903)
* fix: Bulk fixes of nightly packages * Try to convert RTAudio to CMake * refactor: update.rhai * What * fix: Explicitly dep on CMake macros?? * fix: Right CMake itself * sdhfdhjkdfsjkhsdfhjk * What now * A * Typo * Meson?? * Stole this from their CI please work * YEEEEEAAAHH --------- Signed-off-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
@@ -13,6 +13,8 @@ URL: https://github.com/thestk/rtaudio
|
||||
Source0: %url/archive/%commit.tar.gz
|
||||
Packager: madonuko <mado@fyralabs.com>
|
||||
BuildRequires: alsa-lib-devel
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: jack-audio-connection-kit-devel
|
||||
@@ -62,10 +64,10 @@ done
|
||||
|
||||
%build
|
||||
export CFLAGS="%optflags -fPIC"
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
%configure --with-jack --with-alsa --with-pulse --enable-shared --disable-static --verbose
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%ldconfig_scriptlets
|
||||
|
||||
@@ -1 +1,7 @@
|
||||
rpm.version(gh("thestk/rtaudio"));
|
||||
rpm.global("commit", gh_commit("thestk/rtaudio"));
|
||||
if rpm.changed() {
|
||||
let v = gh("thestk/rtaudio");
|
||||
v.crop(1);
|
||||
rpm.global("ver", v);
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user