diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-14 03:02:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-14 03:02:32 +0000 |
commit | d3c7d3e5f9607edef1a795ccc502ab3eb3121165 (patch) | |
tree | d36ccc4ef4aa53927a8cd66bc5d3ab06fe1bdd24 /sys-apps/dtc | |
parent | 4dc2f97ed84159736ecfb5dea5485e83b27810d1 (diff) |
gentoo auto-resync : 14:11:2024 - 03:02:32
Diffstat (limited to 'sys-apps/dtc')
-rw-r--r-- | sys-apps/dtc/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/dtc/dtc-1.7.2.ebuild | 66 | ||||
-rw-r--r-- | sys-apps/dtc/dtc-9999.ebuild | 4 |
3 files changed, 71 insertions, 3 deletions
diff --git a/sys-apps/dtc/Manifest b/sys-apps/dtc/Manifest index 1b2c2edf5b00..92858915c3c2 100644 --- a/sys-apps/dtc/Manifest +++ b/sys-apps/dtc/Manifest @@ -1,4 +1,6 @@ DIST dtc-1.7.1.tar.xz 169524 BLAKE2B c9d9d7c60ce13c8e138ab8ddf3e8166d7cf3867ca4e5ea53621bf73514319faf6a6bac09fb96c971554db9f77dd3428e01d53990586041092a64849685d8854b SHA512 3195924b374680e367d7be6b9793691efc0441858068c8bc8d8a908db00bbae781a99184b5c5e272af39045ec58cb0f92adbdd00ff808480b635bd632aa74719 +DIST dtc-1.7.2.tar.xz 169668 BLAKE2B d345027614a4caff9912b39286e35c1a889bbfd88630bac1c9c48223a6171bd6a8661342c89355e63301b395d1c238be82d21d870b0dd5fc05ae5dd552e730a6 SHA512 30f3611175a5c29556282f3f2894701a5837eb869608d89d78c280af448bbc3a5b6c83f51c28f991847c0eb7c42aa57599bbc31433f1b3b2c8d162cb2169b91f EBUILD dtc-1.7.1.ebuild 1453 BLAKE2B 3dc43cf0dfebf089ee028e2e6b21b4c4c6ffcab7f5c04481b57c1a57f8f0243f0d39acda3d956dc20fbc2fb54ba1a44ec97d053850fbb9e09360e3f0ad8e14f5 SHA512 2e91e79a732637edb4034ce72c11886f7690fa5f029d46790e72cb400c863ef3d413d3e192e0001d7c06dc6f2bedb77d15e00f1e39241aa851a54e89ad81d414 -EBUILD dtc-9999.ebuild 1445 BLAKE2B 012b66db1ad5b5dd893702469f1a94f642eb55121d8b632fd04dec9b380bafae8265f0bd1b3cbb51fe60babdd29745c72a03d308c343979a0b2fea689101e000 SHA512 88747fa612955175018c74c22c8ca22f9f429126a9b2ec0d95598ee902cdc227d928b6ecb29f6ad45cc73cedb63a7e43fdee9bf5a29615b654eed2037c980eb1 +EBUILD dtc-1.7.2.ebuild 1459 BLAKE2B 5f3d8b4d44c26c46cc272055559e7e6fadc5be4f3c5d5c57413ea1bf5845ea9824f7f09ab703fd90d39e301c1ad1a19d18127d5862527c8906f1017c6487bfd8 SHA512 91cf8f4577b5dfbfd33ca82a6f55fba926b0258e027be1d35781535dc1e1399505a56333e0c3102af97d9a4efb7945439dc4062c42b8b859f72a12d30b6d22e5 +EBUILD dtc-9999.ebuild 1453 BLAKE2B 3dc43cf0dfebf089ee028e2e6b21b4c4c6ffcab7f5c04481b57c1a57f8f0243f0d39acda3d956dc20fbc2fb54ba1a44ec97d053850fbb9e09360e3f0ad8e14f5 SHA512 2e91e79a732637edb4034ce72c11886f7690fa5f029d46790e72cb400c863ef3d413d3e192e0001d7c06dc6f2bedb77d15e00f1e39241aa851a54e89ad81d414 MISC metadata.xml 492 BLAKE2B dc331e157119b6db3bb419e04722511406295b39ee40bcae29dbbe3f8fa3737aa221c2d61b16b45b8361c1b6ffadd634ffa65377d33cc808d11a8128389bdfd0 SHA512 cf2441cf6ea1075cf633edf903a54a637cbaff2545ccd65290c1c1b3f5452ce3d74df5ce4ffe68ab15857eaea1ffeac7f3e80b42fb4dae3af1c3636e4b0766fb diff --git a/sys-apps/dtc/dtc-1.7.2.ebuild b/sys-apps/dtc/dtc-1.7.2.ebuild new file mode 100644 index 000000000000..29954f8a0e3b --- /dev/null +++ b/sys-apps/dtc/dtc-1.7.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit meson python-single-r1 + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://git.kernel.org/pub/scm/utils/dtc/dtc.git" + inherit git-r3 +else + SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Open Firmware device tree compiler" +HOMEPAGE="https://devicetree.org/ https://git.kernel.org/cgit/utils/dtc/dtc.git/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="python static-libs test yaml" +RESTRICT="!test? ( test )" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +BDEPEND=" + app-alternatives/yacc + app-alternatives/lex + virtual/pkgconfig + python? ( dev-lang/swig ) +" +RDEPEND=" + python? ( ${PYTHON_DEPS} ) + yaml? ( >=dev-libs/libyaml-0.2.3[static-libs?] ) +" +DEPEND=" + ${RDEPEND} +" + +DOCS=( + Documentation/dt-object-internal.txt + Documentation/dts-format.txt + Documentation/manual.txt +) + +pkg_setup() { + if use python ; then + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + python-single-r1_pkg_setup + fi +} + +src_configure() { + local emesonargs=( + -Dtools=true + -Dvalgrind=disabled # only used for some tests + $(meson_feature python) + $(meson_use test tests) + $(meson_feature yaml) + ) + + # bug #909366 + use static-libs && emesonargs+=( -Dstatic-build=true ) + + meson_src_configure +} diff --git a/sys-apps/dtc/dtc-9999.ebuild b/sys-apps/dtc/dtc-9999.ebuild index 6da2ddea52c2..27573a122636 100644 --- a/sys-apps/dtc/dtc-9999.ebuild +++ b/sys-apps/dtc/dtc-9999.ebuild @@ -11,7 +11,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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" fi DESCRIPTION="Open Firmware device tree compiler" @@ -31,7 +31,7 @@ BDEPEND=" " RDEPEND=" python? ( ${PYTHON_DEPS} ) - yaml? ( >=dev-libs/libyaml-0.2.3 ) + yaml? ( >=dev-libs/libyaml-0.2.3[static-libs?] ) " DEPEND=" ${RDEPEND} |