Exemplo n.º 1
0
def build():
    scons.make("prefix=/usr \
                resources_dir=%s \
                lib_dir=%s \
                plugins_dir=%s \
                enable_lua=yes \
                mode=release" % (resources_dir, lib_dir, lib_dir))
Exemplo n.º 2
0
def build():
    scons.make(
        'CXXFLAGS="%s" \
                LINKFLAGS="%s" \
                INSTALLDIR="/usr/share/glob2"'
        % (get.CXXFLAGS(), get.LDFLAGS())
    )
Exemplo n.º 3
0
def build():
    autotools.make()

    # Build silvertree map editor
    scons.make("QTDIR=/usr/qt/4 \
                Build=release \
                editor")
Exemplo n.º 4
0
def build():
    scons.make('release=1 \
                destdir="%s" \
                prefix=/usr \
                datadir=share/vdrift \
                bindir=bin \
                localedir=share/locale' % get.installDIR())
Exemplo n.º 5
0
def build():
    scons.make("prefix=/usr \
                resources_dir=%s \
                lib_dir=%s \
                plugins_dir=%s \
                enable_lua=yes \
                mode=release" % (resources_dir, lib_dir, lib_dir))
Exemplo n.º 6
0
def build():
    autotools.make()

    # Build silvertree map editor
    scons.make("QTDIR=/usr/qt/4 \
                Build=release \
                editor")
Exemplo n.º 7
0
def build():
    # Required for scons to "see" intermediate install location
    pisitools.dodir(get.installDIR())

    if get.ARCH() == "x86_64":
        ARCHFLAGS = "-DARCH_X86 -DBUILD_SSE_OPTIMIZATIONS -DUSE_X86_64_ASM -msse -mfpmath=sse -DUSE_XMMINTRIN"
        TARGETCPU = "x86_64"
    else:
        ARCHFLAGS = "-DARCH_X86 -DBUILD_SSE_OPTIMIZATIONS -msse -mfpmath=sse -DUSE_XMMINTRIN"
        TARGETCPU = "i386"

    # P.S: VST = 1 enables VST support which is only for personal use
    # FIXME: Drop makeJOBS() when the new pisi is merged.
    scons.make('%s DESTDIR="%s" \
                FPU_OPTIMIZATION=1 \
                FFT_ANALYSIS=1 \
                SYSLIBS=1 \
                SURFACES=1 \
                TRANZPORT=1 \
                NLS=1 \
                FREEDESKTOP=1 \
                AIBO=1 \
                FREESOUND=1 \
                WIIMOTE=1 \
                LIBLO=1 \
                CFLAGS="%s -ffast-math" \
                LDFLAGS="%s" \
                LV2=1 \
                DIST_LIBDIR="lib" \
                AUSTATE=1 \
                ARCH="%s" \
                DIST_TARGET="%s" \
                PREFIX=/usr -j1' % (get.makeJOBS(), get.installDIR(), get.CFLAGS(), get.LDFLAGS(), ARCHFLAGS, TARGETCPU))
Exemplo n.º 8
0
def build():
    scons.make('PREFIX="/usr" \
                CC="%(CC)s" \
                CXX="%(CXX)s" \
                CCFLAGS="%(CCFLAGS)s" \
                CPPFLAGS="%(CPPFLAGS)s" \
                LINKFLAGS="%(LINKFLAGS)s"' % flags)
Exemplo n.º 9
0
def build():
    scons.make(
        'CXX="%s" \
                 CXXFLAGS="%s" \
                 LDFLAGS="%s" '
        % (get.CXX(), get.CXXFLAGS(), get.LDFLAGS())
    )
Exemplo n.º 10
0
def build():
    scons.make('PREFIX="/usr" \
                CC="%(CC)s" \
                CXX="%(CXX)s" \
                CCFLAGS="%(CCFLAGS)s" \
                CPPFLAGS="%(CPPFLAGS)s" \
                LINKFLAGS="%(LINKFLAGS)s"' % flags)
Exemplo n.º 11
0
def build():
    scons.make('release=1 \
                destdir="%s" \
                prefix=/usr \
                datadir=share/vdrift \
                bindir=bin \
                localedir=share/locale' % get.installDIR())
Exemplo n.º 12
0
def build():
    scons.make('CC="%s" \
                CCFLAGS="%s" \
                LINK="%s" \
                LINKFLAGS="%s" \
                shared=1 '
                % (get.CC(), get.CFLAGS(), get.CC(), get.LDFLAGS()))
Exemplo n.º 13
0
def build():
    shelltools.export("LINKFLAGS", get.LDFLAGS())
    scons.make("prefix=/usr \
                install_root=%s/usr \
                qtdir=%s \
                djconsole=1 \
                shoutcast=1 \
                optimize=1" % (get.installDIR(), get.qtDIR()))
