This commit is contained in:
4fury-c3440d8
2022-11-24 18:57:03 +03:00
parent e3740118e7
commit 91a7b64e2e
2 changed files with 19 additions and 26 deletions
+5 -17
View File
@@ -2,27 +2,15 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import get
from pisi.actionsapi import mesontools, pisitools
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
shelltools.system("meson .. --prefix=/usr")
mesontools.configure()
def build():
shelltools.cd("build")
shelltools.system("ninja")
mesontools.build()
def install():
shelltools.cd("build")
shelltools.system("DESTDIR=%s ninja install" % get.installDIR())
shelltools.cd("..")
pisitools.dodoc("LICENSE", "HACKING.md", "README.md", "CONTRIBUTING.md")
mesontools.install()
+14 -9
View File
@@ -3,33 +3,30 @@
<PISI>
<Source>
<Name>libavtp</Name>
<Homepage>http://www.github.com/Avnu/libavtp/</Homepage>
<Homepage>https://github.com/Avnu/libavtp</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<Summary xml:lang="tr">Open source implementation of Audio Video Transport Protocol</Summary>
<Description xml:lang="tr">Open source implementation of Audio Video Transport Protocol (AVTP) specified in IEEE 1722-2016 spec</Description>
<Archive sha1sum="a0846e706edb014554031b1546d3b850ec4a7512">https://github.com/Avnu/libavtp/archive/refs/tags/v0.1.0.tar.gz</Archive>
<Summary>Audio Video Transport Protocol (AVTP) Plugin.</Summary>
<Description>Open source implementation of Audio Video Transport Protocol (AVTP) specified in IEEE 1722-2016 spec.</Description>
<Archive sha1sum="34327062b5e00cc8bc8b1589075300fcf126b901" type="targz">https://github.com/Avnu/libavtp/archive/refs/tags/v0.2.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>meson</Dependency>
<Dependency>glibc-devel</Dependency>
<Dependency>cmocka-devel</Dependency>
</BuildDependencies>
<Patches>
</Patches>
</Source>
<Package>
<Name>libavtp</Name>
<RuntimeDependencies>
<!-- <Dependency>glibc</Dependency> -->
<!-- <Dependency>glibc</Dependency> -->
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
@@ -41,11 +38,19 @@
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Update release="2">
<Date>2022-11-24</Date>
<Version>0.2.0</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="1">
<Date>2022-01-25</Date>
<Version>0.1.0</Version>
<Comment>First release</Comment>