alsa-plugins: renamed and index

This commit is contained in:
suvari
2022-01-25 23:23:54 +03:00
parent 3e3de29978
commit 5da2cdcb2f
7 changed files with 8 additions and 10 deletions
+27
View File
@@ -0,0 +1,27 @@
#!/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
def setup():
autotools.configure("--prefix=/usr \
--sysconfdir=/etc \
--enable-maemo-plugin")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.system("rm -v %s/etc/alsa/conf.d/98-maemo.conf" % get.installDIR())
shelltools.cd("%s" % get.installDIR())
#shelltools.system("cp -r /etc/alsa/conf.d/99-pulseaudio-default.conf.example %s/usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf" % get.installDIR())
shelltools.system("ln -st %s/etc/alsa/conf.d/ /usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf" % get.installDIR())