libsndfile.
This commit is contained in:
@@ -2,38 +2,17 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import libtools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
options = "--disable-static \
|
||||
--disable-sqlite \
|
||||
--enable-flac \
|
||||
--enable-alsa \
|
||||
--enable-largefile \
|
||||
--disable-gcc-pipe \
|
||||
--disable-jack \
|
||||
--disable-octave \
|
||||
--disable-gcc-werror \
|
||||
--disable-dependency-tracking"
|
||||
shelltools.export("PYTHON", "/usr/bin/env python3")
|
||||
|
||||
pisitools.dosed("examples/Makefile.am", "noinst_PROGRAMS", "check_PROGRAMS")
|
||||
pisitools.dosed("tests/Makefile.am", "noinst_PROGRAMS", "check_PROGRAMS")
|
||||
|
||||
shelltools.unlink("M4/libtool.m4")
|
||||
|
||||
for i in shelltools.ls("M4/lt*.m4"):
|
||||
shelltools.unlink(i)
|
||||
|
||||
autotools.autoreconf("-fi -I M4")
|
||||
autotools.configure(options)
|
||||
|
||||
pisitools.dosed("doc/Makefile", "^htmldocdir.*", "htmldocdir = /usr/share/doc/%s/html" % get.srcNAME())
|
||||
autotools.configure("--enable-alsa --disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
@@ -41,4 +20,4 @@ def build():
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")
|
||||
pisitools.dodoc("AUTHORS", "NEWS")
|
||||
|
||||
Reference in New Issue
Block a user