Exemplo n.º 1
0
def setup():
    shelltools.system("rm -rf CMakeCache.txt")
    shelltools.cd("..")
    shelltools.makedirs("cmake-make")
    shelltools.cd("cmake-make") 
    shelltools.system("cmake ../blender-2.79b \
                      -DCMAKE_INSTALL_PREFIX=/usr \
                      -DFREETYPE_INCLUDE_DIRS=/usr/include/freetype2 \
                      -DCMAKE_BUILD_TYPE=Release \
                      -DCMAKE_SKIP_RPATH=ON \
                      -DWITH_JACK=ON \
                      -DWITH_JACK_DYNLOAD=ON \
                      -DWITH_IMAGE_OPENEXR=ON \
                      -DWITH_OPENCOLORIO=OFF \
                      -DWITH_OPENIMAGEIO=ON \
                      -DWITH_FFTW3=ON\
                      -DWITH_PLAYER=ON \
                      -DWITH_CODEC_FFMPEG=ON \
                      -DWITH_INSTALL_PORTABLE=OFF \
                      -DWITH_GAMEENGINE=ON \
                      -DWITH_PYTHON_INSTALL=OFF \
                      -DWITH_MOD_OCEANSIM=ON \
                      -DPYTHON_VERSION=3.6 \
                      -DPYTHON_LIBPATH=/usr/lib \
                      -DPYTHON_LIBRARY=python3.6m \
                      -DPYTHON_INCLUDE_DIRS=/usr/include/python3.6m \
                      -DWITH_CODEC_SNDFILE=ON ")
Exemplo n.º 2
0
def setup():
    shelltools.makedirs("m4")
    # Fix PATHs in manpages
    pisitools.dosed("bin/named/named.8", "/etc/named.conf", "/etc/bind/named.conf")
    pisitools.dosed("bin/check/named-checkconf.8", "/etc/named.conf", "/etc/bind/named.conf")
    pisitools.dosed("bin/rndc/rndc.8", "/etc/rndc.conf", "/etc/bind/rndc.conf")
    pisitools.dosed("bin/rndc/rndc.8", "/etc/rndc.key", "/etc/bind/rndc.key")

    # Adjust version
    pisitools.dosed("version", "^RELEASEVER=.*$", "RELEASEVER=Pisi Linux-1.0")

    libtools.libtoolize("-cf")
    autotools.aclocal("-I m4")
    autotools.autoreconf("-vfi")

    autotools.configure(
        "--localstatedir=/var \
                         --sysconfdir=/etc/bind \
                         --with-openssl=/usr \
                         --with-libtool \
                         --with-pic \
                         --with-randomdev=/dev/urandom \
                         --enable-linux-caps \
                         --enable-threads \
                         --enable-exportlib \
                         --with-export-libdir=/usr/lib \
                         --with-export-includedir=/usr/include \
                         --includedir=/usr/include/bind9 \
                         --enable-ipv6 \
                         --enable-largefile \
                         --disable-static"
    )

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Exemplo n.º 3
0
def install():
    shelltools.makedirs("build")
    shelltools.cd("build")

    cmaketools.install()

    pisitools.dodoc("../LICENSE")
Exemplo n.º 4
0
def setup():
    shelltools.makedirs(NCURSES)
    shelltools.makedirs(NCURSESW)
    shelltools.cd(NCURSESW)

    global CONFIGPARAMS

    if get.buildTYPE() == "_emul32":
        pisitools.flags.add("-m32")
        pisitools.ldflags.add("-m32")
        CONFIGPARAMS += " --prefix=/_emul32 \
                          --libdir=/usr/lib32 \
                          --libexecdir=/_emul32/lib \
                          --bindir=/_emul32/bin \
                          --sbindir=/_emul32/sbin \
                          --mandir=/_emul32/share/man"
    else:
        CONFIGPARAMS += " --prefix=/usr \
                          --libdir=/usr/lib \
                          --libexecdir=/usr/lib \
                          --bindir=/usr/bin \
                          --sbindir=/usr/sbin \
                          --mandir=/usr/share/man"

    shelltools.system("%s/configure --enable-widec --enable-pc-files %s" % (WORKDIR, CONFIGPARAMS))
Exemplo n.º 5
0
def setup():
    shelltools.makedirs("build")
    shelltools.cd("build")
    cmaketools.configure("-DWANT_SVN_STAMP=OFF \
                          -DWANT_GIT_STAMP=OFF \
                          -DCMAKE_BUILD_TYPE=Release \
                          -DCMAKE_INSTALL_PREFIX=/usr" ,sourceDir="..")
Exemplo n.º 6
0
def setup():
    shelltools.makedirs("build")
    shelltools.cd("build") 
    cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
                          -DBUILD_SHARED_LIBS=ON \
                          -DCMAKE_BUILD_TYPE=Release \
                          -DHDF5_BUILD_HL_LIB=ON \
                          -DHDF5_BUILD_CPP_LIB=ON \
                          -DHDF5_BUILD_FORTRAN=ON", sourceDir="..")
    
    shelltools.cd("..")
    autotools.configure("--prefix=/usr \
                         --enable-cxx \
                         --enable-hl \
                         --enable-threadsafe \
                         --enable-fortran \
                         --enable-build-mode=production \
                         --enable-linux-lfs \
                         --enable-unsupported \
                         --disable-static \
                         --disable-parallel \
                         --disable-sharedlib-rpath \
                         --disable-dependency-tracking \
                         --docdir=/usr/share/doc/hdf5/ \
                         --with-pthread=/usr/lib/ \
                         --with-pic")
    
    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")    
