2020-07-08 19:55:48 -04:00
|
|
|
# Copyright 2020 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2020-07-07 00:20:50 -04:00
|
|
|
EAPI=7
|
|
|
|
|
2020-07-08 20:34:39 -04:00
|
|
|
inherit cmake xdg-utils
|
2020-07-07 00:20:50 -04:00
|
|
|
|
|
|
|
if [[ ${PV} != *9999* ]]; then
|
|
|
|
SRC_URI="https://github.com/iurie-sw/geonkick/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
else
|
|
|
|
inherit git-r3
|
|
|
|
EGIT_REPO_URI="https://github.com/iurie-sw/geonkick.git"
|
|
|
|
fi
|
|
|
|
|
|
|
|
DESCRIPTION="A free software percussion synthesizer"
|
|
|
|
HOMEPAGE="https://github.com/iurie-sw/geonkick"
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
|
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
|
|
|
|
x11-libs/redkite
|
|
|
|
"
|
2020-08-20 18:33:19 -04:00
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND=""
|
2020-07-07 18:17:11 -04:00
|
|
|
PATCHES=(
|
|
|
|
"${FILESDIR}/fix_libdir.patch"
|
|
|
|
)
|
2020-07-07 01:14:37 -04:00
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
xdg_mimeinfo_database_update
|
|
|
|
xdg_desktop_database_update
|
|
|
|
xdg_icon_cache_update
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postrm() {
|
|
|
|
xdg_mimeinfo_database_update
|
|
|
|
xdg_desktop_database_update
|
|
|
|
xdg_icon_cache_update
|
|
|
|
}
|