pkgbase = dtc
pkgdesc = Device Tree Compiler
pkgver = 1.7.0
pkgrel = 5
url = https://www.devicetree.org/
arch = x86_64
license = GPL2
checkdepends = valgrind
makedepends = meson
makedepends = swig
makedepends = python-setuptools-scm
depends = bash
depends = glibc
depends = libyaml
depends = python
source = https://www.kernel.org/pub/software/utils/dtc/dtc-1.7.0.tar.xz
source = fix_test.patch::https://github.com/dgibson/dtc/commit/32174a66efa4ad19fc6a2a6422e4af2ae4f055cb.patch
source = fix_meson_version.patch::https://github.com/dgibson/dtc/commit/64a907f08b9bedd89833c1eee674148cff2343c6.patch
source = fix_meson_version2.patch::https://github.com/dgibson/dtc/pull/95.patch
source = pyscm.patch
source = fix-tests-for-Python3.12.patch
sha256sums = 29edce3d302a15563d8663198bbc398c5a0554765c83830d0d4c0409d21a16c4
sha256sums = 4538d60e5837cc1b7ead839eab2062a8677cf1ee7582fed76d3c4f043b3c0765
sha256sums = 31ba6e7191cdb88a12f3ffa3016006cdc820c7588a54214e34326a67b68bd984
sha256sums = 1c6f13e57e4b635a21dbb6b515e556bb9d28564b6f119edd852e41c019410bb6
sha256sums = 3198c9e41cbebb0bcd9caa5de0940ccaf02b3b3bcc00fbc19bfdf3cdb8a075bb
sha256sums = c2786c6c4bbd7031394ab534ceca2fa6832142dd0cb3c74750388be9374b22fa
pkgname = dtc