1
0
flewkey-overlay/media-plugins/geonkick/geonkick-9999.ebuild
Ryan Fox f382e224e4
media-plugins/geonkick: Bump to 2.8.0
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Ryan Fox <flewkey@2a03.party>
2021-06-13 08:47:22 +00:00

47 lines
909 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake xdg-utils
if [[ ${PV} != *9999* ]]; then
SRC_URI="https://github.com/iurie-sw/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/iurie-sw/${PN}.git"
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
"
src_prepare() {
sed -i "s/Version=1.10/Version=1.1/" "${S}/data/geonkick.desktop"
cmake_src_prepare
}
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
}