openh264 new package
This commit is contained in:
@@ -36,21 +36,21 @@ def build():
|
||||
pisitools.dosed("config.toml", "/usr/bin/cargo", RustcDir+"/bin/cargo")
|
||||
pisitools.dosed("config.toml", "/usr/bin/rustc", RustcDir+"/bin/rustc")
|
||||
####################################################
|
||||
|
||||
|
||||
shelltools.export("LC_ALL", "en_US.UTF-8")
|
||||
shelltools.export("RUST_BACKTRACE", "1")
|
||||
shelltools.system("python3 ./x.py build")
|
||||
|
||||
|
||||
|
||||
def install():
|
||||
# shelltools.export("RUST_BACKTRACE", "1")
|
||||
shelltools.system("DESTDIR=%s python3 ./x.py install" % get.installDIR())
|
||||
|
||||
|
||||
# pisitools.remove("/usr/bin/*.old")
|
||||
#pisitools.insinto("/", "build/x86_64-unknown-linux-gnu/stage0/etc")
|
||||
#pisitools.insinto("/usr", "build/x86_64-unknown-linux-gnu/stage0/bin")
|
||||
#pisitools.insinto("/usr", "build/x86_64-unknown-linux-gnu/stage0/lib")
|
||||
#pisitools.insinto("/usr", "build/x86_64-unknown-linux-gnu/stage0/share")
|
||||
#pisitools.insinto("/usr", "build/x86_64-unknown-linux-gnu/stage0/manifest.in")
|
||||
|
||||
|
||||
#pisitools.dodoc("LICENSE","AUTHORS","README*")
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<AdditionalFile target="config.toml">bootstrap-config.toml</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
<BuildDependencies>
|
||||
<!-- <Dependency versionFrom="1.80.0">rust</Dependency> -->
|
||||
<!-- <Dependency versionFrom="1.80.0">rust</Dependency> -->
|
||||
<Dependency>perl</Dependency>
|
||||
<Dependency versionFrom="15.0.7">llvm</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
@@ -39,7 +39,7 @@
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!--Patch level="1">70163.patch</Patch-->
|
||||
<!-- <Patch level="1">0002-bootstrap-Change-bash-completion-dir.patch</Patch> -->
|
||||
<!-- <Patch level="1">0002-bootstrap-Change-bash-completion-dir.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
@@ -58,13 +58,13 @@
|
||||
<Path fileType="executable">/usr/libexec</Path>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<!-- <Path fileType="data">/usr/share</Path> -->
|
||||
<!-- <Path fileType="data">/usr/share</Path> -->
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<!-- <Path fileType="doc">/usr/share/doc</Path> -->
|
||||
<!-- <Path fileType="doc">/usr/share/doc</Path> -->
|
||||
<Path fileType="data">/usr/share/zsh</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
|
||||
<Package>
|
||||
<Name>rust-docs</Name>
|
||||
<Summary>Development files for rust</Summary>
|
||||
|
||||
Reference in New Issue
Block a user