libv4l:moved into main for pisi 2.0

This commit is contained in:
2015-07-23 13:50:56 +03:00
parent 239da4f80b
commit 5967058f89
3 changed files with 201 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
#autotools.autoreconf("-vfi")
autotools.configure("--disable-static \
--disable-rpath")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
if get.buildTYPE() == "emul32": return
pisitools.dodoc("ChangeLog", "COPYING*", "README*", "TODO")
pisitools.insinto("/%s/%s/" % (get.docDIR(), get.srcNAME()), "contrib")
+145
View File
@@ -0,0 +1,145 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libv4l</Name>
<Homepage>http://freecode.com/projects/libv4l</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<Summary>V4L wrapper for V4L2</Summary>
<Description>A library to access V4L2 API with V4L1 alike calls.</Description>
<Archive sha1sum="f444b24e5805da4f814d467d20f65188d9b5be10" type="tarbz2">http://linuxtv.org/downloads/v4l-utils/v4l-utils-1.0.1.tar.bz2</Archive>
<BuildDependencies>
<Dependency>qt5-base-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>glibc-devel</Dependency>
<Dependency>libgcc</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libv4l</Name>
<RuntimeDependencies>
<Dependency>libjpeg-turbo</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/lib/udev/rules.d</Path>
<Path fileType="config">/lib/udev/rc_keymaps</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>v4l-utils</Name>
<Summary>Utilities for libv4l</Summary>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency release="current">libv4l</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/icons</Path>
</Files>
</Package>
<Package>
<Name>libv4l-devel</Name>
<Summary>Development files for libv4l</Summary>
<RuntimeDependencies>
<Dependency release="current">libv4l</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/lib32/pkgconfig</Path>
<Path fileType="doc">/usr/share/doc/libv4l/contrib</Path>
</Files>
</Package>
<Package>
<Name>libv4l-32bit</Name>
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for libv4l</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>libjpeg-turbo-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency>libjpeg-turbo-32bit</Dependency>
<Dependency>glibc-32bit</Dependency>
<Dependency release="current">libv4l</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<History>
<Update release="8">
<Date>2014-05-20</Date>
<Version>1.0.1</Version>
<Comment>Version bump.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="7">
<Date>2014-02-20</Date>
<Version>23042013</Version>
<Comment>Rebuild Unused</Comment>
<Name>Varol Maksutoğlu</Name>
<Email>waroi@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2014-02-17</Date>
<Version>23042013</Version>
<Comment>Rebuild.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2013-08-17</Date>
<Version>23042013</Version>
<Comment>Release Bump.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2013-07-29</Date>
<Version>23042013</Version>
<Comment>missing dep</Comment>
<Name>Erdinç Gültekin</Name>
<Email>erdincgultekin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-04-23</Date>
<Version>23042013</Version>
<Comment>bump frome gitsnapshot</Comment>
<Name>Erdinç Gültekin</Name>
<Email>erdincgultekin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-02-17</Date>
<Version>0.9.3</Version>
<Comment>bump</Comment>
<Name>Erdinç Gültekin</Name>
<Email>erdincgultekin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-12-03</Date>
<Version>0.8.9</Version>
<Comment>First release</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</PISI>
+27
View File
@@ -0,0 +1,27 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libv4l</Name>
<Summary xml:lang="tr">V4L kitaplığı</Summary>
<Summary xml:lang="pl">Warstwa abstrakcji dla urządzeń video4linux2</Summary>
<Description xml:lang="tr">V4L2 arabirimini V4L1 tarzı çağrılarla erişim sağlayan kitaplık.</Description>
<Description xml:lang="pl">libv4l to zestaw bibliotek dodający niewielką warstwę abstrakcji dla urządzeń video4linux2. Celem tej warstwy jest ułatwienie autorom aplikacji obsługi szerokiej gamy urządzeń bez pisania osobnego kodu dla różnych urządzeń tej samej klasy.</Description>
</Source>
<Package>
<Name>libv4l-devel</Name>
<Summary xml:lang="tr">libv4l için geliştirme dosyaları</Summary>
<Summary xml:lang="pl">Pliki nagłówkowe bibliotek libv4l</Summary>
</Package>
<Package>
<Name>libv4l-32bit</Name>
<Summary xml:lang="tr">libv4l için 32-bit paylaşımlı kitaplıklar</Summary>
<Summary xml:lang="pl">32-bitowe biblioteki libv4l</Summary>
</Package>
<Package>
<Name>v4l-utils</Name>
<Summary xml:lang="pl">Zbiór narzędzi do urządzeń Video4Linux</Summary>
</Package>
</PISI>