Exemplo n.º 7
0
def setup():
    # Set python version in user-config
    #pisitools.dosed("user-config.py", "@LIB@", "/usr/lib")
    #pisitools.dosed("user-config.py", "@PYVER@", get.curPYTHON().replace("python", ""))
    #pisitools.dosed("user-config.py", "@CC@", get.CC())
    #pisitools.dosed("user-config.py", "@CXX@", get.CXX())
    #pisitools.dosed("user-config.py", "^WITH_BF_FFMPEG = 'false'.*", "WITH_BF_FFMPEG = 'true'")

    # Drop bundled libraries
    #for d in ["libopenjpeg", "glew", "libmw/third_party/ldl", "libmw/third_party/glog", "libmw/third_party/gflags"]:
       #shelltools.system("rm -rf extern/%s" % d)
    #shelltools.system("rm -rf scons")
    
    #shelltools.export("LDFLAGS", "%s -ltiff -llibopenjpeg -ljpeg -lpthread" % get.LDFLAGS())
    shelltools.system("rm -rf CMakeCache.txt")
    shelltools.cd("..")
    shelltools.makedirs("cmake-make")
    shelltools.cd("cmake-make") 
    shelltools.system("cmake ../blender-2.66 \
		      -DCMAKE_INSTALL_PREFIX=/usr \
		      -DCMAKE_BUILD_TYPE=Release \
		      -DWITH_JACK=ON \
		      -DWITH_PLAYER=ON \
		      -DWITH_CODEC_FFMPEG=ON \
		      -DWITH_INSTALL_PORTABLE=OFF \
		      -DWITH_GAMEENGINE=ON \
		      -DWITH_PYTHON_INSTALL=OFF \
		      -DWITH_CODEC_SNDFILE=ON ")
Exemplo n.º 8
0
def setup():
    undef_variables()

    crosstools.environment["CFLAGS"] = cflags
    crosstools.prepare()

    shelltools.makedirs("build")
    shelltools.cd("build")
    shelltools.system("../configure \
                       --with-tls \
                       --build=%(build)s \
                       --host=%(host)s \
                       --target=%(target)s \
                       --with-__thread \
                       --enable-add-ons=ports,nptl,libidn \
                       --enable-bind-now \
                       --enable-kernel=2.6.25 \
                       --without-cvs \
                       --without-gd \
                       --disable-debug \
                       --without-selinux \
                       --disable-profile \
                       --prefix=/usr \
                       --mandir=/usr/share/man \
                       --infodir=/usr/share/info \
                       --with-headers=%(SysRoot)s/usr/include \
                       --libexecdir=/usr/lib/misc" % \
                       crosstools.environment)
Exemplo n.º 9
0
def install():
    shelltools.makedirs("%s/usr/lib/python2.6/site-packages/curl" % get.installDIR())

    shelltools.copy("python/curl/*py", "%s/usr/lib/python2.6/site-packages/curl/" % get.installDIR() )
    pisitools.insinto("/usr/lib/python2.6/site-packages/curl/", "build/pycurl.so")

    pisitools.dodoc("ChangeLog", "COPYING*", "README", "TODO")
Exemplo n.º 10
0
def setup():
    shelltools.makedirs("build")
    shelltools.cd("build")
    cmaketools.configure("-DCMAKE_BUILD_TYPE=release \
                          -DCMAKE_INSTALL_PREFIX=/usr \
                          -DCMAKE_INSTALL_LIBDIR=/usr/lib \
                          -DUSE_QT5=ON", sourceDir="..")
Exemplo n.º 11
0
def setup():
    replace = (r'(set[(]CMAKE_SHARED_LINKER_FLAGS "[^"]*)', r'\1 %s' \
            % get.LDFLAGS())
    pisitools.dosed("cuneiform_src/CMakeLists.txt", *replace)
    shelltools.makedirs("build")
    shelltools.cd("build")
    cmaketools.configure("-DCMAKE_BUILD_TYPE=release", sourceDir="..")
Exemplo n.º 12
0
def setup():
    shelltools.makedirs("build")
    shelltools.cd("build")
    shelltools.system('../mozilla/nsprpub/configure \
                       --prefix=/usr \
                       --disable-debug \
                       --enable-optimize="%s -g -fno-strict-aliasing"' % get.CFLAGS())
Exemplo n.º 13
0
def configure(parameters="", installPrefix=prefix, sourceDir=".."):
    """ parameters -DLIB_INSTALL_DIR="hede" -DSOMETHING_USEFUL=1"""

    shelltools.makedirs("build")
    shelltools.cd("build")

    cmaketools.configure(
        "-DCMAKE_BUILD_TYPE=Release \
                          -DKDE_INSTALL_LIBEXECDIR=%s \
                          -DCMAKE_INSTALL_LIBDIR=lib \
                          -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
                          -DKDE_INSTALL_QMLDIR=%s \
                          -DKDE_INSTALL_SYSCONFDIR=%s \
                          -DKDE_INSTALL_PLUGINDIR=%s \
                          -DECM_MKSPECS_INSTALL_DIR=%s \
                          -DBUILD_TESTING=OFF \
                          -DKDE_INSTALL_LIBDIR=lib \
                          -Wno-dev \
                          -DCMAKE_INSTALL_PREFIX=%s %s"
        % (libexecdir, qmldir, sysconfdir, plugindir, moduledir, prefix, parameters),
        installPrefix,
        sourceDir,
    )

    shelltools.cd("..")
Exemplo n.º 14
0
def setup():
    shelltools.chmod("scripts/*.sh")

    undef_variables()

    conf = "--disable-dev-erandom \
            --with-tls \
            --with-__thread \
            --enable-add-ons=nptl,c_stubs,glibc-compat,libidn \
            --enable-kernel=2.6.11 \
            --without-cvs \
            --without-selinux \
            --enable-bind-now \
            --build=%s \
            --host=%s \
            --disable-profile \
            --without-gd \
            --with-headers=/usr/include \
            --prefix=/usr \
            --mandir=/usr/share/man \
            --infodir=/usr/share/info \
            --libexecdir=/usr/lib/misc" % (get.HOST(), get.HOST())

    shelltools.makedirs("%s/build-default-i686-pc-linux-gnu-nptl" % get.workDIR())
    shelltools.cd("%s/build-default-i686-pc-linux-gnu-nptl" % get.workDIR())
    shelltools.system("%s/%s/configure %s" % (get.workDIR(), WorkDir, conf))
Exemplo n.º 15
0
def setup():
    for (path, dirs, files) in os.walk(get.workDIR()):
        for file in files:
            if file.endswith(".c"):
                with open("%s/%s" % (path, file)) as f:
                    lines = f.readlines()
                new_file = ""
                for line in lines:
                    if not line.find("g_type_init()") == -1:
                        new_file = new_file + "#if !GLIB_CHECK_VERSION(2,35,0)\n" + line + "#endif\n"
                    else: 
                        new_file = new_file + line
                open("%s/%s" % (path, file), "w").write(new_file)
    
    options = "--disable-static \
               --disable-silent-rules \
               --disable-scrollkeeper \
               --disable-dumper \
               --disable-tests \
               --enable-introspection=yes"
    
    shelltools.makedirs("../gtk2-rebuild")
    shelltools.system("cp -R * ../gtk2-rebuild &>/dev/null")

    #autotools.autoreconf("-fvi")
    autotools.configure("%s --with-gtk=3" % options)
    shelltools.cd("../gtk2-rebuild")
    #autotools.autoreconf("-fvi")
    autotools.configure("%s --with-gtk=2" % options)
Exemplo n.º 16
0
def install():
    shelltools.cd("out/Release")

    shelltools.makedirs("%s/usr/lib/chromium-browser" % get.installDIR())

    pisitools.insinto("/usr/lib/chromium-browser", "chrome.pak")
    pisitools.insinto("/usr/lib/chromium-browser", "resources.pak")
    pisitools.insinto("/usr/lib/chromium-browser", "chrome", "chromium-browser")
    pisitools.insinto("/usr/lib/chromium-browser", "chrome_sandbox", "chromium_sandbox")
    pisitools.insinto("/usr/lib/chromium-browser", "locales")
    pisitools.insinto("/usr/lib/chromium-browser", "resources")

    # Nacl plugin
    pisitools.insinto("/usr/lib/chromium-browser", "libppGoogleNaClPluginChrome.so")

    pisitools.dosym("/usr/lib/nsbrowser/plugins", "/usr/lib/chromium-browser/plugins")

    pisitools.newman("chrome.1", "chromium-browser.1")

    # Chromium looks for these in its folder
    # See media_posix.cc and base_paths_linux.cc
    for lib in ["libavcodec.so.52" , "libavformat.so.52", "libavutil.so.50"]:
        shelltools.sym("/usr/lib/%s" % lib, "%s/usr/lib/chromium-browser/%s" % (get.installDIR(), lib))


    shelltools.cd("../..")
    for size in ["16", "22", "24", "32", "48", "64", "128", "256"]:
        pisitools.insinto("/usr/share/icons/hicolor/%sx%s/apps" %(size, size), "chrome/app/theme/chromium/product_logo_%s.png" % size, "chromium-browser.png")

    pisitools.dosym("/usr/share/icons/hicolor/256x256/apps/chromium-browser.png", "/usr/share/pixmaps/chromium-browser.png")
Exemplo n.º 17
0
def setup():
    #pisitools.dosed("configure", "cc=gcc", "cc=%s" % get.CC())
    #pisitools.dosed("configure", 'cflags="-g.*', "cflags=%s" % get.CFLAGS())

    shelltools.makedirs("build")
    shelltools.cd("build")

    shelltools.system("../configure \
                       --prefix=%(installdir)s/usr \
                       --incdir=%(installdir)s/usr/include \
                       --libdir=%(installdir)s/usr/lib \
                       -Si cputhrchk 0 \
                       -Fa alg '-g -Wa,--noexecstack -fPIC' \
                       -D c -DWALL \
                       -b %(bits)s \
                       --with-netlib-lapack=/usr/lib/liblapack.a" % cfg)

    # Fix architecture detection
    if get.ARCH() == "x86_64":
        pisitools.dosed("Make.inc", "ARCH =.*", "ARCH = HAMMER64SSE2")
        pisitools.dosed("Make.inc", "-DATL_SSE3", "")
        pisitools.dosed("Make.inc", "-msse3", "-msse2")
    elif get.ARCH() == "i686":
        pisitools.dosed("Make.inc", "ARCH =.*", "ARCH = PIII32SSE1")
        pisitools.dosed("Make.inc", "-DATL_SSE3 -DATL_SSE2", "")
        pisitools.dosed("Make.inc", "-msse3", "-msse")
Exemplo n.º 18
0
def setup():
    shelltools.makedirs("build")
    shelltools.cd("build")

    cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr  \
                          -DCMAKE_INSTALL_SYSCONFDIR=/etc \
                          -DCMAKE_INSTALL_LIBDIR=/usr/lib", sourceDir="..")
Exemplo n.º 19
0
def install():
    shelltools.makedirs("build")
    shelltools.cd("build")

    cmaketools.install()

    pisitools.dodoc("../COPYING")
Exemplo n.º 20
0
def setup():
    shelltools.makedirs("build")
    shelltools.cd("build")

    cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
                          -DSPATIALINDEX_INCLUDE_DIR=/usr/include/libspatialindex \
                          -DQGIS_MANUAL_SUBDIR=share/man", installPrefix="/usr",sourceDir="..")
Exemplo n.º 21
0
def install():

    # execute install target of build system
    shelltools.cd("Qt4/")
    autotools.make("all staticlib CC=\"%s\" CXX=\"%s\" LINK=\"%s\"" % (get.CC(), get.CXX(), get.CC()))
    pisitools.insinto("/%s/lib" % Qt4DIR, "libqscintilla2.so*")

    shelltools.cd("../designer-Qt4/")
    autotools.make("DESTDIR=\"%s/%s/plugins/designer\"" % (get.installDIR(), Qt4DIR))

    # Get Makefile of qscintilla-python via sip
    shelltools.cd("../Python")
    pythonmodules.run("configure.py -p 4 -n ../Qt4 -o ../Qt4")

    # installs not managed by the build system
    shelltools.cd("../Qt4/")
    shelltools.makedirs("%s/%s/include" % (get.installDIR(), Qt4DIR))
    shelltools.copytree("Qsci", "%s/%s/include/Qsci" % (get.installDIR(), Qt4DIR))
    pisitools.insinto("%s/translations" % Qt4DIR, "qscintilla*.qm")

    shelltools.cd("../")
    pisitools.insinto("%s/plugins/designer" % Qt4DIR, "designer-Qt4/libqscintillaplugin.so")

    #build and install qscintilla-python
    shelltools.cd("Python")
    autotools.make()
    autotools.install("DESTDIR=%s" % get.installDIR())

    shelltools.cd("..")
    pisitools.dohtml("doc/html-Qt4/")
    pisitools.insinto("/usr/share/doc/%s/Scintilla" % get.srcTAG(), "doc/Scintilla/*")

    pisitools.dodoc("ChangeLog", "LICENSE", "NEWS", "README")
