1
0
flewkey-overlay/media-sound/zrythm/zrythm-1.0.0_alpha37.ebuild
Ryan Fox 97ef5aa00c
media-sound/zrythm: Bump to 1.0.0-alpha.14.1.2
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Ryan Fox <flewkey@2a03.party>
2021-04-02 21:54:49 +00:00

63 lines
1.3 KiB
Bash

# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson xdg-utils gnome2-utils
MY_PV="1.0.0-alpha.14.1.2"
MY_P="${PN}-${MY_PV}"
S="${WORKDIR}/${MY_P}"
SRC_URI="https://www.zrythm.org/releases/${MY_P}.tar.xz"
KEYWORDS=""
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"
DEPEND="
app-arch/zstd
dev-libs/libbacktrace
>dev-libs/libcyaml-1.1.0
dev-libs/libpcre
>=dev-libs/reproc-14.1.0
dev-scheme/guile
kde-frameworks/breeze-icons
media-libs/lilv
>=media-libs/libaudec-0.2.3
media-libs/chromaprint
media-libs/rubberband
sci-libs/fftw:*[threads]
x11-libs/gtk+:3
x11-libs/gtksourceview:*
"
RDEPEND="${DEPEND}"
BDEPEND="
>=dev-util/meson-0.57.0
"
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"
}
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
}