1
0
flewkey-overlay/media-plugins/geonkick/geonkick-2.9.1.ebuild
Ryan Fox a2aab22324
media-plugins/geonkick: Bump to 2.9.1
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Ryan Fox <flewkey@2a03.party>
2022-05-26 09:39:28 -07:00

41 lines
854 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake xdg
if [[ ${PV} != *9999* ]]; then
SRC_URI="https://github.com/free-sm/geonkick/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/free-sm/geonkick.git"
fi
DESCRIPTION="A free software percussion synthesizer"
HOMEPAGE="https://github.com/free-sm/geonkick"
LICENSE="GPL-3"
SLOT="0"
IUSE="+standalone +lv2 +vst3"
REQUIRED_USE="vst3? ( lv2 )"
DEPEND="
dev-libs/rapidjson
media-libs/libsndfile
media-libs/lv2
"
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
}