diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2021-06-06 20:02:56 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-06-06 20:03:11 +0200 |
commit | 8b832461183570869fe661ec76192770946f6aa2 (patch) | |
tree | c62d8ee4615a9c829de3c509f13ef558af7be04d /media-plugins/x42-avldrums | |
parent | games-puzzle/pauker: Support newer java (diff) | |
download | gentoo-8b832461183570869fe661ec76192770946f6aa2.tar.gz gentoo-8b832461183570869fe661ec76192770946f6aa2.tar.bz2 gentoo-8b832461183570869fe661ec76192770946f6aa2.zip |
media-plugins/x42-avldrums: new package
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-plugins/x42-avldrums')
-rw-r--r-- | media-plugins/x42-avldrums/Manifest | 2 | ||||
-rw-r--r-- | media-plugins/x42-avldrums/metadata.xml | 11 | ||||
-rw-r--r-- | media-plugins/x42-avldrums/x42-avldrums-0.4.2.ebuild | 41 | ||||
-rw-r--r-- | media-plugins/x42-avldrums/x42-avldrums-9999.ebuild | 41 |
4 files changed, 95 insertions, 0 deletions
diff --git a/media-plugins/x42-avldrums/Manifest b/media-plugins/x42-avldrums/Manifest new file mode 100644 index 000000000000..e977ff14cf44 --- /dev/null +++ b/media-plugins/x42-avldrums/Manifest @@ -0,0 +1,2 @@ +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 diff --git a/media-plugins/x42-avldrums/metadata.xml b/media-plugins/x42-avldrums/metadata.xml new file mode 100644 index 000000000000..5f5d01566d0e --- /dev/null +++ b/media-plugins/x42-avldrums/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>proaudio@gentoo.org</email> + <name>Gentoo ProAudio Project</name> + </maintainer> + <upstream> + <remote-id type="github">x42/avldrums.lv2</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/x42-avldrums/x42-avldrums-0.4.2.ebuild b/media-plugins/x42-avldrums/x42-avldrums-0.4.2.ebuild new file mode 100644 index 000000000000..916d8f6295a4 --- /dev/null +++ b/media-plugins/x42-avldrums/x42-avldrums-0.4.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="AVLinux Drumkits" +HOMEPAGE="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 + virtual/opengl + x11-libs/cairo[X] + 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 +} diff --git a/media-plugins/x42-avldrums/x42-avldrums-9999.ebuild b/media-plugins/x42-avldrums/x42-avldrums-9999.ebuild new file mode 100644 index 000000000000..916d8f6295a4 --- /dev/null +++ b/media-plugins/x42-avldrums/x42-avldrums-9999.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="AVLinux Drumkits" +HOMEPAGE="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 + virtual/opengl + x11-libs/cairo[X] + 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 +} |