forked from asmigala/fedora-spec
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
85 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
all: hvcc plugins | ||
|
||
PLUGIN = vSwell vSwellST | ||
|
||
DEST_LV2 = .lv2 | ||
DEST_VST = .vst | ||
DEST_CLAP = .clap | ||
HM = ~/ | ||
|
||
plugins: hvcc | ||
$(foreach var, $(PLUGIN), make -C $(var)/ features;) | ||
$(foreach var, $(PLUGIN), make -C $(var)/ $(MAKECMDGOALS);) | ||
|
||
hvcc: | ||
$(foreach var, $(PLUGIN), hvcc $(var).pd -n $(var) -m $(var).json -o $(var) -g dpf -p ./ dep/heavylib;) | ||
|
||
binmove: | ||
mkdir bin | ||
$(foreach var, $(PLUGIN), mv $(var)/bin/* bin/;) | ||
|
||
install: | ||
$(foreach var, $(PLUGIN), rm -rf $(HM)$(DEST_LV2)/$(var).lv2 ;) | ||
$(foreach var, $(PLUGIN), cp -r $(var)/bin/$(var).lv2 $(HM)$(DEST_LV2)/ ;) | ||
$(foreach var, $(PLUGIN), rm -rf $(HM)$(DEST_VST)/$(var)-vst.so ;) | ||
$(foreach var, $(PLUGIN), cp -r $(var)/bin/$(var)-vst.so $(HM)$(DEST_VST)/ ;) | ||
$(foreach var, $(PLUGIN), rm -rf $(HM)$(DEST_CLAP)/$(var).clap ;) | ||
$(foreach var, $(PLUGIN), cp -r $(var)/bin/$(var).clap $(HM)$(DEST_CLAP)/ ;) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Tag: Library, Devel | ||
# Type: Devel | ||
# Category: Programming | ||
|
||
%global __python %{__python3} | ||
|
||
Name: python-wstd2daisy | ||
Version: 0.5.1 | ||
Release: 1%{?dist} | ||
Summary: Utility for converting JSON board definitions into valid, libDaisy compatible C++ board support files for the Daisy platform. | ||
License: MIT | ||
URL: https://github.com/Wasted-Audio/json2daisy | ||
|
||
Source0: %{pypi_source wstd2daisy} | ||
|
||
BuildArch: noarch | ||
|
||
BuildRequires: python3-devel | ||
BuildRequires: pyproject-rpm-macros | ||
|
||
%description | ||
Utility for converting JSON board definitions into valid, | ||
libDaisy compatible C++ board support files for the Daisy platform. | ||
|
||
%package -n python3-wstd2daisy | ||
Summary: %{summary} | ||
|
||
%description -n python3-wstd2daisy | ||
Utility for converting JSON board definitions into valid, | ||
libDaisy compatible C++ board support files for the Daisy platform. | ||
|
||
%prep | ||
%autosetup -n wstd2daisy-%{version} | ||
|
||
%generate_buildrequires | ||
%pyproject_buildrequires -r | ||
|
||
%build | ||
%pyproject_wheel | ||
|
||
%install | ||
%pyproject_install | ||
%pyproject_save_files json2daisy | ||
|
||
%files -n python3-wstd2daisy -f %{pyproject_files} | ||
%license LICENSE | ||
%doc README.md | ||
|
||
%changelog | ||
* Wed Jan 24 2024 Yann Collette <ycollette.nospam@free.fr> - 0.5.1-1 | ||
- Initial release |