libcec, p8-platform new package

This commit is contained in:
Rmys
2022-10-31 17:51:30 +03:00
parent dbdbb46d5c
commit 405a17df37
10 changed files with 397 additions and 13 deletions
+31
View File
@@ -0,0 +1,31 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("mkdir build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=1 \
-DHAVE_LINUX_API=1 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_INSTALL_LIBDIR_NOARCH=/usr/lib", sourceDir = '..')
def build():
shelltools.cd("build")
cmaketools.make()
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("..")
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README*")
+73
View File
@@ -0,0 +1,73 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libcec</Name>
<Homepage>https://github.com/Pulse-Eight/libcec</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admin@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<IsA>library</IsA>
<Summary>This library provides support for Pulse-Eight's USB-CEC adapter and other CEC capable hardware, like the Raspberry Pi.</Summary>
<Description>Bu kitaplık, Pulse-Eight'ın USB-CEC adaptörü ve Raspberry Pi gibi diğer CEC özellikli donanımlar için destek sağlar.</Description>
<Archive sha1sum="3991875a67fbbcb0a4421a6133b79a4a16194ddd" type="targz">https://github.com/Pulse-Eight/libcec/archive/refs/tags/libcec-6.0.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>swig</Dependency>
<Dependency>eudev-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>ncurses-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>libXrandr-devel</Dependency>
<Dependency>p8-platform-devel</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>libcec.patch</Patch>
<Patch level="1">libcec.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>libcec</Name>
<RuntimeDependencies>
<Dependency>eudev</Dependency>
<Dependency>libX11</Dependency>
<Dependency>ncurses</Dependency>
<Dependency>python3</Dependency>
<Dependency>libXrandr</Dependency>
<Dependency>p8-platform</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libcec-devel</Name>
<Summary>Development files for libcec</Summary>
<RuntimeDependencies>
<Dependency>p8-platform-devel</Dependency>
<Dependency release="current">libcec</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-10-31</Date>
<Version>6.0.2</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admin@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libcec</Name>
<Summary xml:lang="tr">This library provides support for Pulse-Eight's USB-CEC adapter and other CEC capable hardware, like the Raspberry Pi.</Summary>
<Description xml:lang="tr">Bu kitaplık, Pulse-Eight'ın USB-CEC adaptörü ve Raspberry Pi gibi diğer CEC özellikli donanımlar için destek sağlar.</Description>
</Source>
</PISI>