kernel.driver rebuild

This commit is contained in:
Rmys
2021-02-18 20:18:25 +03:00
parent 7a3b6817f2
commit 7731608dbe
9 changed files with 252203 additions and 252186 deletions
+45
View File
@@ -0,0 +1,45 @@
#!/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")
options = "--disable-static \
--disable-rpath \
"
if get.buildTYPE() == "emul32":
options += "--disable-qv4l2"
autotools.configure(options)
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
if get.buildTYPE() == "emul32":
autotools.make("-C lib")
else:
autotools.make()
def install():
if get.buildTYPE() == "emul32":
autotools.make("MAKEFLAGS='-j1' -C lib DESTDIR=%s install" % get.installDIR())
pisitools.removeDir("/emul32")
else:
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")
+169
View File
@@ -0,0 +1,169 @@
<?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="3c3c9d4c9924f0153974ebcf8554331e04914050" type="tarbz2">https://linuxtv.org/downloads/v4l-utils/v4l-utils-1.18.0.tar.bz2</Archive>
<BuildDependencies>
<Dependency>qt5-base-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>glibc-devel</Dependency>
<Dependency>libglvnd-devel</Dependency>
<Dependency>mesa-glu-devel</Dependency>
<Dependency>alsa-lib-devel</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>doxygen</Dependency>
<Dependency>eudev-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libv4l</Name>
<RuntimeDependencies>
<Dependency>libjpeg-turbo</Dependency>
<Dependency>eudev</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libglvnd</Dependency>
<Dependency>mesa-glu</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/lib/udev/rules.d</Path>
<Path fileType="config">/lib/udev/rc_keymaps</Path>
<Path fileType="library">/usr/lib/lib*</Path>
<Path fileType="library">/usr/lib/v4l*</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>v4l-utils</Name>
<Summary>Utilities for libv4l</Summary>
<RuntimeDependencies>
<Dependency>libglvnd</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>alsa-lib</Dependency>
<Dependency>qt5-base</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="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="localedata">/usr/share/locale</Path>
</Files>
</Package>
<Package>
<Name>libv4l-devel</Name>
<Summary>Development files for libv4l</Summary>
<RuntimeDependencies>
<Dependency>libglvnd</Dependency>
<Dependency>libX11</Dependency>
<Dependency>mesa-glu</Dependency>
<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>
</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>
<Dependency>libX11-32bit</Dependency>
<Dependency>libglvnd-32bit</Dependency>
<Dependency>mesa-glu-32bit</Dependency>
<Dependency>alsa-lib-32bit</Dependency>
<!-- <Dependency>qt5-base-32bit</Dependency> -->
<Dependency>eudev-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency>libjpeg-turbo-32bit</Dependency>
<Dependency release="current">libv4l</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32/lib*</Path>
<Path fileType="library">/usr/lib32/v4l*</Path>
</Files>
</Package>
<History>
<Update release="8">
<Date>2020-01-18</Date>
<Version>1.18.0</Version>
<Comment>Version Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="7">
<Date>2018-10-16</Date>
<Version>1.14.2</Version>
<Comment>Version Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2018-07-30</Date>
<Version>1.14.2</Version>
<Comment>Version Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2017-02-15</Date>
<Version>1.12.2</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2016-06-09</Date>
<Version>1.10.0</Version>
<Comment>Release Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2016-05-28</Date>
<Version>1.10.0</Version>
<Comment>update</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2015-05-25</Date>
<Version>1.0.1</Version>
<Comment>Rebuild</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2014-05-20</Date>
<Version>1.0.1</Version>
<Comment>First release</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -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>