Exemplo n.º 14
0
def build():
    shelltools.export("LINKFLAGS", get.LDFLAGS())
    scons.make("prefix=/usr \
                install_root=%s/usr \
                qtdir=%s \
                djconsole=1 \
                shoutcast=1 \
                optimize=1" % (get.installDIR(), get.qtDIR()))
Exemplo n.º 15
0
def build():
    # Build game engine..
    pisitools.dosed("config.opts", "BUILD_GAMEENGINE.*$", "BUILD_GAMEENGINE = 'true'")

    pisitools.dosed("SConstruct", "-02", "%s" % get.CFLAGS())

    scons.make()
    shelltools.cd("release/plugins")
    autotools.make()
Exemplo n.º 16
0
def build():
    shelltools.export("QTDIR", get.qtDIR())
    scons.make("prefix=/usr \
                DESTDIR=%s \
                lash=1 \
                portaudio=1 \
                portmidi=1 \
                oss=0 \
                optflags=\"%s\"" % (get.installDIR(), get.CFLAGS()))
Exemplo n.º 17
0
def build():
    scons.make('CC="%s" \
                CCFLAGS="%s" \
                LINK="%s" \
                LINKFLAGS="%s" \
                shared=1 ' % (get.CC(), get.CFLAGS(), get.CC(), get.LDFLAGS()))

    # Remove static libraries
    shelltools.unlink(get.workDIR() + '/' + get.srcDIR() + '/lib/*.a')
Exemplo n.º 18
0
def setup():
    scons.make("configure \
                optimize=2 \
                prefix=/usr \
                installprefix=%s/usr \
                datadir=share/spring \
                bindir=bin \
                libdir=lib/spring \
                strip=0" % get.installDIR())
Exemplo n.º 19
0
def build():
    # fix import config
    shelltools.sym("config-scripts/config", "./cbang/config")
    shelltools.sym("cbang/config-scripts/config", "./config")

    pisitools.dosed("src/openscam/view/GLFreeType.cpp", "freetype\/(.*\.h)", r"\1")

    scons.make("-C cbang compiler=gnu")
    scons.make("compiler=gnu")
Exemplo n.º 20
0
def build():
    shelltools.export("QTDIR", get.qtDIR())
    scons.make("prefix=/usr \
                DESTDIR=%s \
                lash=1 \
                portaudio=1 \
                portmidi=1 \
                oss=0 \
                optflags=\"%s\"" % (get.installDIR(), get.CFLAGS()))
Exemplo n.º 21
0
def setup():
    scons.make("configure \
                optimize=2 \
                prefix=/usr \
                installprefix=%s/usr \
                datadir=share/spring \
                bindir=bin \
                libdir=lib/spring \
                strip=0" % get.installDIR())
Exemplo n.º 22
0
def build():
    # Build game engine..
    pisitools.dosed("config.opts", "BUILD_GAMEENGINE.*$",
                    "BUILD_GAMEENGINE = 'true'")

    pisitools.dosed("SConstruct", "-02", "%s" % get.CFLAGS())

    scons.make()
    shelltools.cd("release/plugins")
    autotools.make()
Exemplo n.º 23
0
def build():
    scons.make('CC="%s" \
                CCFLAGS="%s" \
                LINK="%s" \
                LINKFLAGS="%s" \
                shared=1 '
                % (get.CC(), get.CFLAGS(), get.CC(), get.LDFLAGS()))

    # Remove static libraries
    shelltools.unlink(get.workDIR()+'/'+get.srcDIR()+'/lib/*.a')
Exemplo n.º 24
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", ""))

    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.º 25
0
def setup():
    # SVK usage in utils/buildcat.py causes sandbox violation.
    pisitools.dosed("utils/buildcat.py", "detect_revision\(\)", get.srcVERSION())

    scons.make("build=release \
                build_id=%s \
                install_prefix=/usr \
                bindir=bin \
                buildlocale \
                datadir=share/widelands" % get.srcVERSION())
Exemplo n.º 26
0
def build():
    # fix import config
    shelltools.sym("config-scripts/config", "./cbang/config")
    shelltools.sym("cbang/config-scripts/config", "./config")

    pisitools.dosed("src/openscam/view/GLFreeType.cpp", "freetype\/(.*\.h)",
                    r"\1")

    scons.make("-C cbang compiler=gnu")
    scons.make("compiler=gnu")
Exemplo n.º 27
0
def build():
    pisitools.ldflags.add("-lstdc++")

    scons.make("all \
                --use-system-boost \
                --use-system-pcre \
                --use-system-tcmalloc \
                --ssl \
                --sharedclient \
                --prefix=/usr \
                 DESTDIR=%s" % get.installDIR())
