From cb4247ae6a907801ba6ef4a2e63548775a06dc61 Mon Sep 17 00:00:00 2001 From: Ryan Fox Date: Fri, 17 Dec 2021 18:11:21 -0800 Subject: [PATCH] media-libs/verovio: Bump to 3.7.0 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Ryan Fox --- media-libs/verovio/Manifest | 4 ++- media-libs/verovio/verovio-3.7.0.ebuild | 47 +++++++++++++++++++++++++ media-libs/verovio/verovio-9999.ebuild | 3 +- 3 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 media-libs/verovio/verovio-3.7.0.ebuild diff --git a/media-libs/verovio/Manifest b/media-libs/verovio/Manifest index 1d33ab3..d43d0d0 100644 --- a/media-libs/verovio/Manifest +++ b/media-libs/verovio/Manifest @@ -1,8 +1,10 @@ DIST verovio-3.4.1.tar.gz 4463479 BLAKE2B 4e24ffcea872805630aee01dac8730ab971341e933896d72ddc9383a9afb4b222e8a77355094fa6045e7874ebdf5b94727b0770dd5c53b5253e16df921e249c0 SHA512 8b152f5167d01dca06701389edc470a596de71628d0349e901ea666e03882af92866b2913ff2f842ffc10db02aa363854d5457fc44e7c5a9c48b4a709a318475 DIST verovio-3.5.0.tar.gz 4352832 BLAKE2B c5e90216fc3261b34dbc7e1a391e38609dcb0a4fe983fe732e736a5bb38f5668983268a73a360aeb2299dbdb2ccf1937e0dd2ef84e868c5a36d347f859d5e6ba SHA512 cd9f3d6f9d8c67d6c72f1cfe49ca073c790e36cb5f2a259b48e89a84a5d9ebd13613ec0c8ebdc5921af4d5912cd2672e16432526c17283632392fed99323eeb5 DIST verovio-3.6.0.tar.gz 4378120 BLAKE2B e21a14c6682ea97c022d18208eefc49e0b093adbdb2ea1fd7b54a721690336d51761db721273e28ab1fa8bec5d08feb4666f4f866d7df7ec6edbe2d8a49693c3 SHA512 77527ca272a1ae7b45bedc34d7ae0e8172a36c76a056dbc78a6292853d0cb619c646c0cf8072d31cbcbb414e9b1d969d1d02d63b69abf7d77d5b0ced1449a978 +DIST verovio-3.7.0.tar.gz 4369418 BLAKE2B 0773e28fd4ed24fcf87624353a50be64dbc91fd25102edf314232f646539566bea2dde3f71551cae5979fa39043f201d9547bf726ac8fad66c99f3a0cc081de6 SHA512 a2415d48409e68b37739fbccf65292144aac59811a76b06acfc85ffb2516d9d24892868b62a6ccaaa1f30b8815a5da863f636137b5531264e5623e932bec0bf8 EBUILD verovio-3.4.1.ebuild 1096 BLAKE2B 403a268c3a2d2b07ae7060acac5c2178a902ce89583f268c978439eb1da96ec05716db085baa9c81d22deb74d58e6482c3a6345a8aae816da75043ea3874184c SHA512 3dceabef65e3a00538a5fdd3c3ae3bb3db314d6d6e8a928a3b9289ec8f28ccc24585e6863e4720aaac7d6204e13348449f3455da57f2b516b93bbce72570ead2 EBUILD verovio-3.5.0.ebuild 1225 BLAKE2B 4c30b0923d8c61c0b954cba5ec50fe1663cf0b1a10847f0ff4ffb7d09c87534f70056fae4069eaf7fd9d6bbb4abeb665a3144babb880263c1cb1e8f96e63f4c7 SHA512 77a83ee6482eff5d9cfcda10ab067aa673ec4218e7bc52e12bab106b120b874eb9b36a8e5d4dfd3aa3654af63206c4acc05484dd295ebed7ec8f631775f2a942 EBUILD verovio-3.6.0.ebuild 1225 BLAKE2B 4c30b0923d8c61c0b954cba5ec50fe1663cf0b1a10847f0ff4ffb7d09c87534f70056fae4069eaf7fd9d6bbb4abeb665a3144babb880263c1cb1e8f96e63f4c7 SHA512 77a83ee6482eff5d9cfcda10ab067aa673ec4218e7bc52e12bab106b120b874eb9b36a8e5d4dfd3aa3654af63206c4acc05484dd295ebed7ec8f631775f2a942 -EBUILD verovio-9999.ebuild 1225 BLAKE2B 4c30b0923d8c61c0b954cba5ec50fe1663cf0b1a10847f0ff4ffb7d09c87534f70056fae4069eaf7fd9d6bbb4abeb665a3144babb880263c1cb1e8f96e63f4c7 SHA512 77a83ee6482eff5d9cfcda10ab067aa673ec4218e7bc52e12bab106b120b874eb9b36a8e5d4dfd3aa3654af63206c4acc05484dd295ebed7ec8f631775f2a942 +EBUILD verovio-3.7.0.ebuild 1275 BLAKE2B b29c861bd57320edf91547532bfabe58971840d29ad4dac6c1b186a4d8125ae98a67f8a45f9158aab78212e49816f64c683be0c97ea4c22b88f9b4d488cd3c04 SHA512 3bf305803ae0d84cb23ee0d036d043c7d06bba3b0eeba6cb32eec8485e31ce36f617f531dbd3815638da9d0dd2cbafe5937d7e0d347dc952719af9fc06a9c508 +EBUILD verovio-9999.ebuild 1275 BLAKE2B b29c861bd57320edf91547532bfabe58971840d29ad4dac6c1b186a4d8125ae98a67f8a45f9158aab78212e49816f64c683be0c97ea4c22b88f9b4d488cd3c04 SHA512 3bf305803ae0d84cb23ee0d036d043c7d06bba3b0eeba6cb32eec8485e31ce36f617f531dbd3815638da9d0dd2cbafe5937d7e0d347dc952719af9fc06a9c508 MISC metadata.xml 602 BLAKE2B 6e2df4a3318af4f7ea1a419e88e48c4718d07c7d690115cbf7823cc0f03572f9c68e9d375d8c631eb4590c43bf17e8c6af9dca4f5d88612de2433aecdf233b32 SHA512 f548f73b209f7aea68f4f2644b166a47794e4a532efb75bcadedd95ab37f1d246212f0e89847b5b54bcc1fb7149b809dd488ce3fde839c46b8fbda68c24fad37 diff --git a/media-libs/verovio/verovio-3.7.0.ebuild b/media-libs/verovio/verovio-3.7.0.ebuild new file mode 100644 index 0000000..4a4f51f --- /dev/null +++ b/media-libs/verovio/verovio-3.7.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +if [[ ${PV} != *9999* ]]; then + SRC_URI="https://github.com/rism-digital/verovio/archive/refs/tags/version-${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/verovio-version-${PV}" +else + inherit git-r3 + EGIT_REPO_URI="https://github.com/rism-digital/verovio.git" +fi + +DESCRIPTION="Music engraving library" +HOMEPAGE="https://www.verovio.org/" +LICENSE="LGPL-3" +SLOT="0" +IUSE="darms pae abc musicxml humdrum" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +CMAKE_USE_DIR="${S}/cmake" + +src_prepare() { + test ${PV} != 9999 && sed -i 's/$(git describe --abbrev=7 --always --dirty)/'${PV}'/' "${S}/tools/get_git_commit.sh" + sed -i "s;/usr/local/bin;$(get_libdir);" "${S}/cmake/CMakeLists.txt" + cmake_src_prepare +} + +src_configure() { + # TODO: Submit upstream PR to allow building of multiple versions at once + local mycmakeargs=( + "-DBUILD_AS_LIBRARY=ON" + "-DNO_DARMS_SUPPORT=$(usex darms OFF ON)" + "-DNO_PAE_SUPPORT=$(usex pae OFF ON)" + "-DNO_ABC_SUPPORT=$(usex abc OFF ON)" + "-DNO_MUSICXML_SUPPORT=$(usex musicxml OFF ON)" + "-DNO_MXL_SUPPORT=$(usex musicxml OFF ON)" + "-DNO_HUMDRUM_SUPPORT=$(usex humdrum OFF ON)" + ) + cmake_src_configure +} diff --git a/media-libs/verovio/verovio-9999.ebuild b/media-libs/verovio/verovio-9999.ebuild index 767c76d..4a4f51f 100644 --- a/media-libs/verovio/verovio-9999.ebuild +++ b/media-libs/verovio/verovio-9999.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit cmake @@ -39,6 +39,7 @@ src_configure() { "-DNO_DARMS_SUPPORT=$(usex darms OFF ON)" "-DNO_PAE_SUPPORT=$(usex pae OFF ON)" "-DNO_ABC_SUPPORT=$(usex abc OFF ON)" + "-DNO_MUSICXML_SUPPORT=$(usex musicxml OFF ON)" "-DNO_MXL_SUPPORT=$(usex musicxml OFF ON)" "-DNO_HUMDRUM_SUPPORT=$(usex humdrum OFF ON)" )