vorbis-tools.

This commit is contained in:
4fury-c3440d8
2021-12-11 17:33:55 +03:00
parent c000028bd2
commit 12e40b0bbe
2 changed files with 28 additions and 19 deletions
+13 -13
View File
@@ -2,25 +2,24 @@
# -*- 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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.export("AT_M4DIR", "m4")
autotools.autoreconf("-vfi")
j = ''.join([
' --enable-nls',
' --enable-vcut',
' --enable-ogg123',
' --with-flac',
' --with-kate',
' --with-speex',
' --docdir=/%s/%s' % (get.docDIR(), get.srcNAME())
])
autotools.configure('--disable-dependency-tracking \
--enable-nls \
--enable-vcut \
--enable-ogg123 \
--with-flac \
--with-speex \
--with-kate \
--docdir="/%s/%s"' % (get.docDIR(), get.srcNAME()))
def setup():
autotools.configure(j)
def build():
autotools.make()
@@ -29,4 +28,5 @@ def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.removeDir("/usr/share/doc")
pisitools.dodoc("CHANGES", "COPYING", "AUTHORS", "README", "ogg123/ogg123rc-example")