Exemplo n.º 28
0
def build():
    # Required for scons to "see" intermediate install location
    pisitools.dodir(get.installDIR())

    # P.S: VST = 1 enables VST support which is only for personal use
    scons.make("DESTDIR='%s' \
                FPU_OPTIMIZATION=1 \
                FFT_ANALYSIS=1 \
                SYSLIBS=1 \
                LV2=0 \
                PREFIX=/usr" % (get.installDIR()))
Exemplo n.º 29
0
def build():
    pisitools.ldflags.add("-lstdc++")

    scons.make("all \
                --use-system-boost \
                --use-system-pcre \
                --use-system-tcmalloc \
                --ssl \
                --sharedclient \
                --prefix=/usr \
                 DESTDIR=%s" % get.installDIR())
Exemplo n.º 30
0
def setup():
    # SVK usage in utils/buildcat.py causes sandbox violation.
    pisitools.dosed("utils/buildcat.py", "detect_revision\(\)",
                    get.srcVERSION())

    scons.make("build=release \
                build_id=%s \
                install_prefix=/usr \
                bindir=bin \
                buildlocale \
                datadir=share/widelands" % get.srcVERSION())
Exemplo n.º 31
0
def build():
    # Required for scons to "see" intermediate install location
    pisitools.dodir(get.installDIR())

    # P.S: VST = 1 enables VST support which is only for personal use
    scons.make("DESTDIR='%s' \
                FPU_OPTIMIZATION=1 \
                FFT_ANALYSIS=1 \
                SYSLIBS=1 \
                LV2=0 \
                PREFIX=/usr" % (get.installDIR()))
Exemplo n.º 32
0
def build():
    scons.make("\
                systemd=no \
                dbus_export=yes \
                debug=yes \
                python=False \
                libQgpsmm=no \
                nostrip=True \
                gpsd_user=gpsd \
                gpsd_group=dialout")

    shelltools.system("sed -i 's/sbin/bin/g' comar/*.service")
Exemplo n.º 33
0
def build():
    scons.make("\
                systemd=no \
                dbus_export=yes \
                debug=yes \
                python=False \
                libQgpsmm=no \
                nostrip=True \
                gpsd_user=gpsd \
                gpsd_group=dialout")

    shelltools.system("sed -i 's/sbin/bin/g' comar/*.service")
Exemplo n.º 34
0
def build():
    shelltools.export("CXX", get.CXX())
    shelltools.export("CXXFLAGS", get.CXXFLAGS())

    scons.make('release=1 \
                destdir="%s" \
                NLS=1 \
                prefix='' \
                localedir=/usr/share/locale \
                datadir=/usr/share/vdrift \
                bindir=/usr/bin \
                os_cxxflags=1 \
                use_binreloc=0' % get.installDIR())
Exemplo n.º 35
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.º 36
0
def build():
    # shelltools.export("CXXFLAGS", get.CXXFLAGS())

    scons.make('release=1 \
                destdir="%s" \
                prefix=/usr \
                datadir=share/vdrift \
                bindir=bin \
                localedir=share/locale \
                os_cc=1 \
                os_cxx=1 \
                os_cxxflags=1 \
                use_binreloc=0' % get.installDIR())
Exemplo n.º 37
0
def build():
    shelltools.export("CXX", get.CXX())
    shelltools.export("CXXFLAGS", get.CXXFLAGS())

    scons.make('release=1 \
                destdir="%s" \
                NLS=1 \
                prefix='' \
                localedir=/usr/share/locale \
                datadir=/usr/share/vdrift \
                bindir=/usr/bin \
                os_cxxflags=1 \
                use_binreloc=0' % get.installDIR())
Exemplo n.º 38
0
def build():
    # shelltools.export("CXXFLAGS", get.CXXFLAGS())


    scons.make('release=1 \
                destdir="%s" \
                prefix=/usr \
                datadir=share/vdrift \
                bindir=bin \
                localedir=share/locale \
                os_cc=1 \
                os_cxx=1 \
                os_cxxflags=1 \
                use_binreloc=0' % get.installDIR())
Exemplo n.º 39
0
def build():
    shelltools.export("LINKFLAGS", get.LDFLAGS())
    scons.make("prefix=/usr \
                install_root=%s/usr \
                qtdir=%s \
                djconsole=1 \
                portmidi=0 \
                optimize=1 \
                script=1 \
                shoutcast=1 \
                tonal=1 \
                m4a=1 \
                ladspa=1 \
                ipod=1" % (get.installDIR(), get.qtDIR()))
Exemplo n.º 40
0
def build():
    shelltools.export("LINKFLAGS", get.LDFLAGS())
    scons.make("prefix=/usr \
                install_root=%s/usr \
                qtdir=%s \
                djconsole=1 \
                portmidi=0 \
                optimize=1 \
                script=1 \
                shoutcast=1 \
                tonal=1 \
                m4a=1 \
                ladspa=1 \
                ipod=1" % (get.installDIR(), get.qtDIR()))
