Ryan Fox
ec50f6ae54
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Ryan Fox <flewkey@2a03.party>
37 lines
708 B
Bash
37 lines
708 B
Bash
# 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
|
|
}
|