# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=6 inherit cmake-utils DESCRIPTION="ETL is a multi-platform class and template library" HOMEPAGE="http://synfig.org" SRC_URI="https://github.com/synfig/synfig/archive/v${PV}.tar.gz -> synfig-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="" RDEPEND="${DEPEND}" S=${WORKDIR}/synfig-${PV}/${PN} # mkdir build && pushd build # cmake -GNinja .. -DCMAKE_BUILD_TYPE=RelWithDebInfo # cmake --build . -- all test # sudo cmake --build . -- install src_configure() { local mycmakeargs=( -DCMAKE_BUILD_TYPE=Release ) cmake-utils_src_configure } src_compile() { cmake-utils_src_compile } src_install() { cmake-utils_src_install }