Gtkorvo updates (#8663)
* gtkorvo-atl: Updated to version 2.2 * gtkorvo-dill: Updated to version 2.4 * gtkorvo-enet: Updated to version 1.3.14 * libevpath: Updated to version 4.4.0 * libffs: Updated to version 1.5 * gtkorvo-atl: Bugfix: Fixed cmake args * gtkorvo-enet: Switched order of versions to have the latest version on the top * gtkorvo-atl: Cleaned up cmake_args. Added conditional self.run_tests * gtkorvo-dill: Cleaned up cmake_args. Added conditional self.run_tests * libffs: Correction in dependency versions. Cleaned up cmake_args. Added conditional self.run_tests * libevpath: Correction in dependency versions. Cleaned up cmake_args. Added conditional self.run_tests * gtkorvo-atl: Removed unused option from cmake args
This commit is contained in:

committed by
Adam J. Stewart

parent
90042749e8
commit
3c4ef576d9
@@ -37,13 +37,28 @@ class Libevpath(CMakePackage):
|
||||
|
||||
version('develop', git='https://github.com/GTkorvo/evpath.git',
|
||||
branch='master')
|
||||
version('4.4.0', 'd8630eb358ec90ae2d188e0e6c74022a')
|
||||
version('4.2.4', '757ce010a6b7564dc62d3c79edd861d5')
|
||||
version('4.2.1', 'f928dc0dee41668afc91634c7051ce1a')
|
||||
version('4.1.2', '1a187f55431c991ae7040e3ff041d75c')
|
||||
version('4.1.1', '65a8db820f396ff2926e3d31908d123d')
|
||||
|
||||
variant('enet_transport', default=False, description='Build an ENET transport for EVpath')
|
||||
|
||||
depends_on('gtkorvo-enet', when='@4.4.0: +enet_transport')
|
||||
depends_on('gtkorvo-enet@1.3.13', when='@:4.2.4 +enet_transport')
|
||||
depends_on('libffs')
|
||||
|
||||
def cmake_args(self):
|
||||
args = ["-DENABLE_TESTING=0", "-DTARGET_CNL=1",
|
||||
"-DBUILD_SHARED_STATIC=STATIC"]
|
||||
args = ["-DTARGET_CNL=1"]
|
||||
if self.spec.satisfies('@4.4.0:'):
|
||||
args.append("-DBUILD_SHARED_LIBS=OFF")
|
||||
else:
|
||||
args.append("-DENABLE_BUILD_STATIC=STATIC")
|
||||
|
||||
if self.run_tests:
|
||||
args.append('-DENABLE_TESTING=1')
|
||||
else:
|
||||
args.append('-DENABLE_TESTING=0')
|
||||
|
||||
return args
|
||||
|
Reference in New Issue
Block a user