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 DB00D138359 for ; Mon, 6 Jul 2020 22:40:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F40BE0866; Mon, 6 Jul 2020 22:40:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 DD3AAE0866 for ; Mon, 6 Jul 2020 22:40:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 5B0AD34F030 for ; Mon, 6 Jul 2020 22:40:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 61D5928F for ; Mon, 6 Jul 2020 22:40:09 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1594075203.3d79c54aba7eba3ca94367d9f864b066d7e04012.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/dtc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/dtc/dtc-1.5.0-r1.ebuild sys-apps/dtc/dtc-9999.ebuild sys-apps/dtc/metadata.xml X-VCS-Directories: sys-apps/dtc/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 3d79c54aba7eba3ca94367d9f864b066d7e04012 X-VCS-Branch: master Date: Mon, 6 Jul 2020 22:40: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: 50273aeb-c844-45cf-b650-03af746ac2a0 X-Archives-Hash: 3ddaf27f95d0614d4d6fc346964f2638 commit: 3d79c54aba7eba3ca94367d9f864b066d7e04012 Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Jul 6 22:39:55 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Jul 6 22:40:03 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d79c54a sys-apps/dtc: add USE=yaml While at it added pkgconfig to build-time depends. Reported-by: m.manico gmx.at Closes: https://bugs.gentoo.org/693714 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Sergei Trofimovich gentoo.org> sys-apps/dtc/{dtc-9999.ebuild => dtc-1.5.0-r1.ebuild} | 16 ++++++++++++---- sys-apps/dtc/dtc-9999.ebuild | 14 ++++++++++---- sys-apps/dtc/metadata.xml | 3 +++ 3 files changed, 25 insertions(+), 8 deletions(-) diff --git a/sys-apps/dtc/dtc-9999.ebuild b/sys-apps/dtc/dtc-1.5.0-r1.ebuild similarity index 77% copy from sys-apps/dtc/dtc-9999.ebuild copy to sys-apps/dtc/dtc-1.5.0-r1.ebuild index 4d086b5e4a3..466cd72eb84 100644 --- a/sys-apps/dtc/dtc-9999.ebuild +++ b/sys-apps/dtc/dtc-1.5.0-r1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit multilib toolchain-funcs eutils if [[ ${PV} == "9999" ]] ; then @@ -9,7 +9,7 @@ if [[ ${PV} == "9999" ]] ; then inherit git-r3 else SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi DESCRIPTION="Open Firmware device tree compiler" @@ -17,12 +17,16 @@ HOMEPAGE="https://devicetree.org/ https://git.kernel.org/cgit/utils/dtc/dtc.git/ LICENSE="GPL-2" SLOT="0" -IUSE="static-libs" +IUSE="static-libs yaml" -DEPEND=" +BDEPEND=" sys-devel/bison sys-devel/flex + virtual/pkgconfig " +RDEPEND="yaml? ( dev-libs/libyaml )" +DEPEND="${RDEPEND}" + DOCS=" Documentation/dt-object-internal.txt Documentation/dts-format.txt @@ -31,6 +35,8 @@ DOCS=" PATCHES=( "${FILESDIR}"/${PN}-1.4.4-posix-shell.patch + "${FILESDIR}"/${PN}-1.5.0-fdt_check_full-visibility.patch + "${FILESDIR}"/${PN}-1.5.0-gcc-10.patch ) src_prepare() { @@ -47,6 +53,8 @@ src_prepare() { tc-export AR CC PKG_CONFIG export V=1 + export NO_YAML=$(usex !yaml 1 0) + export NO_VALGRIND=1 # used only in 'make checkm' } src_install() { diff --git a/sys-apps/dtc/dtc-9999.ebuild b/sys-apps/dtc/dtc-9999.ebuild index 4d086b5e4a3..a481c0ee0bc 100644 --- a/sys-apps/dtc/dtc-9999.ebuild +++ b/sys-apps/dtc/dtc-9999.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit multilib toolchain-funcs eutils if [[ ${PV} == "9999" ]] ; then @@ -9,7 +9,7 @@ if [[ ${PV} == "9999" ]] ; then inherit git-r3 else SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi DESCRIPTION="Open Firmware device tree compiler" @@ -17,12 +17,16 @@ HOMEPAGE="https://devicetree.org/ https://git.kernel.org/cgit/utils/dtc/dtc.git/ LICENSE="GPL-2" SLOT="0" -IUSE="static-libs" +IUSE="static-libs yaml" -DEPEND=" +BDEPEND=" sys-devel/bison sys-devel/flex + virtual/pkgconfig " +RDEPEND="yaml? ( dev-libs/libyaml )" +DEPEND="${RDEPEND}" + DOCS=" Documentation/dt-object-internal.txt Documentation/dts-format.txt @@ -47,6 +51,8 @@ src_prepare() { tc-export AR CC PKG_CONFIG export V=1 + export NO_YAML=$(usex !yaml 1 0) + export NO_VALGRIND=1 # used only in 'make checkm' } src_install() { diff --git a/sys-apps/dtc/metadata.xml b/sys-apps/dtc/metadata.xml index 22fee8df393..17bad4a3b9b 100644 --- a/sys-apps/dtc/metadata.xml +++ b/sys-apps/dtc/metadata.xml @@ -8,6 +8,9 @@ embedded@gentoo.org Embedded Gentoo + + support .yaml-encoded device trees + cpe:/a:dtc_project:dtc