2021-02-24 19:31:14 -05:00
|
|
|
# Copyright 2021 Gentoo Authors
|
2020-07-08 19:55:48 -04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2020-07-06 00:42:47 -04:00
|
|
|
EAPI=7
|
|
|
|
|
2021-02-24 19:31:14 -05:00
|
|
|
inherit git-r3 meson xdg-utils gnome2-utils
|
2020-07-06 00:42:47 -04:00
|
|
|
|
2021-02-24 19:31:14 -05:00
|
|
|
EGIT_REPO_URI="https://git.sr.ht/~alextee/zrythm"
|
2020-07-06 00:42:47 -04:00
|
|
|
|
|
|
|
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-26 19:02:05 -04:00
|
|
|
DEPEND="
|
2020-07-06 00:42:47 -04:00
|
|
|
app-arch/zstd
|
2021-04-02 17:54:49 -04:00
|
|
|
dev-libs/libbacktrace
|
|
|
|
>dev-libs/libcyaml-1.1.0
|
|
|
|
dev-libs/libpcre
|
2020-09-14 03:01:04 -04:00
|
|
|
>=dev-libs/reproc-14.1.0
|
2020-07-06 00:42:47 -04:00
|
|
|
dev-scheme/guile
|
|
|
|
kde-frameworks/breeze-icons
|
|
|
|
media-libs/lilv
|
2020-08-26 19:02:05 -04:00
|
|
|
>=media-libs/libaudec-0.2.3
|
2020-07-06 00:42:47 -04:00
|
|
|
media-libs/chromaprint
|
|
|
|
media-libs/rubberband
|
2020-08-26 19:02:05 -04:00
|
|
|
sci-libs/fftw:*[threads]
|
|
|
|
x11-libs/gtk+:3
|
|
|
|
x11-libs/gtksourceview:*
|
2020-07-06 00:42:47 -04:00
|
|
|
"
|
2020-08-26 19:02:05 -04:00
|
|
|
RDEPEND="${DEPEND}"
|
2020-09-17 16:23:16 -04:00
|
|
|
BDEPEND="
|
2021-04-02 17:54:49 -04:00
|
|
|
>=dev-util/meson-0.57.0
|
2020-09-17 16:23:16 -04:00
|
|
|
"
|
2020-07-06 00:42:47 -04:00
|
|
|
|
2021-04-02 17:54:49 -04:00
|
|
|
src_prepare() {
|
|
|
|
default
|
|
|
|
# Don't force subproject. The ebuild requires a future release, we're fine.
|
|
|
|
sed -i "s/'libcyaml', required: false, version: '>=99.1.0'/'libcyaml', required: false/g" "${S}/meson.build"
|
|
|
|
}
|
|
|
|
|
2020-07-06 00:42:47 -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
|
|
|
|
}
|