works for alsa
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
#!/usr/bin/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 autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
NoStrip = ["/"]
|
||||
|
||||
if "_" in get.srcVERSION():
|
||||
WorkDir = get.srcNAME()
|
||||
|
||||
def setup():
|
||||
pisitools.dosed("configure.ac", "multisound/Makefile", "")
|
||||
pisitools.dosed("Makefile.am", "multisound", "")
|
||||
|
||||
autotools.autoreconf("-fi")
|
||||
autotools.configure("--with-hotplug-dir=/lib/firmware")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
#Remove conflicted file, it is in linux-firmware package
|
||||
pisitools.remove("lib/firmware/ctefx.bin")
|
||||
|
||||
# Install additional readme files
|
||||
for d in ["hdsploader", "mixartloader", "pcxhrloader", "usx2yloader", "vxloader"]:
|
||||
pisitools.newdoc("%s/README" % d, "README.%s" % d)
|
||||
|
||||
pisitools.dodoc("COPYING", "README")
|
||||
@@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>alsa-firmware</Name>
|
||||
<Homepage>http://www.alsa-project.org</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<License>GPLv2+</License>
|
||||
<License>LGPLv2+</License>
|
||||
<License>BSD</License>
|
||||
<IsA>data</IsA>
|
||||
<Summary>Firmware for several ALSA-supported sound cards</Summary>
|
||||
<Description>alsa-firmware contains the firmware binaries for a number of sound cards supported by the ALSA project.</Description>
|
||||
<Archive sha1sum="414f0b03ea4337c3bd4a9e689f33040173cba529" type="tarbz2">ftp://ftp.alsa-project.org/pub/firmware/alsa-firmware-1.0.29.tar.bz2</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>alsa-firmware</Name>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share/alsa/firmware</Path>
|
||||
<Path fileType="data">/lib/firmware</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="8">
|
||||
<Date>2015-03-04</Date>
|
||||
<Version>1.0.29</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2014-08-19</Date>
|
||||
<Version>1.0.28</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2014-08-19</Date>
|
||||
<Version>1.0.28</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-12-06</Date>
|
||||
<Version>1.0.27</Version>
|
||||
<Comment>Remove conflicted ctefx.bin file, it is in linux-firmware package.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-08-22</Date>
|
||||
<Version>1.0.27</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-07-10</Date>
|
||||
<Version>1.0.27</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-29</Date>
|
||||
<Version>1.0.25.20121013</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>alsa-firmware</Name>
|
||||
<Summary xml:lang="tr">Çeşitli ALSA destekli ses kartları için firmware dosyaları</Summary>
|
||||
<Description xml:lang="tr">alsa-firmware, ALSA sürücüleri tarafından desteklenen bazı ses kartları için gerekli firmware dosyalarını içerir.</Description>
|
||||
<Summary xml:lang="fr">firmware (logiciel interne) pour l'Architecture Son Linux Avancée (ALSA).</Summary>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>hardware.firmware</Name>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user