diff --git a/meshing/packages/corbautil/package.py b/meshing/packages/corbautil/package.py new file mode 100755 index 0000000..308e649 --- /dev/null +++ b/meshing/packages/corbautil/package.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +############################################################################## +# Project CorbaUtil +# +# REPLACE_NAME_SERVICE_LABO, 2020 +############################################################################## + +from spack import * + + +class Corbautil(CMakePackage): + """Bibliotheque d'utilitaires CORBA""" + + homepage = '' + url = 'corbautil-6.2.1.tar.gz' + git = '' + maintainers = ['meshing_team'] + + depends_on('guitoolkitsvariables', type=('build')) + depends_on('tkutil@6: +shared', type=('build', 'link'), when='+shared') + depends_on('tkutil@6: ~shared', type=('build', 'link'), when='~shared') + depends_on('omniorb-anl@3.99:', type=('build', 'link', 'run')) + version('6.2.1', sha256='41aaf5a3c582ec0fe3467aaf95eb24b72b1336ce31718153877a3bb34c775cc2') + + variant('shared', default=True, description='Creation de bibliotheques dynamiques') + + def cmake_args(self): + args = [] + args = [self.define_from_variant('BUILD_SHARED_LIBS', 'shared')] + + return args diff --git a/meshing/packages/qtpython/package.py b/meshing/packages/qtpython/package.py index b3e69e0..341476d 100644 --- a/meshing/packages/qtpython/package.py +++ b/meshing/packages/qtpython/package.py @@ -32,6 +32,7 @@ class Qtpython(CMakePackage): variant('shared', default=True, description='Creation de bibliotheques dynamiques (defaut:shared, annuler le defaut par ~shared)') + version('6.4.1', sha256='6401ff25e6942e9d8de7195dc9fe50b89734f6317d654afc85655d6f4834957f') version('6.4.0', sha256='0ec68d7699450ef924cd1ab4c333cd1045451aa698a09184af56cc2f3db89c04') version('6.3.3', sha256='060eb5832f39e1bd4c78e1abab7fad7dbcff2b098c9ac0764b6015bf46209d5b') version('6.3.2', sha256='9abf42ee139fa392179e4b969b7bcf70cde9436ac7b02f3fb07e4e0077b17624') diff --git a/meshing/packages/qtutil/package.py b/meshing/packages/qtutil/package.py index d87d9f1..445844a 100755 --- a/meshing/packages/qtutil/package.py +++ b/meshing/packages/qtutil/package.py @@ -32,14 +32,14 @@ class Qtutil(CMakePackage): version('5.0.2', sha256='9ca1d5fd687d90398ca45ca3e1a07f9d7c0b591943d231e8c088e026cb4d7cc2') version('5.0.0', sha256='c15f4c25a3db68ed90dc7ded6b53085a3f66181972936cdc247818b17f94dc21') - variant('shared', default=True, description='Creation de bibliotheques dynamiques') + variant('shared', default=True, description='Création de bibliothèques dynamiques') # to avoid QtWebEngine or QtWebkit variant('qtbrowser', default=True, description='Use Qt base browser') def cmake_args(self): args = [] - args.append(self.define_from_variant('BUILD_SHARED_LIBS', 'shared')) - args.append(self.define_from_variant('USE_QT_TEXT_BROWSER', 'qtbrowser')) + args += [self.define_from_variant('BUILD_SHARED_LIBS', 'shared')] + args += [self.define_from_variant('USE_QT_TEXT_BROWSER', 'qtbrowser')] return args