2021-06-13 13:50:42 -04:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
2021-03-15 03:11:45 -04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
2021-06-13 13:50:42 -04:00
|
|
|
inherit cmake xdg
|
2021-03-15 03:11:45 -04:00
|
|
|
|
|
|
|
if [[ ${PV} != *9999* ]]; then
|
2021-06-13 13:50:42 -04:00
|
|
|
SRC_URI="https://github.com/iurie-sw/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
2021-03-15 03:11:45 -04:00
|
|
|
KEYWORDS="~amd64"
|
|
|
|
else
|
|
|
|
inherit git-r3
|
2021-06-13 13:50:42 -04:00
|
|
|
EGIT_REPO_URI="https://github.com/iurie-sw/${PN}.git"
|
2021-03-15 03:11:45 -04:00
|
|
|
fi
|
|
|
|
|
|
|
|
DESCRIPTION="A free software percussion synthesizer"
|
|
|
|
HOMEPAGE="https://github.com/iurie-sw/geonkick"
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
dev-libs/rapidjson
|
|
|
|
media-libs/libsndfile
|
|
|
|
media-libs/lv2
|
|
|
|
"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND="
|
|
|
|
>=dev-util/cmake-3.7
|
|
|
|
"
|
|
|
|
|
2021-06-13 13:50:42 -04:00
|
|
|
src_prepare() {
|
|
|
|
sed -i "s/Version=1.10/Version=1.1/" "${S}/data/geonkick.desktop"
|
|
|
|
cmake_src_prepare
|
2021-03-15 03:11:45 -04:00
|
|
|
}
|