2020-08-17 19:46:40 -04:00
|
|
|
# Copyright 2020 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
|
|
|
inherit meson xdg-utils gnome2-utils
|
|
|
|
|
|
|
|
if [[ ${PV} != *9999* ]]; then
|
|
|
|
SRC_URI="https://git.zrythm.org/cgit/zrythm/snapshot/${P}.tar.gz"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
else
|
|
|
|
inherit git-r3
|
|
|
|
EGIT_REPO_URI="https://git.zrythm.org/git/zrythm"
|
|
|
|
fi
|
|
|
|
|
|
|
|
DESCRIPTION="Zrythm is a digital audio workstation designed to be featureful and easy to use."
|
|
|
|
HOMEPAGE="https://www.zrythm.org/"
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
|
2020-08-17 20:01:12 -04:00
|
|
|
DEPEND="
|
2020-08-17 19:46:40 -04:00
|
|
|
app-arch/zstd
|
|
|
|
dev-libs/libcyaml
|
|
|
|
dev-libs/reproc
|
|
|
|
dev-scheme/guile
|
|
|
|
kde-frameworks/breeze-icons
|
|
|
|
media-libs/lilv
|
|
|
|
media-libs/libaudec
|
|
|
|
media-libs/chromaprint
|
|
|
|
media-libs/rubberband
|
2020-08-26 18:49:44 -04:00
|
|
|
sci-libs/fftw:*[threads]
|
2020-08-17 20:01:12 -04:00
|
|
|
x11-libs/gtk+:3
|
|
|
|
x11-libs/gtksourceview:*
|
2020-08-17 19:46:40 -04:00
|
|
|
"
|
2020-08-17 20:01:12 -04:00
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND=""
|
2020-08-17 19:46:40 -04:00
|
|
|
|
|
|
|
src_install() {
|
|
|
|
DESTDIR="${D}" eninja -C "${BUILD_DIR}" install
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
xdg_mimeinfo_database_update
|
|
|
|
xdg_desktop_database_update
|
|
|
|
xdg_icon_cache_update
|
|
|
|
gnome2_schemas_update
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postrm() {
|
|
|
|
xdg_mimeinfo_database_update
|
|
|
|
xdg_desktop_database_update
|
|
|
|
xdg_icon_cache_update
|
|
|
|
gnome2_schemas_update
|
|
|
|
}
|