Пример #1
0
def configure(parameters = '', installPrefix = prefix, sourceDir = '..'):
    ''' parameters -DLIB_INSTALL_DIR="hede" -DSOMETHING_USEFUL=1'''

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

    cmaketools.configure("-DDATA_INSTALL_DIR:PATH=%s \
            -DINCLUDE_INSTALL_DIR:PATH=%s \
            -DCONFIG_INSTALL_DIR:PATH=%s \
            -DLIBEXEC_INSTALL_DIR:PATH=%s \
            -DLOCALE_INSTALL_DIR:PATH=%s \
            -DQML_INSTALL_DIR:PATH=%s \
            -DPLUGIN_INSTALL_DIR:PATH=%s \
            -DECM_MKSPECS_INSTALL_DIR:PATH=%s \
            -DPYTHON_EXECUTABLE:PATH=%s \
            -DSYSCONF_INSTALL_DIR:PATH=%s \
            -DHTML_INSTALL_DIR:PATH=%s \
            -DMAN_INSTALL_DIR:PATH=%s \
            -DCMAKE_SKIP_RPATH:BOOL=ON \
            -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
            -DBUILD_TESTING=OFF \
            -DCMAKE_BUILD_TYPE=Release \
            -DLIB_INSTALL_DIR:PATH=%s %s \
            -DCMAKE_INSTALL_LIBDIR=lib \
            -DCMAKE_INSTALL_PREFIX=%s" % (appsdir, includedir, configdir, libexecdir, localedir, qmldir, plugindir, moduledir, pythondir, sysconfdir, htmldir, mandir, libdir, parameters, prefix), installPrefix, sourceDir)

    shelltools.cd("..")
Пример #2
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="..")
Пример #3
0
def setup():
    cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
                          -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules \
                          -DLIB_INSTALL_DIR=lib \
                          -DSYSCONF_INSTALL_DIR=/etc \
                          -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
                          -DBUILD_TESTING=OFF")
Пример #4
0
def setup():
    cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
                          -DQT_PLUGIN_INSTALL_DIR=lib/qt5/plugins \
                          -DLOCALE_INSTALL_DIR=/usr/share/locale \
                          -DLIB_INSTALL_DIR=lib \
                          -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
                          -DBUILD_TESTING=OFF")
Пример #5
0
def setup():
    cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
                          -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules \
                          -DPLUGIN_INSTALL_DIR=/usr/lib/qt5/plugins \
                          -DLIB_INSTALL_DIR=lib \
                          -DPYTHON_EXECUTABLE=/usr/bin/python3 \
                          -DBUILD_TESTING=OFF")
Пример #6
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="..")
Пример #7
0
def setup():

    #temporary workaround for error: "'UINT64_C' was not declared in this scope"
    shelltools.export("CXXFLAGS", "%s -D__STDC_CONSTANT_MACROS" % get.CXXFLAGS())

    cmaketools.configure("-D CMAKE_BUILD_TYPE=Release \
                          -D CMAKE_INSTALL_PREFIX=/usr \
                          -D CMAKE_SKIP_RPATH=ON \
                           DESTDIR=%s  \
                          -DBUILD_EXAMPLES=1 \
                          -DBUILD_SWIG_PYTHON_SUPPORT=1 \
                          -DINSTALL_C_EXAMPLES=1 \
                          -DINSTALL_PYTHON_EXAMPLES=1 \
                          -DINSTALL_OCTAVE_EXAMPLES=1 \
                          -DWITH_FFMPEG=0 \
                          -DWITH_UNICAP=0 \
                          -DENABLE_OPENMP=0 \
                          -DNEW_PYTHIN_SUPPORT=1 \
                          -DOCTAVE_SUPPORT=0 \
                          -DUSE_MMX=1 \
                          -DUSE_SSE2=1 \
                          -DUSE_SSE3=0 \
                          -DUSE_SSE=1 \
                          -DWITH_1394=1 \
                          -DWITH_GSTREAMER=1 \
                          -DWITH_GTK=1 \
                          -DWITH_JASPER=1 \
                          -DWITH_JPEG=1 \
                          -DWITH_PNG=1 \
                          -DWITH_TIFF=1 \
                          -DWITH_V4L=1 \
                          -DWITH_XINE=1 \
                          -DCMAKE_SKIP_RPATH=1" % get.installDIR())
