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

39 lines
790 B
Bash
Raw Normal View History

2023-10-28 23:34:28 +00:00
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
2020-07-07 04:20:50 +00:00
inherit cmake xdg
2020-07-07 04:20:50 +00:00
2023-10-28 23:34:28 +00:00
if [[ ${PV} == 9999 ]]; then
2020-07-07 04:20:50 +00:00
inherit git-r3
2023-10-28 23:34:28 +00: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"
2020-07-07 04:20:50 +00:00
fi
DESCRIPTION="A free software percussion synthesizer"
2023-10-28 23:34:28 +00:00
HOMEPAGE="https://geonkick.org/"
2020-07-07 04:20:50 +00:00
LICENSE="GPL-3"
SLOT="0"
2023-10-28 23:34:28 +00:00
IUSE="+standalone +lv2"
2020-07-07 04:20:50 +00:00
2020-08-20 22:33:19 +00:00
DEPEND="
2020-07-07 04:20:50 +00:00
dev-libs/rapidjson
media-libs/libsndfile
media-libs/lv2
"
2020-08-20 22:33:19 +00: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")
)
cmake_src_configure
}