2021-06-13 05:42:49 -04:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
2021-02-24 20:00:41 -05:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
|
|
|
inherit meson
|
|
|
|
|
|
|
|
if [[ ${PV} != *9999* ]]; then
|
2021-06-13 05:42:49 -04:00
|
|
|
S="${WORKDIR}/${PN}"
|
|
|
|
SRC_URI="https://git.zrythm.org/zrythm/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
2021-02-24 20:00:41 -05:00
|
|
|
KEYWORDS="~amd64"
|
|
|
|
else
|
|
|
|
inherit git-r3
|
2021-06-13 05:42:49 -04:00
|
|
|
EGIT_REPO_URI="https://git.zrythm.org/zrythm/ztoolkit.git"
|
2021-02-24 20:00:41 -05:00
|
|
|
fi
|
|
|
|
|
|
|
|
DESCRIPTION="GUI toolkit for LV2 plugins"
|
2021-06-13 05:42:49 -04:00
|
|
|
HOMEPAGE="https://git.zrythm.org/zrythm/ztoolkit"
|
2021-02-24 20:00:41 -05:00
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
IUSE="rsvg"
|
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
rsvg? ( >=gnome-base/librsvg-2.14 )
|
|
|
|
x11-libs/cairo
|
|
|
|
x11-libs/libX11
|
|
|
|
"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND=""
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
local emesonargs=(
|
|
|
|
$(meson_use rsvg enable_rsvg)
|
|
|
|
)
|
|
|
|
meson_src_configure
|
|
|
|
}
|