Skip to content
Snippets Groups Projects
Commit 7ad13cf0 authored by ab0027's avatar ab0027 :speech_balloon:
Browse files

Add build config for setBfree

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #8233 failed
---
include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml
- https://www.opencode.net/zynthbox/gitlab-ci-tools/raw/main/zynthbox-default-ci.yml
variables:
ARCH: 'armhf'
RELEASE: 'bullseye'
SOURCE_REPO_URL: 'https://github.com/pantherb/setBfree.git'
SOURCE_REPO_BRANCH: ''
SOURCE_REPO_COMMIT_HASH: ''
BUILDING_ZYNTHBOX_DEPENDENCY: 1
# zynthbox-dependency-setBfree
Build latest setBfree from source repository https://github.com/pantherb/setBfree.git
zynthbox-dependency-setBfree (0.8.11-1-1) bullseye; urgency=medium
* Build
-- Anupam Basak <anupam.basak27@gmail.com> Wed, 01 Mar 2023 14:57:01 +0530
11
Source: zynthbox-dependency-setBfree
Section: misc
Priority: optional
Maintainer: Anupam Basak <anupam.basak27@gmail.com>
Build-Depends: debhelper (>= 11)
Standards-Version: 4.1.3
Homepage: https://github.com/pantherb/setBfree.git
Package: zynthbox-dependency-setBfree
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Build zynthbox-dependency-setBfree deb
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: setBfree
Source: https://github.com/pantherb/setBfree.git
diff --git a/Makefile b/Makefile
index fdf0cae..4c58098 100644
--- a/Makefile
+++ b/Makefile
@@ -26,6 +26,8 @@ $(SUBDIRS)::
$(MAKE) -C $@ $(MAKECMDGOALS)
all clean install uninstall: $(SUBDIRS)
+ install -D lv2/b_synth /zynthian/zynthian-plugins/lv2/b_synth
+ install -D lv2/b_whirl /zynthian/zynthian-plugins/lv2/b_whirl
doc:
help2man -N --help-option=-H -n 'DSP tonewheel organ' -o doc/setBfree.1 src/setBfree
diff --git a/common.mak b/common.mak
index 0e2f72b..d04fec4 100644
--- a/common.mak
+++ b/common.mak
@@ -1,7 +1,7 @@
# TODO include this only once and export variables
PREFIX ?= /usr/local
-OPTIMIZATIONS ?= -msse -msse2 -mfpmath=sse -ffast-math -fomit-frame-pointer -O3 -fno-finite-math-only
+OPTIMIZATIONS ?= -mcpu=cortex-a53 -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mneon-for-64bits -mfloat-abi=hard -mlittle-endian -munaligned-access -mvectorize-with-neon-quad -ftree-vectorize -ffast-math -fomit-frame-pointer -O3 -fno-finite-math-only
ENABLE_CONVOLUTION ?= no
INSTALL_EXTRA_LV2 ?= no
FONTFILE?=/usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf
@@ -20,7 +20,7 @@ LV2VERSION=$(VERSION)
bindir = $(PREFIX)/bin
sharedir = $(PREFIX)/share/setBfree
-lv2dir = $(PREFIX)/lib/lv2
+lv2dir = /zynthian/zynthian-sw/setBfree/lv2
CFLAGS ?= $(OPTIMIZATIONS) -Wall
ifeq ($(XWIN),)
fix-Makefile.patch
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1
%:
dh $@
override_dh_usrlocal:
3.0 (quilt)
# Ignore all files having `/build/` in filepath
extend-diff-ignore = "(.*\/)?build\/.*"
# Ignore all files having `/.waf/` in filepath
extend-diff-ignore = "(.*\/)?\.waf.*\/.*"
# Ignore all files having `/man/` in filepath
extend-diff-ignore = "(.*\/)?man\/.*"
# Ignore all `.wafpickle` files
extend-diff-ignore = ".*\.wafpickle.*"
# Ignore all `.lock-waf` files
extend-diff-ignore = ".*\.lock-waf.*"
# Ignore all `.pyc` pycache files
extend-diff-ignore = ".*.pyc"
# Ignore all `.gitlab-ci.yml`
extend-diff-ignore = ".gitlab-ci.yml"
# Ignore all `README` files
extend-diff-ignore = "README|README.md"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment