python-pygobject:rebuilt
This commit is contained in:
@@ -4,17 +4,23 @@
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "pygobject-%s" % get.srcVERSION()
|
||||
|
||||
def setup():
|
||||
# suppress compiler warnings
|
||||
pisitools.cflags.add("-Wno-deprecated-declarations -Wno-unused-variable \
|
||||
-Wno-unused-but-set-variable -Wno-discarded-qualifiers \
|
||||
-Wno-misleading-indentation")
|
||||
# autoreconf is for under linking problem
|
||||
autotools.autoreconf("-fi")
|
||||
autotools.configure("--disable-introspection")
|
||||
# fix unused dependency analysis
|
||||
pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
@@ -23,4 +29,4 @@ def install():
|
||||
autotools.install()
|
||||
|
||||
#shelltools.chmod("%s/usr/share/pygobject/xsl/fixxref.py" % get.installDIR(), 0755)
|
||||
pisitools.dodoc("AUTHORS", "NEWS", "ChangeLog", "README")
|
||||
pisitools.dodoc("COPYING", "README")
|
||||
Reference in New Issue
Block a user