1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- #!/usr/bin/python
- # -*- coding: utf-8 -*-
- #
- # 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 get
- def setup():
- #autotools.autoreconf("-vfi")
- autotools.configure("--enable-mmx \
- --enable-sse \
- --includedir=/usr/include \
- --datadir=/usr/share \
- --with-pic \
- --with-gio \
- --with-gtk \
- --with-cairo \
- --with-pango \
- --with-pangocairo \
- --with-gdk-pixbuf \
- --with-lensfun \
- --with-libjpeg \
- --with-libpng \
- --with-openexr \
- --with-sdl \
- --with-libopenraw \
- --with-jasper \
- --with-lua \
- --without-libavformat \
- --with-libv4l \
- --with-libspiro \
- --with-exiv2 \
- --with-umfpack \
- --disable-static \
- --disable-gtk-doc \
- --enable-gtk-doc-html=no \
- --disable-docs \
- --disable-workshop")
- #--with-librsvg \
- #--with-graphviz \
- pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
- def build():
- autotools.make()
- # disabled due sandbox violations
- #def check():
- # autotools.make("check")
- def install():
- autotools.rawInstall("DESTDIR=%s" % get.installDIR())
- #avoid file conflicts with gegl1.x
- pisitools.removeDir("/usr/bin")
- pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "COPYING.LESSER", "NEWS", "README")
|