[proaudio] lv2-c++-tools: make it emerging again

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


- Now needs -std=c++11 flag to build
- By some reason it doesn't link with boost_system.
- Changed SRC_URI to use HTTPS

Attachment: lv2-c++-tools-1.0.5-r1.ebuild
Description: Binary data

--- /var/lib/layman/proaudio/dev-util/lv2-c++-tools/lv2-c++-tools-1.0.5.ebuild	2015-09-30 13:17:06.215136781 +0500
+++ ./lv2-c++-tools-1.0.5-r1.ebuild	2017-05-24 09:01:47.199920621 +0500
@@ -3,11 +3,11 @@
 # $Header: $
 
 EAPI="5"
-inherit multilib toolchain-funcs
+inherit multilib toolchain-funcs flag-o-matic
 
 DESCRIPTION="some tools and libraries that may come in handy when writing LV2 plugins"
 HOMEPAGE="http://ll-plugins.nongnu.org/hacking.html";
-SRC_URI="http://download.savannah.nongnu.org/releases/ll-plugins/${P}.tar.bz2";
+SRC_URI="https://download.savannah.nongnu.org/releases/ll-plugins/${P}.tar.bz2";
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -29,6 +29,10 @@
 	sed -e '/ldconfig/d' -i Makefile.template || die
 }
 
+src_configure() {
+	econf --CFLAGS="-std=c++11" --LDFLAGS="-lboost_system-mt"
+}
+
 src_compile() {
 	tc-export AR CXX
 	default


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/