1
0
flewkey-overlay/x11-libs/ztoolkit/ztoolkit-0.1.2.ebuild

37 lines
708 B
Bash
Raw Normal View History

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
if [[ ${PV} != *9999* ]]; then
S="${WORKDIR}/${PN}"
SRC_URI="https://git.zrythm.org/zrythm/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
else
inherit git-r3
EGIT_REPO_URI="https://git.zrythm.org/zrythm/ztoolkit.git"
fi
DESCRIPTION="GUI toolkit for LV2 plugins"
HOMEPAGE="https://git.zrythm.org/zrythm/ztoolkit"
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
}