2023-10-28 19:34:28 -04:00
|
|
|
# Copyright 1999-2023 Gentoo Authors
|
2022-05-26 12:39:28 -04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
|
|
|
inherit cmake xdg
|
|
|
|
|
2023-10-28 19:34:28 -04:00
|
|
|
if [[ ${PV} == 9999 ]]; then
|
2022-05-26 12:39:28 -04:00
|
|
|
inherit git-r3
|
2023-10-28 19:34:28 -04:00
|
|
|
EGIT_REPO_URI="https://github.com/Geonkick-Synthesizer/geonkick.git"
|
|
|
|
else
|
|
|
|
SRC_URI="https://github.com/Geonkick-Synthesizer/geonkick/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
KEYWORDS="~amd64"
|
2022-05-26 12:39:28 -04:00
|
|
|
fi
|
|
|
|
|
|
|
|
DESCRIPTION="A free software percussion synthesizer"
|
2023-10-28 19:34:28 -04:00
|
|
|
HOMEPAGE="https://geonkick.org/"
|
2022-05-26 12:39:28 -04:00
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
2023-10-28 19:34:28 -04:00
|
|
|
IUSE="+standalone +lv2"
|
2022-05-26 12:39:28 -04:00
|
|
|
|
|
|
|
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")
|
|
|
|
)
|
|
|
|
cmake_src_configure
|
|
|
|
}
|