guitarix2: for boost-1.89

This commit is contained in:
Đoàn Trần Công Danh 2025-08-30 16:16:31 +07:00
parent 9f52948bcb
commit 7d85ee4e10
2 changed files with 26 additions and 1 deletions

View file

@ -0,0 +1,25 @@
--- a/wscript
+++ b/wscript
@@ -203,7 +203,7 @@ def check_boost(conf):
int main() { boost::system::error_code c; }
"""
msg = "Checking for boost-system "
- conf.check_cxx(msg = msg, fragment=code, lib="boost_system", uselib_store="BOOST_SYSTEM", mandatory=1,includes='/opt/local/include', libpath='/opt/local/lib')
+ conf.check_cxx(msg = msg, fragment=code, mandatory=1,includes='/opt/local/include', libpath='/opt/local/lib')
# some boost (>1.49) versions depend on boost-system so we will check for it first
# and later link against boost_system were boost headers are included.
boost_atleast_version = 104200
@@ -218,11 +218,11 @@ def check_boost(conf):
int main(){ return 0; }
""" % boost_atleast_version
msg = "Checking for boost >= %s" % boost_atleast_vermsg
- conf.check_cxx(msg = msg, fragment=code, lib="boost_system", mandatory=1)
+ conf.check_cxx(msg = msg, fragment=code, mandatory=1)
#conf.check_cxx(msg = msg, fragment=code, lib="boost_system-mt", mandatory=1,includes='/opt/local/include', libpath='/opt/local/lib')
msg = "Checking for boost_iostreams >= %s" % boost_atleast_vermsg
- conf.check_cxx(msg = msg, fragment=code, lib=["boost_iostreams","boost_system"], uselib_store="BOOST_IOSTREAMS", mandatory=1)
+ conf.check_cxx(msg = msg, fragment=code, lib=["boost_iostreams"], uselib_store="BOOST_IOSTREAMS", mandatory=1)
#conf.check_cxx(msg = msg, fragment=code, lib=["boost_iostreams","boost_system-mt"], uselib_store="BOOST_IOSTREAMS", mandatory=1, includes='/opt/local/include', libpath='/opt/local/lib')
#try:

View file

@ -1,7 +1,7 @@
# Template file for 'guitarix2' # Template file for 'guitarix2'
pkgname=guitarix2 pkgname=guitarix2
version=0.44.1 version=0.44.1
revision=4 revision=5
build_style=waf3 build_style=waf3
configure_args="--cxxflags-release=-DNDEBUG --ladspa --new-ladspa --no-faust configure_args="--cxxflags-release=-DNDEBUG --ladspa --new-ladspa --no-faust
$(vopt_if avahi '' '--no-avahi') $(vopt_if bluez '' '--no-bluez')" $(vopt_if avahi '' '--no-avahi') $(vopt_if bluez '' '--no-bluez')"