Exemplo n.º 22
0
def setup():
    shelltools.makedirs("build")
    shelltools.cd("build")
    cmaketools.configure("-DDONT_INSTALL_GCONF_SCHEMAS=1 \
                          -DCMAKE_BUILD_TYPE=Release \
                          -DBINARY_PACKAGE_BUILD=1 \
                          -DBUILD_USERMANUAL=0", sourceDir="..")
Exemplo n.º 23
0
def setup():
    shelltools.makedirs("src")
    shelltools.export("JAVAC","/opt/sun-jdk/bin/javac")
    shelltools.export("JAVA_HOME","/opt/sun-jdk")
    shelltools.export("LC_ALL", "C")
    shelltools.system("ant jar")
    shelltools.system("touch LICENSE.txt")
Exemplo n.º 24
0
def installLibcHeaders(excludes=None):
    headers_tmp = os.path.join(get.installDIR(), 'tmp-headers')
    headers_dir = os.path.join(get.installDIR(), 'usr/include')

    make_cmd = "O=%s INSTALL_HDR_PATH=%s/install" % (headers_tmp, headers_tmp)

    # Cleanup temporary header directory
    shelltools.system("rm -rf %s" % headers_tmp)

    # Create directories
    shelltools.makedirs(headers_tmp)
    shelltools.makedirs(headers_dir)

    # make defconfig and install the headers
    autotools.make("%s defconfig" % make_cmd)
    autotools.rawInstall(make_cmd, "headers_install")

    oldwd = os.getcwd()

    shelltools.cd(os.path.join(headers_tmp, "install", "include"))
    shelltools.system("find . -name '.' -o -name '.*' -prune -o -print | \
                       cpio -pVd --preserve-modification-time %s" % headers_dir)

    # Remove sound/ directory which is installed by alsa-headers
    shelltools.system("rm -rf %s/sound" % headers_dir)

    # Remove possible excludes given by actions.py
    if excludes:
        shelltools.system("rm -rf %s" % " ".join(["%s/%s" % (headers_dir, exc.strip("/")) for exc in excludes]))

    shelltools.cd(oldwd)

    # Remove tmp directory
    shelltools.system("rm -rf %s" % headers_tmp)
Exemplo n.º 25
0
def setup():
    #FIXME: External libstreams workaround
    if not pkgconfig.libraryExists("libstreams"):
        raise "libstreams pkgconfig file not found!"

    libstreams_version = pkgconfig.getLibraryVersion("libstreams")

    MAJOR = libstreams_version.split(".")[0]
    MINOR = libstreams_version.split(".")[1]
    PATCH = libstreams_version.split(".")[2]
    STRING = libstreams_version

    shelltools.makedirs("build")
    shelltools.cd("build")

    cmaketools.configure("-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=FALSE \
                          -DCLUCENE_LIBRARY_DIR=/usr/include \
                          -DENABLE_FAM=ON \
                          -DENABLE_POLLING=ON \
                          -DENABLE_INOTIFY=ON \
                          -DSTRIGI_VERSION_MAJOR=%s \
                          -DSTRIGI_VERSION_MINOR=%s \
                          -DSTRIGI_VERSION_PATCH=%s \
                          -DSTRIGI_VERSION_STRING=%s \
                          -DLIBSTREAMS_VERSION=%s \
                          " % (MAJOR, MINOR, PATCH, STRING, STRING), sourceDir="..")
Exemplo n.º 26
0
def setup():
    pisitools.dosed("plasma-applet-translatoid.desktop", "Name=Translator", "Name=Translatoid")
    pisitools.dosed("plasma-applet-translatoid.desktop", "Icon=translator.png", "Icon=accessories-dictionary.png")
    shelltools.makedirs("build")
    shelltools.cd("build")

    cmaketools.configure(installPrefix="/usr/kde/4", sourceDir="..")
Exemplo n.º 27
0
def setup():
    exportEnv()

    shelltools.cd("%s/src" % GetWorkdir)
    libtools.libtoolize("--copy --force")

    shelltools.makedirs("%s/build" % GetWorkdir)
    shelltools.cd("%s/build" % GetWorkdir)

    shelltools.system(" %s/src/configure \
                        --without-cxx-runtime-hack \
                        --without-aleph     \
                        --without-bibtex8   \
                        --without-cjkutils  \
                        --without-detex     \
                        --without-dialog    \
                        --without-dtl       \
                        --without-dvi2tty   \
                        --without-dvidvi    \
                        --without-dviljk    \
                        --without-dvipdfm   \
                        --without-dvipdfmx  \
                        --without-dvipng    \
                        --without-dvipos    \
                        --without-dvipsk    \
                        --without-etex      \
                        --without-gsftopk   \
                        --without-lacheck   \
                        --without-lcdf-typetools  \
                        --without-makeindexk      \
                        --without-mkocp-default   \
                        --without-mkofm-default   \
                        --without-musixflx  \
                        --without-omega     \
                        --without-pdfopen   \
                        --without-ps2eps    \
                        --without-ps2pkm    \
                        --without-psutils   \
                        --without-sam2p     \
                        --without-seetexk   \
                        --without-t1utils   \
                        --without-tetex     \
                        --without-tex4htk   \
                        --without-texi2html \
                        --without-texinfo   \
                        --without-texlive   \
                        --without-ttf2pk    \
                        --without-tth       \
                        --without-xdv2pdf   \
                        --without-xdvik     \
                        --without-xdvipdfmx \
                        --without-xetex     \
                        --disable-largefile \
                        --with-system-zlib \
                        --with-system-pnglib \
                        --with-system-ncurses --with-system-pnglib --with-system-zlib \
                        --with-system-gd --with-system-tifflib --with-system-wwwlib --with-system-t1lib \
                        --with-system-freetype --with-system-freetype2 \
                        --with-freetype2-include=/usr/include/freetype2 \
                        --prefix=/usr" % GetWorkdir)
Exemplo n.º 28
0
def setup():
    shelltools.makedirs("build")
    shelltools.cd("build")
    cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
                          -DCMAKE_BUILD_TYPE=Release \
                          -DCMAKE_INSTALL_LIBDIR=lib \
                          -DPULL_TRANSLATIONS=yes", sourceDir="..")
Exemplo n.º 29
0
def setup():
    shelltools.export("LANGUAGE", "C")
    shelltools.export("LANG", "C")
    shelltools.export("LC_ALL", "C")

    shelltools.export("CC", "gcc %s " % defaultflags)
    shelltools.export("CXX", "g++ %s " % defaultflags)

    shelltools.export("CFLAGS", defaultflags)
    shelltools.export("CXXFLAGS", defaultflags)

    shelltools.makedirs("build")
    shelltools.cd("build")
    options = "--prefix=/usr \
               --libdir=/usr/lib \
               --mandir=/usr/share/man \
               --infodir=/usr/share/info \
               --libexecdir=/usr/lib/misc \
               --with-bugurl=https://bugs.pisilinux.org \
               --enable-add-ons \
               --enable-obsolete-rpc \
               --enable-kernel=2.6.32 \
               --enable-bind-now --disable-profile \
               --enable-stackguard-randomization \
               --enable-lock-elision \
               --enable-multi-arch \
               --disable-werror"
    if get.buildTYPE() == "emul32":
        options += "\
                    --libdir=/usr/lib32 \
                    --enable-multi-arch i686-pc-linux-gnu \
                   "

    shelltools.system("../configure %s" % options)
Exemplo n.º 30
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    shelltools.makedirs("%s/etc/profile.d" % get.installDIR())
    shelltools.copy("GNUstep.sh", "%s/etc/profile.d/GNUstep.sh" % get.installDIR())

    pisitools.dodoc("FAQ", "README", "RELEASENOTES")
Exemplo n.º 31
0
def setup():
    shelltools.makedirs("build-python3")
    autotools.autoreconf("-fi")

    shelltools.cd("build-python3")
    shelltools.system("PYTHON=python3 ../configure --prefix=/usr \
                       --localstatedir=/var \
                       --disable-api-docs \
                       --disable-html-docs \
                       --disable-static \
                       PYTHON_VERSION=3")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Exemplo n.º 32
0
def setup():
    shelltools.cd("..")
    shelltools.makedirs("build_python3")
    shelltools.copytree("./%s" % WorkDir, "build_python3")
    shelltools.cd(WorkDir)

    pisitools.dosed("../build_python3/pefile-2016.3.28/setup.py", \
                    "'pefile.py', 'r'", \
                    "'pefile.py', 'r', encoding='utf-8'")

    pisitools.dosed("../build_python3/pefile-2016.3.28/setup.py", \
                    "import sys", \
                    "import sys\nfrom io import open")
Exemplo n.º 33
0
def setup():
    shelltools.makedirs("build")
    shelltools.cd("build")

    cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
                          -DCMAKE_BUILD_TYPE=Release \
                          -DCMAKE_BUILD_TYPE=RelWithDebInfo \
                          -DUSE_QT5=ON \
                          -DDBUS_CONFIG_FILENAME=sddm_org.freedesktop.DisplayManager.conf \
                          -DUSE_WAYLAND=ON \
                          -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib/sddm \
                          -DBUILD_MAN_PAGES=ON",
                         sourceDir="..")
Exemplo n.º 34
0
def setup():
    options_cfg = ''.join([
        '-DUSE_TBB=ON ',
        '-DUSE_VTK=OFF ',
        '-DUSE_GL2PS=ON ',
        '-DUSE_FFMPEG=ON ',
        '-DUSE_FREEIMAGE=OFF ',
        'BUILD_TYPE=Release ',
        '-DCMAKE_INSTALL_PREFIX=/usr',
    ])
    shelltools.makedirs("build")
    shelltools.cd("build")
    cmaketools.configure("%s" % options_cfg, sourceDir="..")
Exemplo n.º 35
0
def setup():
    pisitools.dosed("wt_config.xml", r"<run-directory>.*</run-directory>", "<run-directory>%s</run-directory>" % runDir)

    shelltools.makedirs("build")
    shelltools.cd("build")

    cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
                          -DMXML_SUPPLIED=ON \
                          -DCONNECTOR_FCGI=OFF \
                          -DCONNECTOR_HTTP=ON \
                          -DMULTI_THREADED=ON \
                          -DRUNDIR=%s%s" % (get.installDIR(), runDir),
                         sourceDir = "..")
Exemplo n.º 36
0
def setup():
    shelltools.makedirs("build")
    shelltools.cd("build")
    cmaketools.configure(" LUAC=luac  LUA_LIBS='`pkg-config --libs lua`' \
                          -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \
                          -DPODOFO_BUILD_SHARED=1 \
                          -DPODOFO_BUILD_STATIC=0 \
                          -DPODOFO_HAVE_JPEG_LIB=1 \
                          -DPODOFO_HAVE_PNG_LIB=1 \
                          -DPODOFO_HAVE_TIFF_LIB=1 \
                          -DWANT_FONTCONFIG=1 \
                          -DWANT_BOOST=1",
                         sourceDir="..")
Exemplo n.º 37
0
def install():
    shelltools.makedirs("%s/usr/lib/pardus/pardus/xorg/" % get.installDIR())

    shelltools.copy("pardus/*py",
                    "%s/usr/lib/pardus/pardus/" % get.installDIR())
    shelltools.copy("pardus/xorg/*py",
                    "%s/usr/lib/pardus/pardus/xorg/" % get.installDIR())

    pisitools.insinto("/usr/lib/pardus/pardus/", "build/csapi.so")
    pisitools.insinto("/usr/lib/pardus/pardus/xorg", "build/xorg/capslock.so")

    installi18n()
    pisitools.dodoc("README")
Exemplo n.º 38
0
def setup():
    pisitools.dosed("plugins/zynaddsubfx/LocalZynAddSubFx.cpp", "unlink", "remove")

    shelltools.makedirs("build")
    shelltools.cd("build")

    cmaketools.configure("-DWANT_SYSTEM_SR=TRUE \
                          -DWANT_CAPS=TRUE \
                          -DWANT_TAP=TRUE \
                          -DWANT_PORTAUDIO=FALSE \
                          -DWANT_SYSTEM_SR=TRUE \
                          -DWANT_STK=FALSE \
                          -DWANT_VST_NOWINE=FALSE", sourceDir="..")