Пример #8
0
def setup():
    cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
			  -DCMAKE_INSTALL_PREFIX=/usr \
			  -DSD_BINDIR=/usr/bin \
			  -DSD_DATADIR=/usr/share/speed-dreams-2 \
			  -DSD_LIBDIR=/usr/lib/speed-dreams-2 \
			  -DOPTION_OFFICIAL_ONLY=ON")
Пример #9
0
def setup():
    pisitools.dosed("dist/clementine.desktop", "Icon=application-x-clementine", "Icon=clementine")
    for i in ["libprojectm", "qxt", "qtiocompressor", "libechonest"]:
        shelltools.unlinkDir("3rdparty/%s" % (i))

    # QTSINGLEAPPLICATION is builtin since we need to patch Qt just for this package and Gökçen has given OK
    # for using built-in qtsingleapplication.
    cmaketools.configure("-DUSE_SYSTEM_QXT=ON \
                          -Werror=OFF \
                          -DENABLE_LIBLASTFM=ON \
                          -DUSE_SYSTEM_QTSINGLEAPPLICATION=OFF \
                          -DENABLE_SPOTIFY=OFF\
                          -DENABLE_SPOTIFY_BLOB=OFF\
                          -DUSE_SYSTEM_GMOCK=ON \
                          -DSTATIC_SQLITE=OFF \
                          -DUSE_SYSTEM_PROJECTM=ON \
                          -DENABLE_WIIMOTEDEV=ON \
                          -DENABLE_LIBGPOD=ON \
                          -DENABLE_IMOBILEDEVICE=ON \
                          -DENABLE_LIBMTP=ON \
                          -DENABLE_GIO=ON \
                          -DENABLE_VISUALISATIONS=ON \
                          -DENABLE_SCRIPTING_PYTHON=ON \
                          -DENABLE_SCRIPTING_ARCHIVES=ON \
                          -DENABLE_REMOTE=OFF \
                          -DBUNDLE_PROJECTM_PRESETS=OFF", sourceDir=".")
Пример #10
0
def setup():
    cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
                          -DCMAKE_BUILD_TYPE=Release \
                          -DLIB_INSTALL_DIR=lib \
                          -DLIBEXEC_INSTALL_DIR=lib \
                          -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
                          -DBUILD_TESTING=OFF")
Пример #11
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="..")
Пример #12
0
def setup():
    cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DSYSCONFDIR=/etc/mysql \
    -DMYSQL_DATADIR=/var/lib/mysql \
    -DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock \
    -DDEFAULT_CHARSET=utf8 \
    -DDEFAULT_COLLATION=utf8_general_ci \
    -DENABLED_LOCAL_INFILE=ON \
    -DINSTALL_INFODIR=share/mysql/docs \
    -DINSTALL_MANDIR=share/man \
    -DINSTALL_PLUGINDIR=lib/mysql/plugin \
    -DINSTALL_SCRIPTDIR=bin \
    -DINSTALL_INCLUDEDIR=include/mysql \
    -DINSTALL_DOCREADMEDIR=share/mysql \
    -DINSTALL_SUPPORTFILESDIR=share/mysql \
    -DINSTALL_MYSQLSHAREDIR=share/mysql \
    -DINSTALL_DOCDIR=share/mysql/docs \
    -DINSTALL_SHAREDIR=share/mysql \
    -DWITH_READLINE=ON \
    -DWITH_ZLIB=system \
    -DWITH_SSL=system \
    -DWITH_LIBWRAP=OFF \
    -DWITH_EXTRA_CHARSETS=complex \
    -DWITH_EMBEDDED_SERVER=ON \
    -DWITH_ARCHIVE_STORAGE_ENGINE=1 \
    -DWITH_BLACKHOLE_STORAGE_ENGINE=1 \
    -DWITH_INNOBASE_STORAGE_ENGINE=1 \
    -DWITH_PARTITION_STORAGE_ENGINE=1 \
    -DWITH_TOKUDB_STORAGE_ENGINE=1 \
    -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 \
    -DWITHOUT_FEDERATED_STORAGE_ENGINE=1 \
    -DWITHOUT_PBXT_STORAGE_ENGINE=1")
Пример #13
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="..")
Пример #14
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="..")
Пример #15
0
def setup():
    pisitools.dosed("cr3qt/CMakeLists.txt", "share/cr3", "share/coolreader")
    cmaketools.configure("-DGUI=QT \
                          -DCMAKE_BUILD_TYPE=Release \
                          -DMAX_IMAGE_SCALE_MUL=2 \
                          -DDOC_DATA_COMPRESSION_LEVEL=3 \
                          -DDOC_BUFFER_SIZE=0x1400000", installPrefix="/usr")
Пример #16
0
def setup():
    for i in ["libprojectm", "qxt", "qtiocompressor", "libechonest"]:
        shelltools.unlinkDir("3rdparty/%s" % (i))

    # Upstream supports only gstreamer engine, other engines are unstable and lacking features.
    # QTSINGLEAPPLICATION is builtin since we need to patch Qt just for this package and  Gökçen has given OK
    # for using builtin qtsingleapplication.
    cmaketools.configure("-DHAVE_LIBNOTIFY=ON \
                          -DENGINE_GSTREAMER_ENABLED=ON \
                          -DENGINE_QT_PHONON_ENABLED=OFF \
                          -DENGINE_LIBVLC_ENABLED=OFF \
                          -DENGINE_LIBXINE_ENABLED=OFF \
                          -DUSE_SYSTEM_QXT=ON \
                          -DUSE_SYSTEM_QTSINGLEAPPLICATION=OFF \
                          -DUSE_SYSTEM_GMOCK=OFF \
                          -DSTATIC_SQLITE=OFF \
                          -DUSE_SYSTEM_PROJECTM=ON \
                          -DENABLE_WIIMOTEDEV=ON \
                          -DENABLE_LIBGPOD=ON \
                          -DENABLE_IMOBILEDEVICE=ON \
                          -DENABLE_LIBMTP=ON \
                          -DENABLE_GIO=ON \
                          -DENABLE_VISUALISATIONS=ON \
                          -DENABLE_SCRIPTING_PYTHON=OFF \
                          -DENABLE_SCRIPTING_ARCHIVES=OFF \
                          -DENABLE_REMOTE=OFF \
                          -DBUNDLE_PROJECTM_PRESETS=ON", sourceDir=".")
Пример #17
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="..")
Пример #18
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="..")
Пример #19
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("..")
Пример #20
0
def setup():
    cmaketools.configure("-DCMAKE_SKIP_BUILD_RPATH=1 \
                          -DLIB_INSTALL_DIR=/usr/lib \
                          -DCMAKE_BUILD_TYPE=Release \
                          -DCMAKE_CACHEFILE_DIR=%s/build \
                          -DINCLUDE_INSTALL_DIR=/usr/include \
                          -DVERSION=%s" % (get.curDIR(), get.srcVERSION()))
Пример #21
0
def setup():
    cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
                          -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules \
                          -DQT_PLUGIN_INSTALL_DIR=lib/qt5/plugins \
                          -DSYSCONF_INSTALL_DIR=/etc \
                          -DLIB_INSTALL_DIR=lib \
                          -DBUILD_TESTING=OFF")
Пример #22
0
def setup():
    shelltools.cd('midori-%s' %(get.srcVERSION()) )
    autotools.rawConfigure("--prefix=/usr --enable-gtk3")
    cmaketools.configure("-DUSE_GTK2=OFF -DUSE_GTK3=1 -DCMAKE_SKIP_RPATH=ON -DCMAKE_SKIP_INSTALL_RPATH=ON")
    
    pisitools.dosed("CMakeCache.txt", "lib64", "lib")
    pisitools.dosed(".", "lib64", "lib", filePattern="cmake_install.cmake")
