diff options
-rw-r--r-- | media-plugins/x42-avldrums/Manifest | 1 | ||||
-rw-r--r-- | media-plugins/x42-avldrums/x42-avldrums-0.7.2.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/media-plugins/x42-avldrums/Manifest b/media-plugins/x42-avldrums/Manifest index e977ff14cf44..40038b47ab5b 100644 --- a/media-plugins/x42-avldrums/Manifest +++ b/media-plugins/x42-avldrums/Manifest @@ -1,2 +1,3 @@ DIST robtk-0.7.5.tar.gz 117218 BLAKE2B ed1d19644b0d1bbc072098971062b66810cf137499a6ac4a706865c3f7dbd1c4741fb7dc9d8fe7f9112a43744c9bc9dc97d9e53264bbf9625291c6b49724bd35 SHA512 93527d5c67af786f93338c722e10e8c71379372846d06905af1b10b7085c34c09ebf445e174c32206b06cac876ed8093b3631f8ed15c10fcbe44317b6b8e2559 DIST x42-avldrums-0.4.2.tar.gz 35246454 BLAKE2B aa8197e9b4e49f106f223cdc59886c76e33901b78c017b63598ff777cbbc7731318aeee90eb0687ce6bcf53b5f372218a0a8998c53d3c16ead9e8451d28f270b SHA512 4a8e51a02022294eedcb676579db7fbbf6d0054c71bb86a600403dd251a5bc179785d9a436ceba27a27cc49a370801e3838081d787d9b6345c85ae45b5f0e9e9 +DIST x42-avldrums-0.7.2.tar.gz 101208843 BLAKE2B de27cf0fd83b24e6ca151ab4ef4282b3558e41f890ed93b25950cd3ab78da5c30ff990115c28df60b693fa06824c6330b3af7bec09d44b3a435442d91d61ffb5 SHA512 9034180e4ac68127368d91a32dbfd874692ce8152f7ee947d621d08519e4c005e6e06367f36b0e4e31d38bd2f766e6a7db40bbbac83c63c65ed0ff88c02a1a0b 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 +} |