# By eroen , 2018 # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. EAPI=6 inherit autotools DESCRIPTION="Header-only library used by synfig" HOMEPAGE="https://www.synfig.org" SRC_URI="mirror://sourceforge/synfig/$P.tar.gz" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64" IUSE="" DEPEND="" RDEPEND="${DEPEND}" src_prepare() { default # build system strips away -g* and -O* flags sed -e '/CXXFLAGS=.*debug_flags/s@`.*`@$CXXFLAGS@' \ -e '/CFLAGS=.*debug_flags/s@`.*`@$CFLAGS@' \ -e '/CXXFLAGS=.*optimization_flags/d' \ -e '/CFLAGS=.*optimization_flags/d' \ -i m4/subs.m4 || die eautoreconf }