Пример #1
0
def main(platform, linkMode):
    configuration = getConfiguration(linkMode)
    components = configuration.iterDesiredComponents()

    # Compute the set of all directly and indirectly required libraries,
    # then filter out system libraries.
    thirdPartyLibs = set(
        makeName
        for makeName in allDependencies(requiredLibrariesFor(components))
        if not librariesByName[makeName].isSystemLibrary(platform))

    print ' '.join(sorted(thirdPartyLibs))
Пример #2
0
def main(platform, tarballsDir, sourcesDir, patchesDir):
    configuration = getConfiguration('3RD_STA')
    components = configuration.iterDesiredComponents()

    # Compute the set of all directly and indirectly required libraries,
    # then filter out system libraries.
    thirdPartyLibs = set(
        makeName
        for makeName in allDependencies(requiredLibrariesFor(components))
        if not librariesByName[makeName].isSystemLibrary(platform))

    for makeName in sorted(thirdPartyLibs):
        fetchPackageSource(makeName, tarballsDir, sourcesDir, patchesDir)
Пример #3
0
def main(platform, linkMode):
	configuration = getConfiguration(linkMode)
	components = configuration.iterDesiredComponents()

	# Compute the set of all directly and indirectly required libraries,
	# then filter out system libraries.
	thirdPartyLibs = set(
		makeName
		for makeName in allDependencies(requiredLibrariesFor(components))
		if not librariesByName[makeName].isSystemLibrary(platform)
		)

	print ' '.join(sorted(thirdPartyLibs))
Пример #4
0
def main(platform, tarballsDir, sourcesDir, patchesDir):
    if platform == "android":
        fetchPackageSource("TCL_ANDROID", tarballsDir, sourcesDir, patchesDir)
    else:
        configuration = getConfiguration("3RD_STA")
        components = configuration.iterDesiredComponents()

        # Compute the set of all directly and indirectly required libraries,
        # then filter out system libraries.
        thirdPartyLibs = set(
            makeName
            for makeName in allDependencies(requiredLibrariesFor(components))
            if not librariesByName[makeName].isSystemLibrary(platform)
        )

    for makeName in sorted(thirdPartyLibs):
        fetchPackageSource(makeName, tarballsDir, sourcesDir, patchesDir)
Пример #5
0
def main(platform, linkMode):
    configuration = getConfiguration(linkMode)
    components = configuration.iterDesiredComponents()

    # Compute the set of all directly and indirectly required libraries,
    # then filter out system libraries.
    thirdPartyLibs = set(
        makeName
        for makeName in allDependencies(requiredLibrariesFor(components))
        if not librariesByName[makeName].isSystemLibrary(platform))

    # ALSA exists on Linux only.
    # While Android has the necessary kernel interfaces, the lib doesn't
    # support Android.
    if platform != 'linux':
        thirdPartyLibs.discard('ALSA')

    print(' '.join(sorted(thirdPartyLibs)))
Пример #6
0
def main(platform, tarballsDir, sourcesDir, patchesDir):
    configuration = getConfiguration('3RD_STA')
    components = configuration.iterDesiredComponents()

    # Compute the set of all directly and indirectly required libraries,
    # then filter out system libraries.
    thirdPartyLibs = set(
        makeName
        for makeName in allDependencies(requiredLibrariesFor(components))
        if not librariesByName[makeName].isSystemLibrary(platform))

    if platform == 'windows':
        # Avoid ALSA, since we won't be building it and extracting it will
        # fail on file systems that don't support symlinks.
        # TODO: 3rdparty.mk filters out ALSA on non-Linux platforms;
        #       figure out a way to do that in a single location.
        thirdPartyLibs.discard('ALSA')

    for makeName in sorted(thirdPartyLibs):
        fetchPackageSource(makeName, tarballsDir, sourcesDir, patchesDir)
Пример #7
0
def main(platform, tarballsDir, sourcesDir, patchesDir):
	if platform == 'android':
		fetchPackageSource('TCL_ANDROID', tarballsDir, sourcesDir, patchesDir)
	else:
		configuration = getConfiguration('3RD_STA')
		components = configuration.iterDesiredComponents()

		# Compute the set of all directly and indirectly required libraries,
		# then filter out system libraries.
		thirdPartyLibs = set(
			makeName
			for makeName in allDependencies(requiredLibrariesFor(components))
			if not librariesByName[makeName].isSystemLibrary(platform)
			)

		if platform == 'windows':
			# Avoid ALSA, since we won't be building it and extracting it will
			# fail on file systems that don't support symlinks.
			# TODO: 3rdparty.mk filters out ALSA on non-Linux platforms;
			#       figure out a way to do that in a single location.
			thirdPartyLibs.discard('ALSA')

	for makeName in sorted(thirdPartyLibs):
		fetchPackageSource(makeName, tarballsDir, sourcesDir, patchesDir)