Exemplo n.º 41
0
def build():
    shelltools.cd("indra")

    shelltools.export("TEMP_BUILD_DIR", "build")

    pisitools.dosed("SConstruct", "-Werror")

    scons.make("DISTCC=no \
                BTARGET=client \
                BUILD=release \
                MOZLIB=no \
                GRID=default \
                FMOD=no \
                GSTREAMER=yes \
                CHANNEL=Release \
                ELFIO=no \
                STANDALONE=yes \
                OPENSOURCE=yes")
Exemplo n.º 42
0
def build():
    # Required for scons to "see" intermediate install location
    pisitools.dodir(get.installDIR())

    # P.S: VST = 1 enables VST support which is only for personal use
    scons.make('%s DESTDIR="%s" \
                FPU_OPTIMIZATION=1 \
                FFT_ANALYSIS=1 \
                SYSLIBS=1 \
                SURFACES=1 \
                TRANZPORT=1 \
                NLS=1 \
                FREEDESKTOP=1 \
                AIBO=1 \
                FREESOUND=1 \
                WIIMOTE=1 \
                LIBLO=1 \
                CFLAGS="%s -ffast-math" \
                LDFLAGS="%s" \
                LV2=1 \
                AUSTATE=1 \
                ARCH="-DARCH_X86 -DBUILD_SSE_OPTIMIZATIONS -msse -mfpmath=sse -DUSE_XMMINTRIN" \
                PREFIX=/usr' % (get.makeJOBS(), get.installDIR(), get.CFLAGS(), get.LDFLAGS()))
Exemplo n.º 43
0
def build():
    # Required for scons to "see" intermediate install location
    pisitools.dodir(get.installDIR())

    # P.S: VST = 1 enables VST support which is only for personal use
    scons.make('%s DESTDIR="%s" \
                FPU_OPTIMIZATION=1 \
                FFT_ANALYSIS=1 \
                SYSLIBS=1 \
                SURFACES=1 \
                TRANZPORT=1 \
                NLS=1 \
                FREEDESKTOP=1 \
                AIBO=1 \
                FREESOUND=1 \
                WIIMOTE=1 \
                LIBLO=1 \
                CFLAGS="%s -ffast-math" \
                LDFLAGS="%s" \
                LV2=1 \
                AUSTATE=1 \
                ARCH="-DARCH_X86 -DBUILD_SSE_OPTIMIZATIONS -msse -mfpmath=sse -DUSE_XMMINTRIN" \
                PREFIX=/usr' %
               (get.makeJOBS(), get.installDIR(), get.CFLAGS(), get.LDFLAGS()))
Exemplo n.º 44
0
def build():
    scons.make('CCFLAGS="%s -std=c99"'
                % get.CFLAGS())
Exemplo n.º 45
0
def build():
    shelltools.cd("supportlib")
    scons.make()
Exemplo n.º 46
0
def build():
    scons.make("PREFIX=/usr FAKE_ROOT=%s" % get.installDIR())
Exemplo n.º 47
0
def build():
    scons.make('CC="%s" CXX="%s"' % (get.CC(), get.CXX()))
Exemplo n.º 48
0
def build():
    scons.make("prefix='/usr'")
Exemplo n.º 49
0
def build():
    scons.make('CXXFLAGS="%s " \
                LINKFLAGS="%s " \
                LINKFLAGS=-lboost_system \
                INSTALLDIR="/usr/share/glob2"' %
               (get.CXXFLAGS(), get.LDFLAGS()))
Exemplo n.º 50
0
def build():
    scons.make("USE_EXT_BOOST=1 PREFIX=/usr DESTDIR=%s" % get.installDIR())
Exemplo n.º 51
0
def build():
    scons.make()
Exemplo n.º 52
0
def build():
    scons.make("usex86sse=2 \
                datadir=%s \
                DESTDIR=%s \
                --cache-disable" % (datadir, get.installDIR()))
Exemplo n.º 53
0
def build():
    scons.make('PREFIX=/usr \
                COMPILE_FLAGS="%s %s -lpthread" \
                BUILD_TESTS=0 \
                PYTHON_INTERPRETER="/usr/bin/python3" ' % (get.CXXFLAGS(), get.LDFLAGS()))
Exemplo n.º 54
0
def build():
    scons.make('CCFLAGS="%s -std=c99"' % get.CFLAGS())
Exemplo n.º 55
0
def build():
    scons.make("usex86sse=2 \
                datadir=%s \
                DESTDIR=%s \
                --cache-disable" % (datadir, get.installDIR()))
Exemplo n.º 56
0
def build():
    scons.make()
Exemplo n.º 57
0
def setup():
    scons.make("configure prefix=/usr datadir=/usr/share/pouetchess")