Exemplo n.º 39
0
def setup():
    shelltools.makedirs("build")
    shelltools.cd("build")
    cmaketools.configure("-DBUILD_TERMINAL=ON \
			  -DQTERMWIDGET_PATH_INCLUDES=/usr/include/qtermwidget \
			  -DQTERMWIDGET_PATH_LIB=/usr/lib/ \
			  -DCMAKE_INSTALL_PREFIX=/usr \
			  -DCMAKE_BUILD_TYPE=release \
			  -DBUILD_TODOLIST=ON",
                         sourceDir="..")

    pisitools.dosed("CMakeCache.txt", "LIB_INSTALL_DIR:PATH=/usr/lib64",
                    "LIB_INSTALL_DIR:PATH=/usr/lib")
Exemplo n.º 40
0
def setup():
    shelltools.cd("%s" % get.workDIR())
    shelltools.move("runc-*", "runc")

    shelltools.cd("runc")
    #shelltools.move("vendor", "src")

    shelltools.export("GOPATH", "%s" % get.workDIR())

    shelltools.makedirs("src/github.com/opencontainers")
    shelltools.cd("src/github.com/opencontainers")

    shelltools.system("ln -rsf %s/runc ./runc" % get.workDIR())
Exemplo n.º 41
0
def install():
    shelltools.makedirs("build")
    shelltools.cd("build")
    
    cmaketools.install()
    
    #dbus configuration for pisi
    pisitools.dosed("%s/usr/share/calamares/modules/machineid.conf" % get.installDIR(), "systemd: true", "systemd: false")
    pisitools.dosed("%s/usr/share/calamares/modules/machineid.conf" % get.installDIR(), "symlink: true", "symlink: false")
    
    
    
    pisitools.dodoc("../README.*")
Exemplo n.º 42
0
def setup():
    shelltools.makedirs("build")
    shelltools.cd("build")

    cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
                          -DWITH_examples=true \
                          -DWITH_demos=true \
                          -DWITH_GMPXX=ON \
                          -DWITH_CGAL_Qt3=OFF \
                          -DWITH_LEDA=OFF \
                          -DWITH_TAUCS=OFF",
                         installPrefix="/usr",
                         sourceDir="..")
Exemplo n.º 43
0
def setup():
    unset()

    shelltools.makedirs("%s/build-avr" % get.workDIR())
    shelltools.cd("%s/build-avr/" % get.workDIR())

    shelltools.system('%s/%s/configure \
                       --prefix=/opt/avr \
                       --target=avr \
                       --enable-languages="c,c++" \
                       --disable-nls \
                       --disable-libssp \
                       --with-dwarf2' % (get.workDIR(), WorkDir))
Exemplo n.º 44
0
def build():
    #scons.make("WITH_BF_PLAYER=1 WITH_BF_OPENAL=1 BF_FANCY=0")
    shelltools.export("RPM_OPT_FLAGS", get.CFLAGS())
    scons.make(
        "WITH_BF_PLAYER=1 WITH_BF_OPENAL=1 WITH_BF_INTERNATIONAL=1 BF_QUIET=0 BF_NUMJOBS=%s"
        % get.makeJOBS().replace("-j", "1"))

    shelltools.makedirs("release/plugins/include")
    shelltools.copy("source/blender/blenpluginapi/*.h",
                    "release/plugins/include")

    shelltools.chmod("release/plugins/bmake", 0755)
    autotools.make("-C release/plugins")
Exemplo n.º 45
0
def setup():
    deldirs = ["org/gudy/azureus2/platform/macosx",
               "org/gudy/azureus2/ui/swt/osx",
               "org/gudy/azureus2/ui/swt/test",
               "org/bouncycastle"]
    delfiles = ["/org/gudy/azureus2/ui/swt/win32/Win32UIEnhancer.java",
                "org/gudy/azureus2/ui/console/multiuser/TestUserManager.java"]
    for dirs in deldirs:
        shelltools.unlinkDir("%s/%s" % (get.workDIR(),dirs))
    for files in delfiles:
        shelltools.unlink("%s/%s" % (get.workDIR(),files))

    shelltools.makedirs("%s/build/libs" % get.workDIR())
Exemplo n.º 46
0
def setup():
    shelltools.system("sed -i 's/-fPIE/-fPIC/g' src/{gui,cmd}/CMakeLists.txt")

    shelltools.makedirs("build")
    shelltools.cd("build")
    cmaketools.configure("-DCMAKE_BUILD_TYPE=None \
                          -DCMAKE_INSTALL_PREFIX=/usr \
                          -DCMAKE_INSTALL_LIBDIR=lib \
                          -DCMAKE_SHARED_LINKER_FLAGS='-Wl,--as-needed' \
                          -DNO_SHIBBOLETH=1 \
                          -DWITH_CRASHREPORTER=OFF \
                          -DUNIT_TESTING=ON",
                         sourceDir="..")
Exemplo n.º 47
0
def setup():
    shelltools.makedirs("objdir")
    shelltools.cd("objdir")
    #this dummy configure is needed to build locales.
    shelltools.system(
        "../configure --prefix=/usr --libdir=/usr/lib --disable-strip --disable-install-strip"
    )

    #now we have Makefiles needed to build locales (like toolkit/Makefile)
    #since we need debug symbols in dbginfo packages, we shouldn't strip binaries
    shelltools.system(
        "../configure --prefix=/usr --libdir=/usr/lib --with-libxul-sdk=/usr/lib/xulrunner-devel-1.9 --disable-strip --disable-install-strip"
    )
Exemplo n.º 48
0
def setup():
    shelltools.makedirs("build")

    shelltools.cd("build")
    cmaketools.configure("-DOCC_INCLUDE_DIR:PATH=/usr/include/oce \
                          -DCMAKE_INSTALL_DATADIR=/usr/share/freecad \
                          -DCOIN3D_DOC_PATH=/usr/share/doc/coin \
                          -DFREECAD_USE_EXTERNAL_PIVY:BOOL=ON \
                          -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python",
                         sourceDir="..")
    #for build plugin
    shelltools.cd("../src/Tools/plugins/widget")
    shelltools.system("qmake plugin.pro")
Exemplo n.º 49
0
def setup():
    shelltools.makedirs("build")
    shelltools.cd("build")
    cmaketools.configure("-G 'Ninja' \
                          -DBUILD_TESTING=OFF \
                          -DENABLE_KFILEMETADATASUPPORT=ON \
                          -DENABLE_MEDIAPLAYER=ON \
                          -DENABLE_AKONADICONTACTSUPPORT=ON \
                          -DENABLE_MYSQLSUPPORT=ON \
                          -DENABLE_APPSTYLES=ON \
                          -DENABLE_QWEBENGINE=ON \
                          -DOpenGL_GL_PREFERENCE=GLVND",
                         sourceDir='..')
