dtc
This commit is contained in:
@@ -6,21 +6,20 @@
|
|||||||
|
|
||||||
from pisi.actionsapi import autotools
|
from pisi.actionsapi import autotools
|
||||||
from pisi.actionsapi import pisitools
|
from pisi.actionsapi import pisitools
|
||||||
|
from pisi.actionsapi import mesontools
|
||||||
from pisi.actionsapi import shelltools
|
from pisi.actionsapi import shelltools
|
||||||
from pisi.actionsapi import get
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
|
||||||
|
shelltools.export("SETUPTOOLS_SCM_PRETEND_VERSION","1.7.0")
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
shelltools.makedirs("build")
|
mesontools.configure("-Dstatic-build=false")
|
||||||
shelltools.cd("build")
|
|
||||||
shelltools.system("meson --prefix=/usr ..")
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
shelltools.cd("build")
|
mesontools.build()
|
||||||
shelltools.system("ninja")
|
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
shelltools.cd("build")
|
mesontools.install()
|
||||||
shelltools.system("DESTDIR=%s ninja install" % get.installDIR())
|
|
||||||
|
|
||||||
shelltools.cd("..")
|
|
||||||
pisitools.dodoc("GPL", "README*")
|
pisitools.dodoc("GPL", "README*")
|
||||||
|
|||||||
@@ -1,12 +1,10 @@
|
|||||||
<?xml version="1.0" ?>
|
|
||||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
|
||||||
<PISI>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>dtc</Name>
|
<Name>dtc</Name>
|
||||||
<Homepage>https://github.com/telegramdesktop/dtc</Homepage>
|
<Homepage>https://github.com/telegramdesktop/dtc</Homepage>
|
||||||
<Packager>
|
<Packager>
|
||||||
<Name>Kamil Atlı</Name>
|
<Name>Mustafa Cinasal</Name>
|
||||||
<Email>suvari@pisilinux.org</Email>
|
<Email>muscnsl@gmail.com</Email>
|
||||||
</Packager>
|
</Packager>
|
||||||
<License>GPL2</License>
|
<License>GPL2</License>
|
||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
@@ -14,34 +12,35 @@
|
|||||||
<Description>Device Tree Compiler</Description>
|
<Description>Device Tree Compiler</Description>
|
||||||
<Archive sha1sum="19a95204dd787b4809886db15655082cb28718e9" type="tarxz">https://mirrors.edge.kernel.org/pub/software/utils/dtc/dtc-1.7.0.tar.xz</Archive>
|
<Archive sha1sum="19a95204dd787b4809886db15655082cb28718e9" type="tarxz">https://mirrors.edge.kernel.org/pub/software/utils/dtc/dtc-1.7.0.tar.xz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>swig</Dependency>
|
|
||||||
<Dependency>meson</Dependency>
|
<Dependency>meson</Dependency>
|
||||||
<Dependency>libyaml-devel</Dependency>
|
<Dependency>libyaml-devel</Dependency>
|
||||||
|
<Dependency>meson</Dependency>
|
||||||
<Dependency>python3-devel</Dependency>
|
<Dependency>python3-devel</Dependency>
|
||||||
|
<Dependency>swig</Dependency>
|
||||||
<Dependency>valgrind-devel</Dependency>
|
<Dependency>valgrind-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
<Patch level="1">32174a.patch</Patch>
|
<Patch level="1">32174a.patch</Patch>
|
||||||
<Patch level="1">64a907.patch</Patch>
|
<Patch level="1">64a907.patch</Patch>
|
||||||
<Patch level="1">95.patch</Patch>
|
<Patch level="1">95.patch</Patch>
|
||||||
<Patch level="1">pyscm.patch</Patch>
|
<!-- <Patch level="1">pyscm.patch</Patch> -->
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>dtc</Name>
|
<Name>dtc</Name>
|
||||||
|
<Summary>Development files for dtc</Summary>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>libyaml</Dependency>
|
<Dependency>libyaml</Dependency>
|
||||||
<Dependency>valgrind</Dependency>
|
<Dependency>valgrind</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="library">/usr/lib/libfdt.so*</Path>
|
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="library">/usr/lib/libfdt.so*</Path>
|
||||||
|
<Path fileType="library">/usr/lib/libfdt.a</Path>
|
||||||
<Path fileType="library">/usr/lib/python3*/site-packages</Path>
|
<Path fileType="library">/usr/lib/python3*/site-packages</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>dtc-devel</Name>
|
<Name>dtc-devel</Name>
|
||||||
<Summary>Development files for dtc</Summary>
|
<Summary>Development files for dtc</Summary>
|
||||||
@@ -53,7 +52,6 @@
|
|||||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
<Update release="2">
|
<Update release="2">
|
||||||
<Date>2023-11-03</Date>
|
<Date>2023-11-03</Date>
|
||||||
|
|||||||
Reference in New Issue
Block a user