1
0
flewkey-overlay/media-plugins/geonkick/geonkick-9999.ebuild

41 lines
854 B
Bash
Raw Normal View History

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
2020-07-07 00:20:50 -04:00
inherit cmake xdg
2020-07-07 00:20:50 -04:00
if [[ ${PV} != *9999* ]]; then
SRC_URI="https://github.com/free-sm/geonkick/archive/v${PV}.tar.gz -> ${P}.tar.gz"
2020-07-07 00:20:50 -04:00
KEYWORDS="~amd64"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/free-sm/geonkick.git"
2020-07-07 00:20:50 -04:00
fi
DESCRIPTION="A free software percussion synthesizer"
HOMEPAGE="https://github.com/free-sm/geonkick"
2020-07-07 00:20:50 -04:00
LICENSE="GPL-3"
SLOT="0"
IUSE="+standalone +lv2 +vst3"
REQUIRED_USE="vst3? ( lv2 )"
2020-07-07 00:20:50 -04:00
2020-08-20 18:33:19 -04:00
DEPEND="
2020-07-07 00:20:50 -04:00
dev-libs/rapidjson
media-libs/libsndfile
media-libs/lv2
"
2020-08-20 18:33:19 -04:00
RDEPEND="${DEPEND}"
BDEPEND="
>=dev-util/cmake-3.7
"
src_configure() {
local mycmakeargs=(
-DGKICK_STANDALONE=$(usex standalone "ON" "OFF")
-DGKICK_PLUGIN=$(usex lv2 "ON" "OFF")
-DGKICK_VST3=$(usex vst3 "ON" "OFF")
)
cmake_src_configure
}