summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2024-06-13 15:37:09 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-06-13 15:37:09 +0200
commitfdb8afa9c071c0e99de94284e169437131c163eb (patch)
tree5cd671656702287317dff6e9fcd48b925c26ee89 /media-plugins
parentdev-java/velocity: drop 2.3 (diff)
downloadgentoo-fdb8afa9c071c0e99de94284e169437131c163eb.tar.gz
gentoo-fdb8afa9c071c0e99de94284e169437131c163eb.tar.bz2
gentoo-fdb8afa9c071c0e99de94284e169437131c163eb.zip
media-plugins/x42-avldrums: bump to 0.7.3 + eapi8
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/x42-avldrums/Manifest1
-rw-r--r--media-plugins/x42-avldrums/x42-avldrums-0.7.3.ebuild44
-rw-r--r--media-plugins/x42-avldrums/x42-avldrums-9999.ebuild4
3 files changed, 47 insertions, 2 deletions
diff --git a/media-plugins/x42-avldrums/Manifest b/media-plugins/x42-avldrums/Manifest
index 6d146f6bbf55..f7933b93e67b 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.7.2.tar.gz 101208843 BLAKE2B de27cf0fd83b24e6ca151ab4ef4282b3558e41f890ed93b25950cd3ab78da5c30ff990115c28df60b693fa06824c6330b3af7bec09d44b3a435442d91d61ffb5 SHA512 9034180e4ac68127368d91a32dbfd874692ce8152f7ee947d621d08519e4c005e6e06367f36b0e4e31d38bd2f766e6a7db40bbbac83c63c65ed0ff88c02a1a0b
+DIST x42-avldrums-0.7.3.tar.gz 101208525 BLAKE2B 33ae78ab339ef58f06bd89b0bfd4eaba9aeba175b6278d15de89f35002f6506c71f67542f6e5b053ffdf482f9328862eb6767dbde16f6548e3ca31a3a24efadb SHA512 7dd476c24f38ad241f2f19b10b561e7f9fd4f737ec1c186eaf55b9bfec1c3c1153beea95860e23d7ad2d160d97122127f0922f3ea2c2f0db083bb134362722e9
diff --git a/media-plugins/x42-avldrums/x42-avldrums-0.7.3.ebuild b/media-plugins/x42-avldrums/x42-avldrums-0.7.3.ebuild
new file mode 100644
index 000000000000..a61333ad0f35
--- /dev/null
+++ b/media-plugins/x42-avldrums/x42-avldrums-0.7.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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
+}
diff --git a/media-plugins/x42-avldrums/x42-avldrums-9999.ebuild b/media-plugins/x42-avldrums/x42-avldrums-9999.ebuild
index 1fdd52ce392e..a61333ad0f35 100644
--- a/media-plugins/x42-avldrums/x42-avldrums-9999.ebuild
+++ b/media-plugins/x42-avldrums/x42-avldrums-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
DESCRIPTION="AVLinux Drumkits"
HOMEPAGE="http://x42-plugins.com/x42/x42-avldrums https://github.com/x42/avldrums.lv2"