Exemplo n.º 50
0
def install():
    # Copy to install directory
    shelltools.copytree("gen/buildroot-classic", get.installDIR())

    pisitools.insinto("/opt/firebird/bin/", "gen/buildroot/opt/firebird/bin/*")
    pisitools.insinto("/opt/firebird/plugins/",
                      "gen/buildroot/opt/firebird/plugins/*")

    # Move headers
    pisitools.remove("/usr/include/*")
    pisitools.domove("/opt/firebird/include", "/usr/include", "firebird")

    # Fix client libraries symlinks
    pisitools.removeDir("/usr/lib*")
    for libs in os.listdir("%s/opt/firebird/lib" % get.installDIR()):
        pisitools.dosym("/opt/firebird/lib/%s" % libs, "/usr/lib/%s" % libs)
    pisitools.dosym("/opt/firebird/plugins/libfbtrace.so",
                    "/usr/lib/libfbtrace.so")

    # Add support for old client's
    pisitools.dosym("libfbclient.so", "/usr/lib/libgds.so")
    pisitools.dosym("libfbclient.so", "/usr/lib/libgds.so.0")
    pisitools.dosym("libfbclient.so", "/opt/firebird/lib/libgds.so")
    pisitools.dosym("libfbclient.so", "/opt/firebird/lib/libgds.so.0")

    # Move configuration files and security DB to /etc/firebird for painless upgrade
    pisitools.domove("/opt/firebird/aliases.conf", "/etc/firebird")
    pisitools.domove("/opt/firebird/firebird.conf", "/etc/firebird")
    pisitools.domove("/opt/firebird/security2.fdb", "/etc/firebird")
    pisitools.dosym("/etc/firebird/aliases.conf", "/opt/firebird/aliases.conf")
    pisitools.dosym("/etc/firebird/firebird.conf",
                    "/opt/firebird/firebird.conf")
    pisitools.dosym("/etc/firebird/security2.fdb",
                    "/opt/firebird/security2.fdb")

    # Set PID directory
    shelltools.makedirs("%s/run/firebird" % get.installDIR())
    #pisitools.dodir("/opt/firebird/run")

    # Set permissions
    shelltools.chmod("%s/etc/firebird/security2.fdb" % get.installDIR(), 0600)
    shelltools.chmod("%s/run/firebird" % get.installDIR(), 0755)
    #shelltools.chmod("%s/opt/firebird/run" % get.installDIR(), 0755)

    pisitools.dosym("/var/log/firebird.log", "/opt/firebird/firebird.log")

    # Useless init.d stuff
    pisitools.removeDir("/opt/firebird/misc/")

    # Prevent to conflict isql with UnixODBC's
    pisitools.domove("/opt/firebird/bin/isql", "/opt/firebird/bin", "fb_isql")
Exemplo n.º 51
0
def setup():
    exportFlags()
    pisitools.flags.remove("-pipe")
    # Maintainer mode off, do not force recreation of generated files
    #shelltools.system("contrib/gcc_update --touch")
    pisitools.dosed("gcc/Makefile.in", "\.\/fixinc\.sh", "-c true")
    pisitools.dosed("gcc/configure", "^(ac_cpp='\$CPP\s\$CPPFLAGS)", r"\1 -O2")
    pisitools.dosed("libiberty/configure", "^(ac_cpp='\$CPP\s\$CPPFLAGS)",
                    r"\1 -O2")

    pisitools.dosed("gcc/config/i386/t-linux64",
                    "^(ac_cpp='\$CPP\s\$CPPFLAGS)", r"\1 -O2")
    pisitools.system("sed -i '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64")

    shelltools.cd("../")
    shelltools.makedirs("build")
    shelltools.cd("build")

    shelltools.system('.././gcc-%s/configure \
                       --prefix=/usr \
                       --bindir=/usr/bin \
                       --libdir=/usr/lib \
                       --libexecdir=/usr/lib \
                       --includedir=/usr/include \
                       --mandir=/usr/share/man \
                       --infodir=/usr/share/info \
                       --with-bugurl=http://bugs.limelinux.com \
                       --enable-languages=c,c++,fortran,lto,objc,obj-c++ \
                       --disable-libgcj \
                       --enable-shared \
                       --enable-threads=posix \
                       --with-system-zlib \
                       --enable-__cxa_atexit \
                       --disable-libunwind-exceptions \
                       --enable-clocale=gnu \
                       --disable-libstdcxx-pch \
                       --disable-libssp \
                       --enable-gnu-unique-object \
                       --enable-linker-build-id \
                       --enable-cloog-backend=isl \
                       --disable-cloog-version-check \
                       --enable-lto \
                       --enable-plugin \
                       --with-linker-hash-style=gnu \
                       --with-pkgversion="Lime Linux" \
                       --disable-werror \
                       --enable-checking=release \
                       --build=%s \
                               %s \
                               %s ' %
                      (verMajor, get.HOST(), opt_arch, opt_multilib))
Exemplo n.º 52
0
def setup():
    exportFlags()
    # Maintainer mode off, do not force recreation of generated files
    #shelltools.system("contrib/gcc_update --touch")
    pisitools.dosed("gcc/Makefile.in", "\.\/fixinc\.sh", "-c true")
    pisitools.dosed("gcc/configure", "^(ac_cpp='\$CPP\s\$CPPFLAGS)", r"\1 -O2")
    pisitools.dosed("libiberty/configure", "^(ac_cpp='\$CPP\s\$CPPFLAGS)", r"\1 -O2")
    
    shelltools.move("isl-0.21", "isl")
    shelltools.move("mpfr-4.1.0", "mpfr")
    shelltools.move("mpc-1.2.0", "mpc")
    shelltools.move("gmp-6.2.0", "gmp")
    
    #shelltools.cd("../")
    shelltools.makedirs("build")
    shelltools.cd("build")
    
    #shelltools.system('.././gcc-%s/configure \
    shelltools.system('../configure \
                       --prefix=/usr \
                       --bindir=/usr/bin \
                       --libdir=/usr/lib \
                       --libexecdir=/usr/lib \
                       --includedir=/usr/include \
                       --mandir=/usr/share/man \
                       --infodir=/usr/share/info \
                       --with-bugurl=http://bugs.pisilinux.org \
                       --enable-languages=c,c++,fortran,lto,objc,obj-c++ \
                       --disable-libgcj \
                       --enable-shared \
                       --enable-threads=posix \
                       --with-system-zlib \
                       --enable-__cxa_atexit \
                       --disable-libunwind-exceptions \
                       --enable-clocale=gnu \
                       --disable-libstdcxx-pch \
                       --disable-libssp \
                       --enable-gnu-unique-object \
                       --enable-linker-build-id \
                       --with-isl \
                       --enable-gnu-indirect-function \
                       --disable-isl-version-check \
                       --enable-lto \
                       --enable-plugin \
                       --with-linker-hash-style=gnu \
                       --with-pkgversion="Pisi Linux" \
                       --disable-werror \
                       --enable-checking=release \
                       --build=%s \
                               %s \
                               %s ' % ( get.HOST(), opt_arch, opt_multilib))
