diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-16 17:36:56 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-16 17:36:56 +0000 |
commit | 3b00f2d2f95f5d6ff01e71259eb94fa714a92232 (patch) | |
tree | cbb68bfc0fb05c9b7150b12c72e76be1ae6580fc /media-plugins/x42-avldrums/x42-avldrums-0.7.2.ebuild | |
parent | 01264ef95477b8c1380cd3525278c507006685ee (diff) |
gentoo auto-resync : 16:02:2024 - 17:36:56
Diffstat (limited to 'media-plugins/x42-avldrums/x42-avldrums-0.7.2.ebuild')
-rw-r--r-- | media-plugins/x42-avldrums/x42-avldrums-0.7.2.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/media-plugins/x42-avldrums/x42-avldrums-0.7.2.ebuild b/media-plugins/x42-avldrums/x42-avldrums-0.7.2.ebuild new file mode 100644 index 000000000000..0a79df969b99 --- /dev/null +++ b/media-plugins/x42-avldrums/x42-avldrums-0.7.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="AVLinux Drumkits" +HOMEPAGE="http://x42-plugins.com/x42/x42-avldrums https://github.com/x42/avldrums.lv2" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/x42/avldrums.lv2.git" + ROBTK_DIR="robtk/" +else + ROBTK_PV="0.7.5" + SRC_URI=" + https://github.com/x42/avldrums.lv2/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/x42/robtk/archive/refs/tags/v${ROBTK_PV}.tar.gz -> robtk-${ROBTK_PV}.tar.gz + " + KEYWORDS="~amd64" + S="${WORKDIR}/avldrums.lv2-${PV}" + ROBTK_DIR="${WORKDIR}/robtk-${ROBTK_PV}/" +fi + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="mirror" + +RDEPEND="dev-libs/glib + media-libs/glu + media-libs/lv2 + x11-libs/cairo[X] + media-libs/libglvnd[X] + x11-libs/libX11 + x11-libs/pango +" +DEPEND="${RDEPEND}" + +src_compile() { + emake STRIP="#" RW="${ROBTK_DIR}" +} + +src_install() { + emake RW="${ROBTK_DIR}" DESTDIR="${D}" PREFIX="/usr" LV2DIR="/usr/$(get_libdir)/lv2" install +} |