opus-tools:moved from contrib

This commit is contained in:
blue-devil
2020-04-08 23:25:05 +03:00
parent 30181e66ad
commit 1636b47d0e
3 changed files with 90 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 2
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.configure("--enable-sse --enable-assertions \
--disable-static \
--disable-oggtest \
--disable-opustest \
--disable-opusfiletest \
--disable-libopusenctest")
# fix unused direct dependency analysis
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING")