diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-02-17 10:35:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-02-17 10:35:54 +0000 |
commit | 463397cf1e064185110fe57c568d73f99a06f5d1 (patch) | |
tree | 9aa75eefc5154eaf0e3c33658b830fc54dc68052 /media-libs/libebur128 | |
parent | c8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (diff) |
gentoo resync : 17.02.2021
Diffstat (limited to 'media-libs/libebur128')
-rw-r--r-- | media-libs/libebur128/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libebur128/libebur128-1.2.6.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/media-libs/libebur128/Manifest b/media-libs/libebur128/Manifest index 46821872233e..2908fe34700b 100644 --- a/media-libs/libebur128/Manifest +++ b/media-libs/libebur128/Manifest @@ -1,4 +1,6 @@ DIST ebu-loudness-test-setv05.zip 91631421 BLAKE2B 95a345b0700893ab96854c7563ecc9c667db30e8137352226d1f1ac7a666f6b08d1748d88ef11f72056d0a4bd513f365a1336de568ea45917a6ba9af5bc526ea SHA512 60d022fdac47ad0be2688411be9daecbff85da994d6fa4921bba6cffab841b081d8b15d9ce284ad2253efb686463450a84a0d19cb0bad7a934546cc52dd73771 DIST libebur128-1.2.4.tar.gz 23140 BLAKE2B 4095a11b976109c82ffbd133d5e509b60a2fa27871982d4a81c1927cb23783e89f907bcce52e78d3c743d1e41d1bd823b9b7b510792137649e4b3b680c93eca7 SHA512 d9aec133aca9240f7e859aae30cfcab07ba7aa20378187d53dfeec4cd3840d49bb117fa0698591bac04d95f9d8b5cd0b1fbe41c364694f2fa8267dd690b2dc02 +DIST libebur128-1.2.6.tar.gz 25890 BLAKE2B 8f497091d201f05efc02c423ac3e83e9d056c11ac0dd67cc89d43b7d50f1a28f22ea0f35d329e6f7c8e3df4fb1f245e729fcf7201bdf0c83477211f67472fd00 SHA512 ab188c6d32cd14613119258313a8a3fb1167b55501c9f5b6d3ba738d674bc58f24ac3034c23d9730ed8dc3e95a23619bfb81719e4c79807a9a16c1a5b3423582 EBUILD libebur128-1.2.4.ebuild 999 BLAKE2B febcd841988f5d74572a2650aa9988d6b9c4fc4437f0173d4a126d68b911662be02101563cf9eea82681004378509fa6152d3b172a60113c164ce0eed886e79f SHA512 01e7974db9c780d5653dead79759463680f75bbd84b590aca82bacb2d465f01b20bc5971befb10bf9568dd632b85058891d7970587b0ebf5f20a91e549bb5159 +EBUILD libebur128-1.2.6.ebuild 969 BLAKE2B af5eb618043df7fbda6f48a43b2d3c93144cb0167d9baf8ec6fab93bc2d8ba898d49a1af0bd69c229c21275da5896b443cb6685a583a7a905a4389042675310a SHA512 4f51791f4f5b34e7e1ed6c40c5086995a3243137d8631196acd879a47c8034dddbe85e586919732d3bb303b6a15f5e604ab143bbe284369375549855857e821d MISC metadata.xml 613 BLAKE2B 2c03f77d7bfec26a031ccce628f06d91621870a1f557c9dd09cb8ca85443523268a6ee87ae7048efbce6f934c0e1f4424886e453727b150e2e5570d63167bec2 SHA512 58133a2f99fd62b3fb5da2be5351648d12dc3e8046dcc9a4cb65211db9990f7c5fc46a728e85a588c859fc2ce1dd452fe83d3b677e59631ebaff47a5cc67439e diff --git a/media-libs/libebur128/libebur128-1.2.6.ebuild b/media-libs/libebur128/libebur128-1.2.6.ebuild new file mode 100644 index 000000000000..f031bb7c263e --- /dev/null +++ b/media-libs/libebur128/libebur128-1.2.6.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_ECLASS=cmake +inherit cmake-multilib + +DESCRIPTION="Library implementing the EBU R128 loudness standard" +HOMEPAGE="https://github.com/jiixyj/libebur128" +SRC_URI="https://github.com/jiixyj/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + test? ( https://tech.ebu.ch/files/live/sites/tech/files/shared/testmaterial/ebu-loudness-test-setv05.zip )" + +LICENSE="MIT" +SLOT="0/1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( + app-arch/unzip + media-libs/libsndfile[${MULTILIB_USEDEP}] + ) +" + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_TESTS=$(usex test) + ) + cmake_src_configure +} + +multilib_src_test() { + cd "${WORKDIR}" || die + "${BUILD_DIR}"/r128-test-library | tee test-results + grep -c "^FAILED" test-results > /dev/null \ + && die "At least one test failed" +} |