Пример #23
0
def setup():
    cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
                          -DCMAKE_SKIP_RPATH=ON \
                          -DPERL_VENDORINSTALL=yes \
                          -DCMAKE_BUILD_TYPE=Release \
                          -DWITH_WEBKIT=ON \
                          -DWITH_MOZJS=ON")
Пример #24
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="..")
Пример #25
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 ")    
Пример #26
0
def setup():
    pisitools.dosed("CMakeLists.txt", "/lib", "/usr/lib")
    cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
                          -DCMAKE_BUILD_TYPE=Release \
                          -DCMAKE_SKIP_RPATH=ON \
                          -DUSE_PAM=yes \
                          -DUSE_CONSOLEKIT=yes")
Пример #27
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="..")
Пример #28
0
def setup():
    cmaketools.configure('-DCMAKE_BUILD_TYPE=Release \
                          -DCMAKE_INSTALL_PREFIX=/usr \
                          -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \
                          -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake \
                          -DCMAKE_INSTALL_LIBDIR=lib \
                          -DCMAKE_SKIP_RPATH:BOOL=YES %s' % params)
Пример #29
0
def setup():
    cmaketools.configure("-DBUILD_SHARED_LIBS=ON \
                          -DVTK_DIR=/usr/lib/vtk-5.6 \
                          -DVTK_USE_SYSTEM_EXPAT=ON \
                          -DVTK_USE_SYSTEM_FREETYPE=ON \
                          -DVTK_USE_SYSTEM_JPEG=ON \
                          -DVTK_USE_SYSTEM_LIBXML2=ON \
                          -DVTK_USE_SYSTEM_PNG=ON \
                          -DVTK_USE_SYSTEM_TIFF=ON \
                          -DVTK_USE_SYSTEM_ZLIB=ON \
                          -DVTK_USE_HYBRID=ON \
                          -DVTK_USE_GL2PS=ON \
                          -DVTK_USE_RENDERING=ON \
                          -DVTK_USE_BOOST=ON \
                          -DVTK_USE_QT=ON \
                          -DVTK_WRAP_TCL=ON \
                          -DVTK_USE_OGGTHEORA_ENCODER=ON \
                          -DVTK_USE_FFMPEG_ENCODER=ON \
                          -DVTK_USE_GNU_R=ON \
                          -DR_LIBRARY_BLAS=/usr/lib \
                          -DR_LIBRARY_LAPACK=/usr/lib \
                          -DBUILD_TESTING=OFF \
                          -DVTK_WRAP_PYTHON=ON \
                          -DPYTHON_INCLUDE_PATH=/usr/include/python2.6 \
                          -DVTK_USE_GUISUPPORT=ON \
                          -DVTK_USE_QVTK=ON \
                          -DQT_WRAP_CPP=ON \
                          -DQT_WRAP_UI=ON \
                          -DVTK_INSTALL_QT_DIR=/qt/4/plugins \
                          -DVTK_DATA_ROOT=/usr/share/%s/data" % get.srcTAG())
