From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 431ED15A7D9 for ; Mon, 20 Mar 2023 05:36:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DBF8FE0867; Mon, 20 Mar 2023 05:36:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A5CF4E0867 for ; Mon, 20 Mar 2023 05:36:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9E59E335D56 for ; Mon, 20 Mar 2023 05:36:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B8E128F4 for ; Mon, 20 Mar 2023 05:36:09 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1679290539.19e111e291e62ab657919e3286442617a23d1f63.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/kvazaar/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/kvazaar/Manifest media-libs/kvazaar/kvazaar-2.2.0.ebuild media-libs/kvazaar/kvazaar-9999.ebuild X-VCS-Directories: media-libs/kvazaar/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 19e111e291e62ab657919e3286442617a23d1f63 X-VCS-Branch: master Date: Mon, 20 Mar 2023 05:36:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 67863a5a-95cf-4e0b-b6b4-58e62ca9f81a X-Archives-Hash: d46fcb2e1e14a8325793786806a67c27 commit: 19e111e291e62ab657919e3286442617a23d1f63 Author: Matoro Mahri users noreply github com> AuthorDate: Thu Mar 16 05:57:18 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon Mar 20 05:35:39 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19e111e2 media-libs/kvazaar: add 2.2.0, wire up tests Bug: https://bugs.gentoo.org/896120 Signed-off-by: Matoro Mahri users.noreply.github.com> Closes: https://github.com/gentoo/gentoo/pull/30149 Signed-off-by: Sam James gentoo.org> media-libs/kvazaar/Manifest | 1 + .../{kvazaar-9999.ebuild => kvazaar-2.2.0.ebuild} | 16 ++++++++-------- media-libs/kvazaar/kvazaar-9999.ebuild | 16 ++++++++-------- 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/media-libs/kvazaar/Manifest b/media-libs/kvazaar/Manifest index b4dc3234b543..a3305dc8296a 100644 --- a/media-libs/kvazaar/Manifest +++ b/media-libs/kvazaar/Manifest @@ -1,2 +1,3 @@ DIST greatest-1.2.1.tar.gz 19792 BLAKE2B e6abd20eebf3223311fcd62e341595318dd00f192cf4b62ef3f0443a3e10fee71f4283f836931fee52672f2b37398f86046ae97220c2b6c6045fec9f9bf5cda8 SHA512 c17162fa222c84fef7826ba5202aae573d516a71bc2c59c8991db2a76f7069ed53d00aaab1b792e0c7e4243fae38183764c2e7ae0a61faf2ff13e78b29ccc211 DIST kvazaar-2.1.0.tar.gz 605962 BLAKE2B 0d61af55ab0caef2247524e8c564f9c24cfb479fcbd721f43e4409899e1a187a0e6de0b08a052cfb144ea31da906ba1c2160d6712828d6e55f0826d87f5c96ba SHA512 14b29f48908e004cf1b4f1f0c338b7b134a34140edcd58a645b4529c506cd567ebe3d56aa66e469dc417e1baa29bb8a476825b78825e810ac68a029191ad32ec +DIST kvazaar-2.2.0.tar.gz 617414 BLAKE2B 6ddb88ddea315d80e0af87a13127f235c184ae829492d1ff456899d2a24669b3deca25a320a8bdcf6e2cebc2c24e33c0678ac7bf51d2634a46781f66497bed54 SHA512 476abe251d7f555911851bc5a7dca84a96c0cd243c6a45dd59b808b8adf2b0787f69101a061bd48dfb6fe54a0aea046417f21fc826f14f518cada25c6d22aec4 diff --git a/media-libs/kvazaar/kvazaar-9999.ebuild b/media-libs/kvazaar/kvazaar-2.2.0.ebuild similarity index 78% copy from media-libs/kvazaar/kvazaar-9999.ebuild copy to media-libs/kvazaar/kvazaar-2.2.0.ebuild index d44b2a4ef699..eae2fc58decc 100644 --- a/media-libs/kvazaar/kvazaar-9999.ebuild +++ b/media-libs/kvazaar/kvazaar-2.2.0.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 GREATEST_PV="1.2.1" @@ -11,7 +11,7 @@ if [[ ${PV} = *9999 ]] ; then else SRC_URI="https://github.com/ultravideo/kvazaar/archive/v${PV}.tar.gz -> ${P}.tar.gz test? ( https://github.com/silentbicycle/greatest/archive/v${GREATEST_PV}.tar.gz -> greatest-${GREATEST_PV}.tar.gz )" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~amd64 ~mips" fi inherit autotools flag-o-matic multilib-minimal @@ -30,6 +30,7 @@ RDEPEND="" DEPEND="${RDEPEND} test? ( media-video/ffmpeg + media-video/hevc-hm ) abi_x86_32? ( ${ASM_DEP} ) abi_x86_64? ( ${ASM_DEP} ) @@ -46,11 +47,6 @@ src_prepare() { fi # Some m4 macros append Werror, we do not want that. append-flags "-Wno-error" - - # valgrind isn't available on all archs - # also, the valgrind tests fail with new ffmpeg (upstream only tests again ffmpeg 2.6.3) - # see https://github.com/ultravideo/kvazaar/issues/216 - find "${S}/tests/" -type f -exec grep -q 'valgrind_test' '{}' \; -delete || die } multilib_src_configure() { @@ -59,6 +55,10 @@ multilib_src_configure() { $(use_enable static-libs static) } +multilib_src_test() { + KVZ_TEST_VALGRIND=0 emake check +} + multilib_src_install_all() { find "${ED}" -name '*.la' -delete || die } diff --git a/media-libs/kvazaar/kvazaar-9999.ebuild b/media-libs/kvazaar/kvazaar-9999.ebuild index d44b2a4ef699..eae2fc58decc 100644 --- a/media-libs/kvazaar/kvazaar-9999.ebuild +++ b/media-libs/kvazaar/kvazaar-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 GREATEST_PV="1.2.1" @@ -11,7 +11,7 @@ if [[ ${PV} = *9999 ]] ; then else SRC_URI="https://github.com/ultravideo/kvazaar/archive/v${PV}.tar.gz -> ${P}.tar.gz test? ( https://github.com/silentbicycle/greatest/archive/v${GREATEST_PV}.tar.gz -> greatest-${GREATEST_PV}.tar.gz )" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~amd64 ~mips" fi inherit autotools flag-o-matic multilib-minimal @@ -30,6 +30,7 @@ RDEPEND="" DEPEND="${RDEPEND} test? ( media-video/ffmpeg + media-video/hevc-hm ) abi_x86_32? ( ${ASM_DEP} ) abi_x86_64? ( ${ASM_DEP} ) @@ -46,11 +47,6 @@ src_prepare() { fi # Some m4 macros append Werror, we do not want that. append-flags "-Wno-error" - - # valgrind isn't available on all archs - # also, the valgrind tests fail with new ffmpeg (upstream only tests again ffmpeg 2.6.3) - # see https://github.com/ultravideo/kvazaar/issues/216 - find "${S}/tests/" -type f -exec grep -q 'valgrind_test' '{}' \; -delete || die } multilib_src_configure() { @@ -59,6 +55,10 @@ multilib_src_configure() { $(use_enable static-libs static) } +multilib_src_test() { + KVZ_TEST_VALGRIND=0 emake check +} + multilib_src_install_all() { find "${ED}" -name '*.la' -delete || die }