diff options
author | Roman Sommer | 2023-12-06 21:49:22 +0100 |
---|---|---|
committer | Roman Sommer | 2023-12-06 21:55:22 +0100 |
commit | 7f7de9500a124e39aafebabe4aeafcf1ea4d71a2 (patch) | |
tree | f9f49ad0dc7cb2503678d0e1e3eedc33efbffbef | |
download | aur-hise.tar.gz |
init; HISE 3.6.2
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | 0001-Faust-fix-missing-header.patch | 24 | ||||
-rw-r--r-- | 0002-HISE-Standalone.jucer-enable-Faust-for-LinuxMakefile.patch | 29 | ||||
-rw-r--r-- | 0003-Settings-set-default-HISE-Path-to-install-location.patch | 24 | ||||
-rw-r--r-- | PKGBUILD | 65 |
5 files changed, 163 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b949fb4002e4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = hise + pkgdesc = Open source toolkit for building virtual instruments and audio effects + pkgver = 3.6.2 + pkgrel = 1 + url = https://hise.dev + arch = i686 + arch = x86_64 + license = GPLv3+ + makedepends = juce + depends = faust + depends = jack + source = https://github.com/christophhart/HISE/archive/refs/tags/3.6.2.tar.gz + source = 0001-Faust-fix-missing-header.patch + source = 0002-HISE-Standalone.jucer-enable-Faust-for-LinuxMakefile.patch + source = 0003-Settings-set-default-HISE-Path-to-install-location.patch + sha256sums = 8588af4d43178184920a9578b5eaf5887e6e98617c2b5385f98ed43f81fa9689 + sha256sums = 52077d6630d10fc34ae28c287db357d88d1299ebcd8eb838eb4a865f857c6736 + sha256sums = 8ffb216fd65c4bd04e5775e219f4b548e0f0ccb8ee5887ef08e49c787129404a + sha256sums = 20918a218034f2c37ba1bfef5b5d1eed1fb7a0aa1022c9ce49ad8443a201f83c + +pkgname = hise diff --git a/0001-Faust-fix-missing-header.patch b/0001-Faust-fix-missing-header.patch new file mode 100644 index 000000000000..50cbc644b5d7 --- /dev/null +++ b/0001-Faust-fix-missing-header.patch @@ -0,0 +1,24 @@ +From 5d9fd01b5c2fa07616e15d92fe291e723f3e0346 Mon Sep 17 00:00:00 2001 +From: Roman Sommer <roman@resonant-bytes.de> +Date: Wed, 6 Dec 2023 17:28:14 +0100 +Subject: [PATCH 1/2] Faust: fix missing header + +--- + hi_faust_types/faust_wrap/dsp/dsp.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/hi_faust_types/faust_wrap/dsp/dsp.h b/hi_faust_types/faust_wrap/dsp/dsp.h +index b1273f9f2..c0f8f4c68 100644 +--- a/hi_faust_types/faust_wrap/dsp/dsp.h ++++ b/hi_faust_types/faust_wrap/dsp/dsp.h +@@ -27,6 +27,7 @@ + + #include <string> + #include <vector> ++#include <cstdint> + + #include <faust/export.h> + +-- +2.43.0 + diff --git a/0002-HISE-Standalone.jucer-enable-Faust-for-LinuxMakefile.patch b/0002-HISE-Standalone.jucer-enable-Faust-for-LinuxMakefile.patch new file mode 100644 index 000000000000..ced5f53f52b8 --- /dev/null +++ b/0002-HISE-Standalone.jucer-enable-Faust-for-LinuxMakefile.patch @@ -0,0 +1,29 @@ +From 085a5ee2e619014709a6eac498c4b9ae29183765 Mon Sep 17 00:00:00 2001 +From: Roman Sommer <roman@resonant-bytes.de> +Date: Wed, 6 Dec 2023 17:28:36 +0100 +Subject: [PATCH 2/2] HISE Standalone.jucer: enable Faust for LinuxMakefile + +--- + projects/standalone/HISE Standalone.jucer | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/projects/standalone/HISE Standalone.jucer b/projects/standalone/HISE Standalone.jucer +index b3af7a9bd..cccaf7a4c 100644 +--- a/projects/standalone/HISE Standalone.jucer ++++ b/projects/standalone/HISE Standalone.jucer +@@ -256,9 +256,10 @@ + <MODULEPATH id="hi_faust_types" path="../../"/> + </MODULEPATHS> + </VS2022> +- <LINUX_MAKE targetFolder="Builds/LinuxMakefile" extraDefs="USE_IPP=0 HI_ENABLE_EXPANSION_EDITING=1 HISE_ENABLE_EXPANSIONS=1 HISE_SCRIPT_SERVER_TIMEOUT=20000 " ++ <LINUX_MAKE targetFolder="Builds/LinuxMakefile" extraDefs="USE_IPP=0 HI_ENABLE_EXPANSION_EDITING=1 HISE_ENABLE_EXPANSIONS=1 HISE_SCRIPT_SERVER_TIMEOUT=20000 HISE_INCLUDE_FAUST=1 HISE_FAUST_USE_LLVM_JIT=1 HISE_INCLUDE_FAUST_JIT=1" + smallIcon="bfBEgJ" bigIcon="bfBEgJ" linuxExtraPkgConfig="x11 xinerama xext" +- extraLinkerFlags="-no-pie " extraCompilerFlags="-fpermissive"> ++ extraLinkerFlags="-no-pie " extraCompilerFlags="-fpermissive" ++ externalLibraries="faust"> + <CONFIGURATIONS> + <CONFIGURATION name="Debug" isDebug="1" optimisation="1" targetName="HISE Standalone"/> + <CONFIGURATION name="Release" isDebug="0" optimisation="3" targetName="HISE Standalone" +-- +2.43.0 + diff --git a/0003-Settings-set-default-HISE-Path-to-install-location.patch b/0003-Settings-set-default-HISE-Path-to-install-location.patch new file mode 100644 index 000000000000..18a82a0beeee --- /dev/null +++ b/0003-Settings-set-default-HISE-Path-to-install-location.patch @@ -0,0 +1,24 @@ +From 8e50a23ce84ba6a270d7c90d1228dad512c43f30 Mon Sep 17 00:00:00 2001 +From: Roman Sommer <roman@resonant-bytes.de> +Date: Wed, 6 Dec 2023 20:17:07 +0100 +Subject: [PATCH 3/3] Settings: set default HISE Path to install location + +--- + hi_core/hi_core/HiseSettings.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/hi_core/hi_core/HiseSettings.cpp b/hi_core/hi_core/HiseSettings.cpp +index 9e2d8eb5c..4fd2d2fe4 100644 +--- a/hi_core/hi_core/HiseSettings.cpp ++++ b/hi_core/hi_core/HiseSettings.cpp +@@ -1132,6 +1132,7 @@ var HiseSettings::Data::getDefaultSetting(const Identifier& id) const + else if (id == Scripting::EnableMousePositioning) return "Yes"; + else if (id == Scripting::CompileTimeout) return 5.0; + else if (id == Scripting::SaveConnectedFilesOnCompile) return "No"; ++ else if (id == Compiler::HisePath) return "/usr/share/hise/src"; + #if HISE_USE_VS2022 + else if (id == Compiler::VisualStudioVersion) return "Visual Studio 2022"; + #else +-- +2.43.0 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f99b5311f263 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,65 @@ +# Maintainer: Roman Sommer <roman.sommer@fau.de> +pkgname=hise +_pkgvermajor=3 +_pkgverminor=6 +_pkgverpatch=2 +pkgver=$_pkgvermajor.$_pkgverminor.$_pkgverpatch +pkgrel=1 +epoch= +pkgdesc="Open source toolkit for building virtual instruments and audio effects" +arch=('i686' 'x86_64') +url="https://hise.dev" +license=('GPLv3+') +groups=() +depends=(faust jack) # HISE brings its own JUCE +makedepends=(juce) # we still need Projucer from Arch, which doesn't segfault on saving +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +_sourcearchive="$pkgver.tar.gz" +_srcname="HISE-$pkgver" +source=("https://github.com/christophhart/HISE/archive/refs/tags/$_sourcearchive" + "0001-Faust-fix-missing-header.patch" + "0002-HISE-Standalone.jucer-enable-Faust-for-LinuxMakefile.patch" + "0003-Settings-set-default-HISE-Path-to-install-location.patch" + ) +sha256sums=('8588af4d43178184920a9578b5eaf5887e6e98617c2b5385f98ed43f81fa9689' + '52077d6630d10fc34ae28c287db357d88d1299ebcd8eb838eb4a865f857c6736' + '8ffb216fd65c4bd04e5775e219f4b548e0f0ccb8ee5887ef08e49c787129404a' + '20918a218034f2c37ba1bfef5b5d1eed1fb7a0aa1022c9ce49ad8443a201f83c') + +noextract=() + +prepare() { + cd "$srcdir/$_srcname" + patch -p1 < ../0001-Faust-fix-missing-header.patch + patch -p1 < ../0002-HISE-Standalone.jucer-enable-Faust-for-LinuxMakefile.patch + patch -p1 < ../0003-Settings-set-default-HISE-Path-to-install-location.patch + Projucer --resave "$srcdir/$_srcname/projects/standalone/HISE Standalone.jucer" +} + +build() { + cd "$srcdir/$_srcname/projects/standalone/Builds/LinuxMakefile" + make CONFIG=Release +} + +# check() { +# cd "$srcdir/projects/standalone/Builds/LinuxMakefile" +# } + +package() { + cd "$srcdir/$_srcname/projects/standalone/Builds/LinuxMakefile" + install -Dm755 "build/HISE Standalone" "$pkgdir/usr/bin/hise" + rm -rf build + cd "$srcdir" + mkdir -p "$pkgdir/usr/share/hise" + cp -ar "$_srcname" "$pkgdir/usr/share/hise/src" +} + +# vim:set ts=2 sw=2 et: |