alsa-plugins rebuild

This commit is contained in:
Rmys
2022-06-03 17:20:43 +03:00
committed by GitHub
parent 05386540d1
commit 45de3fe5b5
+7 -3
View File
@@ -20,8 +20,12 @@ def build():
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())
pisitools.remove("/etc/alsa/conf.d/98-maemo.conf")
pisitools.domove("/etc/alsa/conf.d/99-pulseaudio-default.conf.example", "/usr/share/alsa/alsa.conf.d", "99-pulseaudio-default.conf")
pisitools.dosym("/usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf", "/etc/alsa/conf.d/99-pulseaudio-default.conf")
#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())
#shelltools.system("ln -st %s/etc/alsa/conf.d/ /usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf" % get.installDIR())