# Copyright 1999-2019 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 WX_GTK_VER=3.0-gtk3 S='/tmp/portage/dev-util/wxformbuilder-3.9.0/work/wxFormBuilder-3.9.0' inherit meson multilib wxwidgets DESCRIPTION="RAD tool for wxWidgets GUI design" HOMEPAGE="https://github.com/wxFormBuilder/wxFormBuilder" SRC_URI="https://github.com/wxFormBuilder/wxFormBuilder/archive/v${PV}.tar.gz -> ${P}.tar.gz https://github.com/wxFormBuilder/ticpp/archive/eb79120ea16b847ce9f483a298a394050f463d6b.zip -> ticpp.zip" RESTRICT="mirror" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="debug" RDEPEND="x11-libs/wxGTK:$WX_GTK_VER[debug=]" DEPEND="${DEPEND} dev-util/meson" S="${WORKDIR}/wxFormBuilder-${PV}" src_prepare() { rmdir "${S}/subprojects/ticpp" ln -s "${WORKDIR}/ticpp-eb79120ea16b847ce9f483a298a394050f463d6b/" "${S}/subprojects/ticpp" default } src_configure() { local emesonargs=( $(meson_use debug) ) meson_src_configure }