2022-01-16 06:30:25 -05:00
|
|
|
# Copyright 1999-2022 Gentoo Authors
|
2020-07-08 19:55:48 -04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2022-01-16 06:30:25 -05:00
|
|
|
EAPI=8
|
2020-07-07 00:20:50 -04:00
|
|
|
|
2021-06-13 13:50:42 -04:00
|
|
|
inherit cmake xdg
|
2020-07-07 00:20:50 -04:00
|
|
|
|
|
|
|
if [[ ${PV} != *9999* ]]; then
|
2022-03-06 17:22:42 -05:00
|
|
|
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
|
2022-03-06 17:22:42 -05:00
|
|
|
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"
|
2022-03-06 17:22:42 -05:00
|
|
|
HOMEPAGE="https://github.com/free-sm/geonkick"
|
2020-07-07 00:20:50 -04:00
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
2022-03-06 17:22:42 -05:00
|
|
|
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}"
|
2021-03-15 03:11:45 -04:00
|
|
|
BDEPEND="
|
|
|
|
>=dev-util/cmake-3.7
|
|
|
|
"
|
2022-03-06 17:22:42 -05:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|