def setup():
    cmaketools.configure("-DCMAKE_BUILD_TYPE=Debug \
                          -DCMAKE_INSTALL_PREFIX=/usr \
                          -DWITH_PARTITIONMANAGER=1 \
                          -DCMAKE_INSTALL_LIBDIR=lib \
                          -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
                          ")
Пример #31
0
def setup():
    #shelltools.system("sed -i 's|Exec=clementine %U|Exec=clementine|g' dist/clementine.desktop")
    cmaketools.configure(j)
Пример #32
0
def setup():
    cmaketools.configure("-B_build -DCMAKE_BUILD_TYPE=Release -L")
Пример #33
0
def setup():
    cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr/kde/4", sourceDir=".")
Пример #34
0
def setup():
    cmaketools.configure()
Пример #35
0
def setup():
    cmaketools.configure("-DBUILD_ROOT=%s" % get.installDIR())
Пример #36
0
def setup():
    cmaketools.configure(
        '-DCMAKE_CXX_FLAGS=" -fpermissive" -DCMAKE_INSTALL_PREFIX="/usr" -DDATA_INSTALL_DIR:PATH="share/vbam/gtk" -DENABLE_LINK=OFF'
    )
Пример #37
0
def setup():
    shelltools.makedirs("build")
    shelltools.cd("build")
    cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
                          -DCMAKE_INSTALL_PREFIX=/usr \
                          -DCMAKE_INSTALL_LIBDIR=lib", sourceDir="..")
Пример #38
0
def setup():
    shelltools.makedirs("build")
    shelltools.cd("build")

    cmaketools.configure("-DCMAKE_SKIP_RPATH=TRUE", sourceDir="..")
Пример #39
0
def setup():
    cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
                          -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules \
                          -DLIB_INSTALL_DIR=lib \
                          -DSYSCONF_INSTALL_DIR=/etc \
                          -DBUILD_TESTING=OFF")
Пример #40
0
def setup():
    cmaketools.configure(installPrefix="/usr/kde/4", sourceDir=".")
Пример #41
0
def build():
    cmaketools.configure(
        "-DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_LIBDIR=lib -DGLFW_USE_OSMESA=ON"
    )
Пример #42
0
def setup():
    cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr")
Пример #43
0
def setup():
    cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_SKIP_RPATH=ON \
		-DCMAKE_INSTALL_PREFIX=/usr")
Пример #44
0
def setup():
    #fix install path for sdk
    #pisitools.dosed("cmake/FindKadu.cmake", "(\s+set\s\(KADU_SDK_DIR\s\$\{CMAKE_INSTALL_PREFIX\}\/)(sdk\))", r"\1share/kadu/\2")
    #kadu using lib64 as default if 64 bits linux and not debian
    cmaketools.configure("-DCMAKE_INSTALL_LIBDIR=/usr/lib")
Пример #45
0
def setup():
    shelltools.makedirs("build")
    shelltools.cd("build")
    cmaketools.configure(sourceDir="../src")
Пример #46
0
def setup():
    cmaketools.configure("-DCMAKE_VERBOSE_MAKEFILE=TRUE \
                          -DNO_NET=1")
Пример #47
0
def setup():
    cmaketools.configure("-DCMAKE_SKIP_RPATH=ON")
Пример #48
0
def setup():
    cmaketools.configure("-DBUILD_STATIC=OFF")
Пример #49
0
def setup():
    cmaketools.configure(installPrefix="/usr/kde/4")
Пример #50
0
def setup():
    cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
                          -DQT_PLUGIN_INSTALL_DIR=lib/qt5/plugins \
                          -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules \
                          -DLOCALE_INSTALL_DIR=/usr/share/locale \
                          -DBUILD_TESTING=OFF")
Пример #51
0
def setup():
    cmaketools.configure("-DWITH_SYSTEM_TAGLIB=ON")
Пример #52
0
def setup():
    cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
                          -DLIB_INSTALL_DIR=lib \
                          -DBUILD_TESTING=OFF")
Пример #53
0
def setup():
    #pisitools.dosed("configure.in", "AM_CONFIG_HEADER", "AC_CONFIG_HEADERS")
    #pisitools.system("./autogen.sh")
    cmaketools.configure()
Пример #54
0
def setup():
    cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
                          -DCMAKE_INSTALL_LIBDIR=lib \
                          -DQTGSTREAMER_EXAMPLES=OFF")
Пример #55
0
def setup():
    cmaketools.configure(sourceDir=".")
Пример #56
0
def setup():
    shelltools.makedirs("build")
    shelltools.cd("build")

    cmaketools.configure(installPrefix="/usr/kde/4", sourceDir="..")
Пример #57
0
def setup():
    cmaketools.configure("-DLIB_POSTFIX=''")
Пример #58
0
def setup():
    cmaketools.configure(installPrefix="%s" % (get.kdeDIR()))
Пример #59
0
def setup():
    cmaketools.configure("--prefix=/usr -DOPENGL_INCLUDE_DIR=/usr/include/GL")
Пример #60
0
def setup():
    cmaketools.configure("-DCMAKE_BUILD_TYPE=release", installPrefix="/usr")