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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7F9E613835A for ; Mon, 12 Oct 2020 09:06:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C7865E091F; Mon, 12 Oct 2020 09:06:19 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A2F7EE091F for ; Mon, 12 Oct 2020 09:06:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 91DBE33BE99 for ; Mon, 12 Oct 2020 09:06:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 823123BA for ; Mon, 12 Oct 2020 09:06:14 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1602493559.36a75c6f81fb32e9b84d029f1977a8e22312b4dc.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libheif/libheif-1.7.0-r1.ebuild media-libs/libheif/libheif-1.7.0-r2.ebuild media-libs/libheif/libheif-1.9.1.ebuild media-libs/libheif/libheif-9999.ebuild X-VCS-Directories: media-libs/libheif/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 36a75c6f81fb32e9b84d029f1977a8e22312b4dc X-VCS-Branch: master Date: Mon, 12 Oct 2020 09:06:14 +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: 714405e7-a470-438e-8f87-0584adf3d7d3 X-Archives-Hash: d5a4e2c3bcf29f113251aef486850249 commit: 36a75c6f81fb32e9b84d029f1977a8e22312b4dc Author: Jakov Smolic sartura hr> AuthorDate: Sat Oct 10 07:59:37 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Oct 12 09:05:59 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36a75c6f media-libs/libheif: enable tests (again) - go code is needed to run tests, add appropriate REQUIRED_USE entry - remove "$use_enable go" as go code seems to be enabled by default. Passing --enable-go disrupts the build system and strangely prevents us to run tests (likely an upstream bug) Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: Joonas Niilola gentoo.org> media-libs/libheif/libheif-1.7.0-r1.ebuild | 9 ++++++++- media-libs/libheif/libheif-1.7.0-r2.ebuild | 9 ++++++++- media-libs/libheif/libheif-1.9.1.ebuild | 9 ++++++++- media-libs/libheif/libheif-9999.ebuild | 9 ++++++++- 4 files changed, 32 insertions(+), 4 deletions(-) diff --git a/media-libs/libheif/libheif-1.7.0-r1.ebuild b/media-libs/libheif/libheif-1.7.0-r1.ebuild index 389834d3586..6eb48cf9b41 100644 --- a/media-libs/libheif/libheif-1.7.0-r1.ebuild +++ b/media-libs/libheif/libheif-1.7.0-r1.ebuild @@ -19,6 +19,8 @@ HOMEPAGE="https://github.com/strukturag/libheif" LICENSE="GPL-3" SLOT="0/1.7" IUSE="gdk-pixbuf go static-libs test +threads" +REQUIRED_USE="test? ( go )" + RESTRICT="!test? ( test )" BDEPEND="test? ( dev-lang/go )" @@ -49,7 +51,7 @@ src_prepare() { multilib_src_configure() { local econf_args=( - $(multilib_is_native_abi && use_enable go || echo --disable-go) + $(multilib_is_native_abi && use go || echo --disable-go) $(use_enable gdk-pixbuf) $(use_enable static-libs static) $(use_enable threads multithreading) @@ -57,6 +59,11 @@ multilib_src_configure() { ECONF_SOURCE="${S}" econf "${econf_args[@]}" } +multilib_src_test() { + default + emake -C go test +} + multilib_src_install_all() { find "${ED}" -name '*.la' -delete || die } diff --git a/media-libs/libheif/libheif-1.7.0-r2.ebuild b/media-libs/libheif/libheif-1.7.0-r2.ebuild index e54b807b2df..0e817601bd6 100644 --- a/media-libs/libheif/libheif-1.7.0-r2.ebuild +++ b/media-libs/libheif/libheif-1.7.0-r2.ebuild @@ -19,6 +19,8 @@ HOMEPAGE="https://github.com/strukturag/libheif" LICENSE="GPL-3" SLOT="0/1.7" IUSE="gdk-pixbuf go static-libs test +threads" +REQUIRED_USE="test? ( go )" + RESTRICT="!test? ( test )" BDEPEND="test? ( dev-lang/go )" @@ -50,7 +52,7 @@ src_prepare() { multilib_src_configure() { local econf_args=( - $(multilib_is_native_abi && use_enable go || echo --disable-go) + $(multilib_is_native_abi && use go || echo --disable-go) $(use_enable gdk-pixbuf) $(use_enable static-libs static) $(use_enable threads multithreading) @@ -58,6 +60,11 @@ multilib_src_configure() { ECONF_SOURCE="${S}" econf "${econf_args[@]}" } +multilib_src_test() { + default + emake -C go test +} + multilib_src_install_all() { find "${ED}" -name '*.la' -delete || die } diff --git a/media-libs/libheif/libheif-1.9.1.ebuild b/media-libs/libheif/libheif-1.9.1.ebuild index bccbc8c8662..ccfee4058de 100644 --- a/media-libs/libheif/libheif-1.9.1.ebuild +++ b/media-libs/libheif/libheif-1.9.1.ebuild @@ -19,6 +19,8 @@ HOMEPAGE="https://github.com/strukturag/libheif" LICENSE="GPL-3" SLOT="0/1.9" IUSE="gdk-pixbuf go static-libs test +threads" +REQUIRED_USE="test? ( go )" + RESTRICT="!test? ( test )" BDEPEND="test? ( dev-lang/go )" @@ -47,7 +49,7 @@ src_prepare() { multilib_src_configure() { local econf_args=( - $(multilib_is_native_abi && use_enable go || echo --disable-go) + $(multilib_is_native_abi && use go || echo --disable-go) $(use_enable gdk-pixbuf) $(use_enable static-libs static) $(use_enable threads multithreading) @@ -55,6 +57,11 @@ multilib_src_configure() { ECONF_SOURCE="${S}" econf "${econf_args[@]}" } +multilib_src_test() { + default + emake -C go test +} + multilib_src_install_all() { find "${ED}" -name '*.la' -delete || die } diff --git a/media-libs/libheif/libheif-9999.ebuild b/media-libs/libheif/libheif-9999.ebuild index bccbc8c8662..ccfee4058de 100644 --- a/media-libs/libheif/libheif-9999.ebuild +++ b/media-libs/libheif/libheif-9999.ebuild @@ -19,6 +19,8 @@ HOMEPAGE="https://github.com/strukturag/libheif" LICENSE="GPL-3" SLOT="0/1.9" IUSE="gdk-pixbuf go static-libs test +threads" +REQUIRED_USE="test? ( go )" + RESTRICT="!test? ( test )" BDEPEND="test? ( dev-lang/go )" @@ -47,7 +49,7 @@ src_prepare() { multilib_src_configure() { local econf_args=( - $(multilib_is_native_abi && use_enable go || echo --disable-go) + $(multilib_is_native_abi && use go || echo --disable-go) $(use_enable gdk-pixbuf) $(use_enable static-libs static) $(use_enable threads multithreading) @@ -55,6 +57,11 @@ multilib_src_configure() { ECONF_SOURCE="${S}" econf "${econf_args[@]}" } +multilib_src_test() { + default + emake -C go test +} + multilib_src_install_all() { find "${ED}" -name '*.la' -delete || die }