diff --git a/README.md b/README.md index 1683ffb..be6d6fc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # vst3sdk +VST 3 Plug-In SDK. diff --git a/vst3sdk-3.7.7_build_19-include_limits.patch b/vst3sdk-3.7.7_build_19-include_limits.patch new file mode 100644 index 0000000..2af928c --- /dev/null +++ b/vst3sdk-3.7.7_build_19-include_limits.patch @@ -0,0 +1,10 @@ +--- vst3sdk-3.7.7_build_19/public.sdk/source/vst/moduleinfo/moduleinfoparser.cpp.orig 2022-12-13 14:23:13.350703012 +0100 ++++ vst3sdk-3.7.7_build_19/public.sdk/source/vst/moduleinfo/moduleinfoparser.cpp 2022-12-13 14:23:34.402644523 +0100 +@@ -39,6 +39,7 @@ + #include "jsoncxx.h" + #include "pluginterfaces/base/ipluginbase.h" + #include ++#include + + //------------------------------------------------------------------------ + namespace Steinberg::ModuleInfoLib { diff --git a/vst3sdk.pc b/vst3sdk.pc new file mode 100644 index 0000000..ab1498e --- /dev/null +++ b/vst3sdk.pc @@ -0,0 +1,5 @@ +Name: vst3sdk +Description: VST 3 Plug-In SDK +Version: VERSION +Cflags: -I/usr/share/vst3sdk +Libs: diff --git a/vst3sdk.spec b/vst3sdk.spec new file mode 100644 index 0000000..8fe0a83 --- /dev/null +++ b/vst3sdk.spec @@ -0,0 +1,57 @@ +Name: vst3sdk +Version: 3.7.7_build_19 +Release: 1mamba +Summary: VST 3 Plug-In SDK +Group: Applications/Multimedia +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/steinbergmedia/vst3sdk +Source: https://github.com/steinbergmedia/vst3sdk.git/v%{version}/vst3sdk-%{version}.tar.bz2 +Source1: vst3sdk.pc +Patch0: vst3sdk-3.7.7_build_19-include_limits.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: libperl +BuildRequires: perl-devel +## AUTOBUILDREQ-END + +%description +VST 3 Plug-In SDK. + +#% debug_package + +%prep +%setup -q +%patch0 -p1 + +%build +#% cmake -d build +#% make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +mkdir -p %{buildroot}%{_datadir}/%{name} +cp -a * %{buildroot}%{_datadir}/%{name}/ + +install -D -m0644 cmake/modules/*.cmake -t %{buildroot}%{_datadir}/cmake/%{name}/ + +install -D -m0644 %{SOURCE1} %{buildroot}%{_libdir}/pkgconfig/vst3sdk.pc +sed -i "s|VERSION|%{version}|" %{buildroot}%{_libdir}/pkgconfig/vst3sdk.pc + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/* +%dir %{_datadir}/cmake/vst3sdk +%{_datadir}/cmake/vst3sdk/*.cmake +%{_libdir}/pkgconfig/vst3sdk.pc +%doc LICENSE.txt + +%changelog +* Tue Dec 13 2022 Silvan Calarco 3.7.7_build_19-1mamba +- package created using the webbuild interface