Пример #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))
Пример #2
0
def build():
    scons.make(
        'CXXFLAGS="%s" \
                LINKFLAGS="%s" \
                INSTALLDIR="/usr/share/glob2"'
        % (get.CXXFLAGS(), get.LDFLAGS())
    )
Пример #3
0
def build():
    autotools.make()

    # Build silvertree map editor
    scons.make("QTDIR=/usr/qt/4 \
                Build=release \
                editor")
Пример #4
0
def build():
    scons.make('release=1 \
                destdir="%s" \
                prefix=/usr \
                datadir=share/vdrift \
                bindir=bin \
                localedir=share/locale' % get.installDIR())
Пример #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))
Пример #6
0
def build():
    autotools.make()

    # Build silvertree map editor
    scons.make("QTDIR=/usr/qt/4 \
                Build=release \
                editor")
Пример #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))
Пример #8
0
def build():
    scons.make('PREFIX="/usr" \
                CC="%(CC)s" \
                CXX="%(CXX)s" \
                CCFLAGS="%(CCFLAGS)s" \
                CPPFLAGS="%(CPPFLAGS)s" \
                LINKFLAGS="%(LINKFLAGS)s"' % flags)
Пример #9
0
def build():
    scons.make(
        'CXX="%s" \
                 CXXFLAGS="%s" \
                 LDFLAGS="%s" '
        % (get.CXX(), get.CXXFLAGS(), get.LDFLAGS())
    )
Пример #10
0
def build():
    scons.make('PREFIX="/usr" \
                CC="%(CC)s" \
                CXX="%(CXX)s" \
                CCFLAGS="%(CCFLAGS)s" \
                CPPFLAGS="%(CPPFLAGS)s" \
                LINKFLAGS="%(LINKFLAGS)s"' % flags)
Пример #11
0
def build():
    scons.make('release=1 \
                destdir="%s" \
                prefix=/usr \
                datadir=share/vdrift \
                bindir=bin \
                localedir=share/locale' % get.installDIR())
Пример #12
0
def build():
    scons.make('CC="%s" \
                CCFLAGS="%s" \
                LINK="%s" \
                LINKFLAGS="%s" \
                shared=1 '
                % (get.CC(), get.CFLAGS(), get.CC(), get.LDFLAGS()))
Пример #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()))
Пример #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()))
Пример #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()
Пример #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()))
Пример #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')
Пример #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())
Пример #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")
Пример #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()))
Пример #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())
Пример #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()
Пример #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')
Пример #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")
Пример #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())
Пример #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")
Пример #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())
Пример #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()))
Пример #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())
Пример #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())
Пример #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()))
Пример #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")
Пример #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")
Пример #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())
Пример #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")
Пример #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())
Пример #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())
Пример #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())
Пример #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()))
Пример #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()))
Пример #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")
Пример #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()))
Пример #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()))
Пример #44
0
def build():
    scons.make('CCFLAGS="%s -std=c99"'
                % get.CFLAGS())
Пример #45
0
def build():
    shelltools.cd("supportlib")
    scons.make()
Пример #46
0
def build():
    scons.make("PREFIX=/usr FAKE_ROOT=%s" % get.installDIR())
Пример #47
0
def build():
    scons.make('CC="%s" CXX="%s"' % (get.CC(), get.CXX()))
Пример #48
0
def build():
    scons.make("prefix='/usr'")
Пример #49
0
def build():
    scons.make('CXXFLAGS="%s " \
                LINKFLAGS="%s " \
                LINKFLAGS=-lboost_system \
                INSTALLDIR="/usr/share/glob2"' %
               (get.CXXFLAGS(), get.LDFLAGS()))
Пример #50
0
def build():
    scons.make("USE_EXT_BOOST=1 PREFIX=/usr DESTDIR=%s" % get.installDIR())
Пример #51
0
def build():
    scons.make()
Пример #52
0
def build():
    scons.make("usex86sse=2 \
                datadir=%s \
                DESTDIR=%s \
                --cache-disable" % (datadir, get.installDIR()))
Пример #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()))
Пример #54
0
def build():
    scons.make('CCFLAGS="%s -std=c99"' % get.CFLAGS())
Пример #55
0
def build():
    scons.make("usex86sse=2 \
                datadir=%s \
                DESTDIR=%s \
                --cache-disable" % (datadir, get.installDIR()))
Пример #56
0
def build():
    scons.make()
Пример #57
0
def setup():
    scons.make("configure prefix=/usr datadir=/usr/share/pouetchess")