Exemplo n.º 53
0
def setup():
    # Remove bundled gtest and use the system one.
    # acx_pthread.m4 is needed in configure stage, so keep it.
    shelltools.move("gtest", "gtest.bak")
    shelltools.makedirs("gtest/m4")
    shelltools.copy("gtest.bak/m4/acx_pthread.m4", "gtest/m4")
    shelltools.unlinkDir("gtest.bak")

    autotools.autoreconf("-vfi")
    autotools.configure("--disable-static")

    # Remove rpath from speexenc and speexdec
    pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*", "hardcode_libdir_flag_spec=\"\"")
    pisitools.dosed("libtool", "^runpath_var=LD_RUN_PATH", "runpath_var=DIE_RPATH_DIE")
Exemplo n.º 54
0
def setup():
	
    shelltools.makedirs("test/TokenizerTest/objects")
	
    shelltools.makedirs("build")
    shelltools.cd("build")
    cmaketools.configure("-DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \
                          -DPODOFO_BUILD_SHARED=1 \
                          -DPODOFO_BUILD_STATIC=0 \
                          -DPODOFO_HAVE_JPEG_LIB=1 \
                          -DPODOFO_HAVE_PNG_LIB=1 \
                          -DPODOFO_HAVE_TIFF_LIB=1 \
                          -DWANT_FONTCONFIG=1 \
                          -DWANT_BOOST=1", sourceDir="..")
Exemplo n.º 55
0
def setup():
    #autotools.autoreconf("-fiv")
    #autotools.configure("--disable-static \
    #--disable-doctool")

    options = "  --libdir=/usr/lib \
				 --bindir=/usr/bin \
                 --sbindir=/usr/sbin \
                 --datadir=/usr/share \
                 --prefix=/usr"

    shelltools.makedirs("build")
    shelltools.cd("build")
    shelltools.system("meson .. %s" % options)
Exemplo n.º 56
0
def setup():
    shelltools.makedirs("%s/build" %get.workDIR())

    cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
                          -DKACTIVITIES_ENABLE_EXCEPTIONS=OFF \
                          -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules \
                          -DQT_PLUGIN_INSTALL_DIR=lib/qt5/plugins \
                          -DQML_INSTALL_DIR=lib/qt5/qml \
                          -DLIB_INSTALL_DIR=lib \
                          -DSYSCONF_INSTALL_DIR=/etc \
                          -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
                          -DPYTHON_EXECUTABLE=/usr/bin/python3 \
                          -DLOCALE_INSTALL_DIR=/usr/share/locale \
                          -DBUILD_TESTING=OFF")
Exemplo n.º 57
0
def setup():
    shelltools.makedirs("build")

    shelltools.cd("build")
    cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
                          -DCMAKE_BUILD_TYPE=Release \
                          -DBUILD_TESTS=OFF \
                          -DQCA_INSTALL_IN_QT_PREFIX=ON \
                          -DQCA_MAN_INSTALL_DIR=/usr/share/man \
                          -DOPENSSL_INCLUDE_DIR=/usr/include/openssl \
                          -DOPENSSL_SSL_LIBRARY=/usr/lib/libssl.so \
                          -DQCA_SUFFIX=qt5 \
                          -DOPENSSL_CRYPTO_LIBRARY=/usr/lib/libcrypto.so",
                         sourceDir="..")
Exemplo n.º 58
0
def setup():
    shelltools.unlink("include/config.h")

    shelltools.makedirs("withgimp")
    shelltools.makedirs("withoutgimp")

    shelltools.cd("withgimp")
    shelltools.sym("../configure", "configure")

    autotools.configure("--enable-gimp")

    shelltools.cd("../withoutgimp")
    shelltools.sym("../configure", "configure")
    autotools.configure("--disable-gimp")
Exemplo n.º 59
0
def setup():
    shelltools.export("CFLAGS", "%s -mmmx -msse" % get.CFLAGS())
    shelltools.export("CXXFLAGS", "%s -mmmx -msse" % get.CXXFLAGS())

    shelltools.makedirs("base")
    autotools.configure('--enable-release \
                         --enable-dedicated \
                         --enable-client \
                         --enable-ufo2map \
                         --localedir="%s/base/i18n" \
                         --disable-uforadiant \
                         --disable-paranoid \
                         --disable-profiling \
                         --disable-hardlinkedgame' % datadir)
Exemplo n.º 60
0
def setup():
    shelltools.makedirs("build")
    shelltools.cd("build")
    #shelltools.export("QT5LINK", "/usr/lib/qt5/bin")
    #shelltools.export("QT5DIR", "/usr/lib/qt5")
    #shelltools.export("CFLAGS", "%s -I/usr/lib/sqlite3.16.2" % get.CFLAGS())
    #shelltools.system("qmake WEBENGINE_CONFIG+=use_proprietary_codecs WEBENGINE_CONFIG+=use_system_icu WEBENGINE_CONFIG+=use_system_protobuf WEBENGINE_CONFIG+=use_system_ffmpeg qtwebengine.pro")
    #pisitools.ldflags.add("-Wl,--no-keep-memory ")
    shelltools.system("qmake .. -- -proprietary-codecs \
                   -system-ffmpeg \
                   -system-opus \
                   -system-webp \
                   -webengine-icu \
                   -webengine-kerberos")