From 96c551a1305d00e5d1265c046db798f15fe7662d Mon Sep 17 00:00:00 2001 From: Ryan Fox Date: Sat, 30 Sep 2023 21:02:15 -0700 Subject: [PATCH] media-plugins/zplugins: add 0.2.6, use gitlab --- media-plugins/zplugins/Manifest | 1 + media-plugins/zplugins/zplugins-0.2.6.ebuild | 36 ++++++++++++++++++++ media-plugins/zplugins/zplugins-9999.ebuild | 9 ++--- 3 files changed, 42 insertions(+), 4 deletions(-) create mode 100644 media-plugins/zplugins/zplugins-0.2.6.ebuild diff --git a/media-plugins/zplugins/Manifest b/media-plugins/zplugins/Manifest index 1bfd595..c15cbe3 100644 --- a/media-plugins/zplugins/Manifest +++ b/media-plugins/zplugins/Manifest @@ -1,2 +1,3 @@ DIST zplugins-0.2.4.tar.gz 1527583 BLAKE2B 2ea29ca227fd92eb6a6eb6b2bcaaa31fdb126b13546a5f5269e0697b545660f099444752c24951bd89c489c9be52b8bdc92879a616e9749e2b742cc8fa82daef SHA512 20aaf5020afab0971a1c5cd6f29f6e1cdf68a862dfead11a2b0a57ac5fa6d2485185b056b54a7d609fefe230534890d50a20141419e24aac70f2a6eb152293b6 DIST zplugins-0.2.5.tar.gz 1527589 BLAKE2B e99cc44bf9bb8440b185145b47e344d8092c567eaa464b96b39108b3d959522e8f2f2d4890494807dc995a17a32f32f9575342c1a0c6caca1f9027ee13eb27dd SHA512 869c338974384a3f493797bdc25380b8428fa8652d25a33f6a94c5b3ab0ac24e93036ec3c582d0799350d5af5f645e79277479b4b95a8358ec06d95097ec6d15 +DIST zplugins-0.2.6.tar.bz2 1293992 BLAKE2B f41229b7bbf885544f19c867e67613a4cf5c2abbed74d5352ee21490084a676e6b8e98fdd1cc070dd6eac8176153f83f8dbf61ad5fcfaf8a486fbae92b7ca751 SHA512 e6f637b63181403fbc944603704cf8e562a07af18a934dab7356a0274dd4b72bbab8244224aef58a5bc7100907b35adf1ff4244ef58b2958b4fefaa686b3f837 diff --git a/media-plugins/zplugins/zplugins-0.2.6.ebuild b/media-plugins/zplugins/zplugins-0.2.6.ebuild new file mode 100644 index 0000000..805d868 --- /dev/null +++ b/media-plugins/zplugins/zplugins-0.2.6.ebuild @@ -0,0 +1,36 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.zrythm.org/zrythm/zplugins.git" +else + MY_P="${PN}-v${PV}" + S="${WORKDIR}/${MY_P}" + SRC_URI="https://gitlab.zrythm.org/zrythm/${PN}/-/archive/v${PV}/${MY_P}.tar.bz2 -> ${P}.tar.bz2" + KEYWORDS="~amd64" +fi + +DESCRIPTION="A collection of audio DSP plugins" +HOMEPAGE="https://gitlab.zrythm.org/zrythm/zplugins" +LICENSE="GPL-3" +SLOT="0" + +DEPEND=" + dev-scheme/guile + media-libs/libsndfile + x11-libs/ztoolkit[rsvg] +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_configure() { + local emesonargs=( + "-Dlv2dir=$(get_libdir)/lv2" + ) + meson_src_configure +} diff --git a/media-plugins/zplugins/zplugins-9999.ebuild b/media-plugins/zplugins/zplugins-9999.ebuild index b014537..805d868 100644 --- a/media-plugins/zplugins/zplugins-9999.ebuild +++ b/media-plugins/zplugins/zplugins-9999.ebuild @@ -7,15 +7,16 @@ inherit meson if [[ ${PV} == 9999 ]]; then inherit git-r3 - EGIT_REPO_URI="https://git.zrythm.org/zrythm/zplugins.git" + EGIT_REPO_URI="https://gitlab.zrythm.org/zrythm/zplugins.git" else - SRC_URI="https://git.zrythm.org/zrythm/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + MY_P="${PN}-v${PV}" + S="${WORKDIR}/${MY_P}" + SRC_URI="https://gitlab.zrythm.org/zrythm/${PN}/-/archive/v${PV}/${MY_P}.tar.bz2 -> ${P}.tar.bz2" KEYWORDS="~amd64" - S="${WORKDIR}/${PN}" fi DESCRIPTION="A collection of audio DSP plugins" -HOMEPAGE="https://git.zrythm.org/zrythm/zplugins" +HOMEPAGE="https://gitlab.zrythm.org/zrythm/zplugins" LICENSE="GPL-3" SLOT="0"