media-plugins/odin2: Bump to 2.3.1
I love this synthesizer so much. Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Ryan Fox <flewkey@2a03.party>
This commit is contained in:
parent
cfaa76e820
commit
116f6a091b
@ -1,4 +1,8 @@
|
|||||||
|
DIST JUCE-2cd8198486059e5547f7bd9d6b432be7df8d455b.tar.gz 14090328 BLAKE2B 2ba95cb2a17267ad6f67b7683894ce8bd49c311b71005eaf9a723edd734c8ab62ca2c297b77925ca13b53c72117ff57a75e309c58cb1f43d3fa9144451ee576f SHA512 db8e5197e2f6a7ae7010d4ac4ef2d7df44da89f1ae0584c95553cfa603e829d0329b854114e61e6196c8d5b327295b5e172bf3fe9ede5b5e132e85a1e5d2aa41
|
||||||
DIST JUCE-c51d03f11be20cb35eb28e8016e9a81827b50339.tar.gz 13970970 BLAKE2B d2234fd239f3cbf662c5532e9ff131f65850b33fe35c7737d3a232c3ace23b59247237dfa04805d2c9ac4315463094c58c471e8636cbc23546be8d0542dccab9 SHA512 a2f9a13b86d580dd9de8c59fea84c5dfe4a9c4f22c8cf73446a1e81b26ded1038935ffd4a83acc41e17d7c5ef1a84f6854d57f4b4ca218c82780ba1e6d013a0c
|
DIST JUCE-c51d03f11be20cb35eb28e8016e9a81827b50339.tar.gz 13970970 BLAKE2B d2234fd239f3cbf662c5532e9ff131f65850b33fe35c7737d3a232c3ace23b59247237dfa04805d2c9ac4315463094c58c471e8636cbc23546be8d0542dccab9 SHA512 a2f9a13b86d580dd9de8c59fea84c5dfe4a9c4f22c8cf73446a1e81b26ded1038935ffd4a83acc41e17d7c5ef1a84f6854d57f4b4ca218c82780ba1e6d013a0c
|
||||||
DIST odin2-2.2.4.tar.gz 68244104 BLAKE2B f07e082d8e87780522bdf86530e48ff5011ae1de076d2c1acf75e03b689fb2feb0830c33029f0ab4cc783dcda521b1fd1f0542e6226af50f43883f762d2ffe36 SHA512 3588bda5bca7c264ffda2afc6a210342ff9d9634a3eabbb36519d812321927d935d1e5a43b2a1926669532d89e0f1bfd6eed73b46dc18b5c8c03569ada0b5ccc
|
DIST odin2-2.2.4.tar.gz 68244104 BLAKE2B f07e082d8e87780522bdf86530e48ff5011ae1de076d2c1acf75e03b689fb2feb0830c33029f0ab4cc783dcda521b1fd1f0542e6226af50f43883f762d2ffe36 SHA512 3588bda5bca7c264ffda2afc6a210342ff9d9634a3eabbb36519d812321927d935d1e5a43b2a1926669532d89e0f1bfd6eed73b46dc18b5c8c03569ada0b5ccc
|
||||||
|
DIST odin2-2.3.1.tar.gz 68338011 BLAKE2B 33b396b93cb13234973c2da77ff681ea8b49b32c332b89b6b397f7952a63403230e4e60ea502bf8d44359efe3ea6d320e66dbc239bb8291990117b5c16fa978f SHA512 8de056b19e768c4199e0d75f22b7e95806c85f94da14e9a4597172a21d5dcb07635289a36f823e2e3a7a76568c1fbe2117ae287ef5d7cf99fb0e37dc6c72ba4e
|
||||||
|
DIST tuning-library-8eb7232ac24ac2f97a052063161c0c4f5fd763e3.tar.gz 137623 BLAKE2B ba9ab9689fe9c1765fe69b612a620df9bcdd7b6ab237a31e9ff850b71081365bcca53628605a0f4620737c9c36c30043584c6010412d40bb2209e8959ee17b3f SHA512 e6582f806b448768786119fb794b47ce2d7b88b9bc4e5fbe9bbd3c219a3574bc47a5bdd46558738e8668937f1086265ea6054a0287dfddf9b310ad742912672a
|
||||||
EBUILD odin2-2.2.4.ebuild 2077 BLAKE2B ea2329263a36d7ec00fb4202dabdcb3fbfd14a40c03ca8d9aed47f52437202a58c0731c054eada0ecab8352a4ecbe6c1877a1d83e6dff7a7e75dfc5e57817192 SHA512 165b095959d668ef75ac7d24c4ba75aa0baee675da5a1d40fdc26484afa1d55555cf15a45d56479f4513bec0c5d7e3c400e2a5144b2d9dfddcb947d05c0390c4
|
EBUILD odin2-2.2.4.ebuild 2077 BLAKE2B ea2329263a36d7ec00fb4202dabdcb3fbfd14a40c03ca8d9aed47f52437202a58c0731c054eada0ecab8352a4ecbe6c1877a1d83e6dff7a7e75dfc5e57817192 SHA512 165b095959d668ef75ac7d24c4ba75aa0baee675da5a1d40fdc26484afa1d55555cf15a45d56479f4513bec0c5d7e3c400e2a5144b2d9dfddcb947d05c0390c4
|
||||||
|
EBUILD odin2-2.3.1.ebuild 2191 BLAKE2B 1d4f9edbfe8aa4f20f47c689dffc62e8ca19383ae13e7c418efd6daf22ca81175d485f440ccd662790f668e5ae0bddf444d3e071a0223bad4e83c0bc7f8f7bff SHA512 d5ac99ddae7ecfc09ee7b039a79e73f80f7aa93ff36a57fa8593834470a04b9d5c4c58043b0865d0eabd62e488c47cd7bb18a00af8bc1e5f0ceb95cf57e88fd7
|
||||||
MISC metadata.xml 397 BLAKE2B 8275c7122948c4315c2e5e90f42b5ec32968c3dfad060d965b958e802c2f4d677d7f06d6428348f3267dcc3e199da2785fba51854c74fbdcc6a4538b7d242f82 SHA512 8678eb7e2d740a11bb91febe04bb4e2e3098297efadea6b3be1c5bcceac95f4dbe1240a887e8d0d82051c2af0ba678a71ff60cfb83ccac196926a4400a6f697a
|
MISC metadata.xml 397 BLAKE2B 8275c7122948c4315c2e5e90f42b5ec32968c3dfad060d965b958e802c2f4d677d7f06d6428348f3267dcc3e199da2785fba51854c74fbdcc6a4538b7d242f82 SHA512 8678eb7e2d740a11bb91febe04bb4e2e3098297efadea6b3be1c5bcceac95f4dbe1240a887e8d0d82051c2af0ba678a71ff60cfb83ccac196926a4400a6f697a
|
||||||
|
70
media-plugins/odin2/odin2-2.3.1.ebuild
Normal file
70
media-plugins/odin2/odin2-2.3.1.ebuild
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
JUCE_VERSION="6.0.8"
|
||||||
|
|
||||||
|
inherit projucer
|
||||||
|
|
||||||
|
JUCE_REF="2cd8198486059e5547f7bd9d6b432be7df8d455b"
|
||||||
|
TUNING_REF="8eb7232ac24ac2f97a052063161c0c4f5fd763e3"
|
||||||
|
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/TheWaveWarden/odin2/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
https://github.com/surge-synthesizer/tuning-library/archive/${TUNING_REF}.tar.gz -> tuning-library-${TUNING_REF}.tar.gz
|
||||||
|
https://github.com/lv2-porting-project/JUCE/archive/${JUCE_REF}.tar.gz -> JUCE-${JUCE_REF}.tar.gz
|
||||||
|
"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
DESCRIPTION="A 24-voice polyphonic synthesizer"
|
||||||
|
HOMEPAGE="https://www.thewavewarden.com/odin2"
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="+lv2"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
media-libs/alsa-lib
|
||||||
|
media-libs/lv2
|
||||||
|
media-libs/mesa
|
||||||
|
net-libs/webkit-gtk
|
||||||
|
net-misc/curl
|
||||||
|
x11-libs/libX11
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
BDEPEND="|| ( ~dev-libs/juce-6.0.8[projucer] ~dev-libs/juce-6.0.8[extras] )"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
default
|
||||||
|
rm -rf "${S}/tuning-library" || die
|
||||||
|
mv "tuning-library-${TUNING_REF}" "${S}/tuning-library" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if use lv2 ; then
|
||||||
|
JUCE_MODULES_PATH="${WORKDIR}/JUCE-${JUCE_REF}/modules"
|
||||||
|
projucer_resave Odin.jucer
|
||||||
|
# LV2 configuration commands copypasta'd from the Odin 2 repo
|
||||||
|
export LINE_NUMBER="$(grep -n 'BEGIN_USER_CODE_SECTION' JuceLibraryCode/AppConfig.h | cut -d: -f1)"
|
||||||
|
head -n $LINE_NUMBER JuceLibraryCode/AppConfig.h > app_config.tmp
|
||||||
|
echo -e "#define JucePlugin_Build_LV2 1" >> app_config.tmp
|
||||||
|
echo -e "#define JucePlugin_LV2URI \"https://www.thewavewarden.com/odin2\"" >> app_config.tmp
|
||||||
|
echo -e "#define JucePlugin_MaxNumOutputChannels 2" >> app_config.tmp
|
||||||
|
tail -n +$((LINE_NUMBER+1)) JuceLibraryCode/AppConfig.h >> app_config.tmp
|
||||||
|
mv app_config.tmp JuceLibraryCode/AppConfig.h
|
||||||
|
echo -e "include ../../LV2.mak" >> "${S}/Builds/LinuxMakefile/Makefile"
|
||||||
|
fi
|
||||||
|
S="${S}/Builds/LinuxMakefile"
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodir /usr/$(get_libdir)/vst3
|
||||||
|
cp -r "${S}/build/Odin2.vst3" "${D}/usr/$(get_libdir)/vst3"
|
||||||
|
dodir /opt/odin2
|
||||||
|
cp -r "${WORKDIR}/${P}/Soundbanks" "${D}/opt/odin2"
|
||||||
|
if use lv2 ; then
|
||||||
|
dodir /usr/$(get_libdir)/lv2
|
||||||
|
cp -r "${S}/build/Odin2_.lv2" "${D}/usr/$(get_libdir)/lv2"
|
||||||
|
fi
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user