This commit is contained in:
Rmys
2023-11-03 19:07:46 +03:00
committed by GitHub
parent a63d7a9892
commit 1f2dea5b63
2 changed files with 16 additions and 19 deletions
+7 -8
View File
@@ -6,21 +6,20 @@
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import mesontools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
shelltools.export("SETUPTOOLS_SCM_PRETEND_VERSION","1.7.0")
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
shelltools.system("meson --prefix=/usr ..")
mesontools.configure("-Dstatic-build=false")
def build():
shelltools.cd("build")
shelltools.system("ninja")
mesontools.build()
def install():
shelltools.cd("build")
shelltools.system("DESTDIR=%s ninja install" % get.installDIR())
mesontools.install()
shelltools.cd("..")
pisitools.dodoc("GPL", "README*")
+9 -11
View File
@@ -1,12 +1,10 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>dtc</Name>
<Homepage>https://github.com/telegramdesktop/dtc</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Packager>
<License>GPL2</License>
<IsA>library</IsA>
@@ -14,34 +12,35 @@
<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>
<BuildDependencies>
<Dependency>swig</Dependency>
<Dependency>meson</Dependency>
<Dependency>libyaml-devel</Dependency>
<Dependency>meson</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>swig</Dependency>
<Dependency>valgrind-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">32174a.patch</Patch>
<Patch level="1">64a907.patch</Patch>
<Patch level="1">95.patch</Patch>
<Patch level="1">pyscm.patch</Patch>
<!-- <Patch level="1">pyscm.patch</Patch> -->
</Patches>
</Source>
<Package>
<Name>dtc</Name>
<Summary>Development files for dtc</Summary>
<RuntimeDependencies>
<Dependency>libyaml</Dependency>
<Dependency>valgrind</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/libfdt.so*</Path>
<Path fileType="doc">/usr/share/doc</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="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>dtc-devel</Name>
<Summary>Development files for dtc</Summary>
@@ -53,7 +52,6 @@
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2023-11-03</Date>