def __init__(self, version, base_url = None, platform = "linux", dest = drake.Path("imgui"), expected_headers = None): super().__init__("imgui") self.__base_url = base_url or "https://github.com/ocornut/imgui/archive" self.__version = version self.__platform = "linux" self.__tar = drake.Node(dest / "v{version}.tar.gz".format(version = self.__version)) self.__path = dest / "imgui-{version}".format(version = self.__version) self.__include_path = self.__path self.__source_path = self.__path self.__library_path = self.__path self.__cmake_lists = drake.Node(self.__path / "CMakeLists.txt") self.__makefile = drake.Node(self.__path / "Makefile") drake.HTTPDownload(url = self.url, dest = self.__tar) drake.Extractor(tarball = self.__tar, targets = map(lambda f: str(f.name_absolute())[len(str(dest)) + 1:], self.headers + self.sources)) for index, cpp in enumerate(self.sources): drake.ShellCommand( sources = [cpp], targets = [self.libraries[index]], command = [ 'g++', '-shared', '-fPIC', str(cpp.path().basename()), '-o', str(self.libraries[index].path().basename()) ], cwd = self.__path)
def __init__(self, version, base_url=None, platform="linux", dest=drake.Path("Assimp"), expected_headers=None): super().__init__("Assimp") self.__base_url = base_url or "https://github.com/assimp/assimp/archive" self.__version = version self.__platform = "linux" self.__tar = drake.Node( dest / "v{version}.tar.gz".format(version=self.__version)) self.__path = dest / "assimp-{version}".format(version=self.__version) self.__include_path = self.__path / "include" self.__library_path = self.__path / "lib" self.__cmake_lists = drake.Node(self.__path / "CMakeLists.txt") self.__makefile = drake.Node(self.__path / "Makefile") drake.HTTPDownload(url=self.url, dest=self.__tar) drake.Extractor( tarball=self.__tar, targets=[ str(self.__cmake_lists.name_absolute())[len(str(dest)) + 1:] ]).targets() drake.ShellCommand(sources=[self.__cmake_lists], targets=self.headers + [self.__makefile], command=['cmake', '.'], cwd=self.__path) drake.ShellCommand(sources=[self.__makefile], targets=self.libraries, command=['make', 'assimp'], cwd=self.__path)
def __init__(self, version, base_url=None, platform="linux", dest=drake.Path("GLFW"), expected_headers=None): super().__init__("GLFW") self.__base_url = base_url or "https://github.com/glfw/glfw/releases/download" self.__version = version self.__platform = "linux" self.__zip = drake.node(dest / "{version}.zip".format(version=self.__version)) self.__path = dest / "glfw-{version}".format(version=self.__version) self.__include_path = self.__path / "include" self.__library_path = self.__path / "src" self.__cmake_lists = drake.Node(self.__path / "CMakeLists.txt") self.__makefile = drake.Node(self.__path / "Makefile") drake.HTTPDownload(url=self.url, dest=self.__zip) drake.Extractor(tarball=self.__zip, targets=[str(self.__cmake_lists.name_absolute())[5:] ]).targets() drake.ShellCommand(sources=[self.__cmake_lists], targets=self.headers + [self.__makefile], command=['cmake', '.'], cwd=self.__path) drake.ShellCommand(sources=[self.__makefile], targets=self.libraries, command=['make', 'glfw'], cwd=self.__path)
def __init__(self, version, base_url=None, platform="linux", dest=drake.Path("vulkan"), expected_headers=None): super().__init__("Vulkan") self.__base_url = base_url or "https://sdk.lunarg.com/sdk/download" self.__version = version self.__platform = "linux" self.__run = drake.Node(dest / "install.run") self.__base_path = dest / "VulkanSDK" self.__path = self.__base_path / "{version}/x86_64".format( version=self.__version) self.__include_path = self.__path / "include" self.__library_path = self.__path / "lib" self.__binary_path = self.__path / "bin" drake.HTTPDownload(url=self.url, dest=self.__run) drake.ShellCommand( sources=[self.__run], targets=self.headers + self.libraries + self.others, command=['bash', str(self.__run), '--target', str(self.base_path)])
def __init__( self, source, target=None, replace_before={ '_blank': '_blank', }, replace_after={ '<code>--': '<code>‑‑', '"': '\"', }, ): self.__source = source self.__target = target or drake.Node( self.__source.name_relative.with_extension('html')) self.__replace_before = replace_before self.__replace_after = replace_after drake.Builder.__init__(self, [self.__source], [self.__target])
def runtime_nodes(self): res = [] res.append('bin/adl') res.append('bin/adt') res.append('lib/nai/bin/naip') res.append('lib/smali.jar') res.append('lib/adt.jar') res.append('lib/android/bin/adb') res.append('lib/baksmali.jar') # res.append('samples/badge/red_badge.html') # res.append('samples/badge/AIRBadge.as') # res.append('samples/badge/test.jpg') # res.append('samples/badge/readme.txt') # res.append('samples/badge/default_badge.html') # res.append('samples/badge/AC_RunActiveContent.js') # res.append('samples/badge/badge.fla') # res.append('samples/badge/badge.swf') # res.append('samples/icons/AIRApp_16.png') # res.append('samples/icons/AIRApp_32.png') # res.append('samples/icons/AIRApp_48.png') # res.append('samples/icons/AIRApp_128.png') # res.append('samples/descriptor-sample.xml') res.append('frameworks/libs/air/AIRLocalizer.js') res.append('frameworks/libs/air/AIRMenuBuilder.js') res.append('frameworks/libs/air/AIRAliases.js') res.append('frameworks/libs/air/AIRSourceViewer.js') res.append('frameworks/libs/air/aircore.swc') res.append('frameworks/libs/air/aircore.swf') res.append('frameworks/libs/air/applicationupdater_ui.swc') res.append('frameworks/libs/air/applicationupdater_ui.swf') res.append('frameworks/libs/air/AIRIntrospector.js') res.append('frameworks/libs/air/servicemonitor.swc') res.append('frameworks/libs/air/servicemonitor.swf') res.append('frameworks/libs/air/applicationupdater.swc') res.append('frameworks/libs/air/applicationupdater.swf') res.append('frameworks/libs/air/airglobal.abc') res.append('frameworks/libs/air/airglobal.swc') res.append( 'frameworks/projects/air/Core/src/air/net/ServiceMonitor.as') res.append('frameworks/projects/air/Core/src/air/net/URLMonitor.as') res.append('frameworks/projects/air/Core/src/air/net/SocketMonitor.as') res.append( 'frameworks/projects/air/Core/src/air/net/SecureSocketMonitor.as') res.append( 'frameworks/projects/air/Core/src/air/desktop/URLFilePromise.as') res.append('frameworks/projects/air/Core/manifest-servicemonitor.xml') res.append('frameworks/projects/air/Core/manifest.xml') res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/ui/ResourceManagerReflection.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/ui/EmbeddedUILoader.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/ui/UpdaterUI.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/net/FileDownloader.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/core/AIRUnpackager.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/core/UpdaterConfiguration.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/core/UpdaterHSM.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/core/UCFUnpackager.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/core/UpdaterState.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/ApplicationUpdaterUI.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/utils/FileUtils.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/utils/VersionUtils.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/utils/NetUtils.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/utils/Constants.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/utils/StringUtils.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/logging/Level.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/logging/Logger.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/descriptors/ApplicationDescriptor.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/descriptors/ConfigurationDescriptor.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/descriptors/StateDescriptor.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/descriptors/UpdateDescriptor.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/events/StatusFileUpdateEvent.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/events/DownloadErrorEvent.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/events/UpdateEvent.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/events/StatusUpdateErrorEvent.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/events/StatusFileUpdateErrorEvent.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/events/StatusUpdateEvent.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/ApplicationUpdater.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/states/HSMEvent.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/states/HSM.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdater/air/update/states/UpdateState.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/air/update/locale/UpdaterResourceManager.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/com/adobe/utils/LocaleRegistry.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/com/adobe/utils/LocaleId.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/com/adobe/utils/LocaleUtil.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/com/adobe/utils/LocaleParserState.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/skins/SimpleScrollArrowSkin.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/skins/SimpleScrollTrackSkin.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/skins/SimpleScrollThumbSkin.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/skins/SimpleProgressTrackSkin.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/components/ApplicationUpdaterHRule.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/components/ApplicationUpdaterImage.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/components/ApplicationUpdaterLabel.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/components/ApplicationUpdaterCanvas.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/components/TruncatedLabel.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/components/ApplicationUpdaterSpacer.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/components/ApplicationUpdaterFormItem.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/components/ApplicationUpdaterProgressBar.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/components/ApplicationUpdaterHBox.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/components/ApplicationUpdaterVBox.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/components/ApplicationUpdaterButton.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/components/ApplicationUpdaterTextArea.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/components/ApplicationUpdaterApplication.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/components/ApplicationUpdaterText.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/components/ApplicationUpdaterForm.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/components/ApplicationUpdaterLinkButton.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/components/OSButtonBarHBox.as' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/assets/Button_Default_overSkin.png' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/assets/styles4.css' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/assets/Button_Default_upSkin.png' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/assets/Button_downSkin.png' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/assets/Button_overSkin.png' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/assets/Button_upSkin.png' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/assets/UpdateIcon.png' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/assets/Button_Default_DisabledSkin.png' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/assets/Button_disabledSkin.png' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/assets/button.png' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/assets/scroll_thumb.png' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/assets/down_arrow.png' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/assets/styles.css' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/assets/Button_Default_downSkin.png' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/assets/right_arrow.png' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/ApplicationUpdaterDialogs.mxml' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/locale/de/ApplicationUpdaterDialogs.properties' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/locale/cs/ApplicationUpdaterDialogs.properties' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/locale/es/ApplicationUpdaterDialogs.properties' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/locale/fr/ApplicationUpdaterDialogs.properties' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/locale/ja/ApplicationUpdaterDialogs.properties' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/locale/it/ApplicationUpdaterDialogs.properties' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/locale/ko/ApplicationUpdaterDialogs.properties' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/locale/nl/ApplicationUpdaterDialogs.properties' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/locale/pl/ApplicationUpdaterDialogs.properties' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/locale/pt/ApplicationUpdaterDialogs.properties' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/locale/ru/ApplicationUpdaterDialogs.properties' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/locale/sv/ApplicationUpdaterDialogs.properties' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/locale/tr/ApplicationUpdaterDialogs.properties' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/locale/en_US/ApplicationUpdaterDialogs.properties' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/locale/zh_Hans/ApplicationUpdaterDialogs.properties' ) res.append( 'frameworks/projects/air/ApplicationUpdater/src/ApplicationUpdaterDialogs/locale/zh_Hant/ApplicationUpdaterDialogs.properties' ) res.append('frameworks/projects/air/ApplicationUpdater/manifest.xml') res.append('frameworks/projects/air/sample-frameworks-build.xml') res.append('runtimes/air/linux/Adobe AIR/Versions/1.0/libCore.so') res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/pl.lproj/ContentUIText.xml' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/libadobecp15.so' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/application.desktop' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/zh_Hans.lproj/ContentUIText.xml' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/cs.lproj/ContentUIText.xml' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/appinstall.spec' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/pt.lproj/ContentUIText.xml' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/application.directory' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/sv.lproj/ContentUIText.xml' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/tr.lproj/ContentUIText.xml' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/zh_Hant.lproj/ContentUIText.xml' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/libadobecertstore.so' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/installCertificate' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/appinstall/control' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/appinstall/prerm' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/appinstall/postinst' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/appinstall/copyright' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/ko.lproj/ContentUIText.xml' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/es.lproj/ContentUIText.xml' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/appentry') res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/Adobe AIR.vch' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/Thawte Root Certificate.cer' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/libaddkey.so') res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/setup.deb') res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/ru.lproj/ContentUIText.xml' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/libWebKit.so') res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/libeggtray.so' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/en.lproj/ContentUIText.xml' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/libflashplayer.so' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/Adobe Root Certificate.cer' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/curl-ca-bundle.crt' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/nl.lproj/ContentUIText.xml' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/de.lproj/ContentUIText.xml' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/ja.lproj/ContentUIText.xml' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/libcurl.so') res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/fr.lproj/ContentUIText.xml' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/rpmbuilder') res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-screensaver' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-mime' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-open' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-autostart' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-user-dir-lookup' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-su' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-icon-resource' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-desktop-icon' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-desktop-menu' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-email' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-user-dirs-update' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/libadobecp.so' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/it.lproj/ContentUIText.xml' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/libpacparser.so' ) res.append( 'runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/adobecp.vch') res.append('runtimes/air/android/device/Runtime.apk') res.append('runtimes/air/android/emulator/Runtime.apk') res.append('templates/air/Descriptor.1.5.1.xsd') res.append('templates/air/Descriptor.1.5.2.xsd') res.append('templates/air/Descriptor.1.5.3.xsd') res.append('templates/air/descriptor-template.xml') res.append('templates/air/Descriptor.1.1.xsd') res.append('templates/air/Descriptor.1.5.xsd') res.append('templates/air/Descriptor.2.0.xsd') res.append('templates/air/Descriptor.2.5.xsd') res.append('templates/air/Descriptor.2.6.xsd') return list( map(lambda p: drake.Node('%s/%s' % (self.prefix(), p)), res))
def qmake(self): if self.__qmake is None: self.__qmake = drake.Node('%s/bin/qmake' % self.__prefix) return self.__qmake
def rcc(self): if self.__rcc is None: self.__rcc = drake.Node('%s/bin/rcc' % self.__prefix) return self.__rcc
def uic(self): if self.__uic is None: self.__uic = drake.Node('%s/bin/uic' % self.__prefix) return self.__uic
def moc(self): if self.__moc is None: self.__moc = drake.Node('%s/bin/moc' % self.__prefix) return self.__moc
def configure(): tgt = drake.Node('tgt') FooBuilder(tgt)
def glslangValidator(self): return drake.Node(self.__binary_path / "glslangValidator")
def configure(): src = drake.Node('src') dst = drake.Node('dst') CopyBuilder(src, dst)
def runtime_nodes(self): res = [] res.append('bin/urbi') res.append('bin/urbi-launch') res.append('lib/gostai/engine/libuobject.so') res.append('lib/gostai/remote/libuobject.so') res.append('lib/gostai/uobjects/urbi/fusion.so') res.append('lib/gostai/uobjects/urbi/logger.so') res.append('lib/gostai/uobjects/urbi/md5.so') res.append('lib/gostai/uobjects/urbi/process.so') res.append('lib/gostai/uobjects/urbi/regexp.so') res.append('lib/gostai/uobjects/urbi/rtp.so') res.append('lib/gostai/uobjects/urbi/stream.so') res.append('lib/libjpeg4urbi.so') res.append('lib/libport.so') res.append('lib/libsched.so') res.append('lib/libserialize.so') res.append('lib/liburbi.so') res.append('lib/liburbijava.so.0.0.0') res.append('share/gostai/urbi/binary.u') res.append('share/gostai/urbi/boolean.u') res.append('share/gostai/urbi/call-message.u') res.append('share/gostai/urbi/channel.u') res.append('share/gostai/urbi/code.u') res.append('share/gostai/urbi/comparable.u') res.append('share/gostai/urbi/component.u') res.append('share/gostai/urbi/container.u') res.append('share/gostai/urbi/control.u') res.append('share/gostai/urbi/dataflow.u') res.append('share/gostai/urbi/date.u') res.append('share/gostai/urbi/dictionary.u') res.append('share/gostai/urbi/directory.u') res.append('share/gostai/urbi/duration.u') res.append('share/gostai/urbi/enumeration.u') res.append('share/gostai/urbi/event.u') res.append('share/gostai/urbi/exception.u') res.append('share/gostai/urbi/file.u') res.append('share/gostai/urbi/float.u') res.append('share/gostai/urbi/formatter.u') res.append('share/gostai/urbi/global.u') res.append('share/gostai/urbi/group.u') res.append('share/gostai/urbi/input-stream.u') res.append('share/gostai/urbi/job.u') res.append('share/gostai/urbi/kernel1.u') res.append('share/gostai/urbi/lazy.u') res.append('share/gostai/urbi/list.u') res.append('share/gostai/urbi/loadable.u') res.append('share/gostai/urbi/lobby.u') res.append('share/gostai/urbi/logger.u') res.append('share/gostai/urbi/math.u') res.append('share/gostai/urbi/mutex.u') res.append('share/gostai/urbi/naming-standard.u') res.append('share/gostai/urbi/nil.u') res.append('share/gostai/urbi/object.u') res.append('share/gostai/urbi/orderable.u') res.append('share/gostai/urbi/package-info.u') res.append('share/gostai/urbi/package-info/urbi-sdk.u') res.append('share/gostai/urbi/package-info/libport.u') res.append('share/gostai/urbi/path.u') res.append('share/gostai/urbi/pattern.u') res.append('share/gostai/urbi/platform.u') res.append('share/gostai/urbi/process.u') res.append('share/gostai/urbi/profile.u') res.append('share/gostai/urbi/pubsub.u') res.append('share/gostai/urbi/python.u') res.append('share/gostai/urbi/range-iterable.u') res.append('share/gostai/urbi/regexp.u') res.append('share/gostai/urbi/require-file.u') res.append('share/gostai/urbi/semaphore.u') res.append('share/gostai/urbi/singleton.u') res.append('share/gostai/urbi/socket.u') res.append('share/gostai/urbi/stack-frame.u') res.append('share/gostai/urbi/string.u') res.append('share/gostai/urbi/system.u') res.append('share/gostai/urbi/tag.u') res.append('share/gostai/urbi/test-suite.u') res.append('share/gostai/urbi/timeout.u') res.append('share/gostai/urbi/traceable.u') res.append('share/gostai/urbi/trajectory-generator.u') res.append('share/gostai/urbi/tuple.u') res.append('share/gostai/urbi/uobject.u') res.append('share/gostai/urbi/updatehook-stack.u') res.append('share/gostai/urbi/urbi.u') res.append('share/gostai/urbi/utags.u') res.append('share/gostai/urbi/weak-pointer.u') if self.__version >= drake.Version(2, 7, 4): res.append('lib/libboost_date_time.so.1.40.0') res.append('lib/libboost_filesystem.so.1.40.0') res.append('lib/libboost_graph.so.1.40.0') res.append('lib/libboost_math_c99f.so.1.40.0') res.append('lib/libboost_math_c99l.so.1.40.0') res.append('lib/libboost_math_c99.so.1.40.0') res.append('lib/libboost_math_tr1f.so.1.40.0') res.append('lib/libboost_math_tr1l.so.1.40.0') res.append('lib/libboost_math_tr1.so.1.40.0') res.append('lib/libboost_prg_exec_monitor.so.1.40.0') res.append('lib/libboost_program_options.so.1.40.0') res.append('lib/libboost_regex.so.1.40.0') res.append('lib/libboost_serialization.so.1.40.0') res.append('lib/libboost_signals.so.1.40.0') res.append('lib/libboost_system.so.1.40.0') res.append('lib/libboost_thread.so.1.40.0') res.append('lib/libboost_unit_test_framework.so.1.40.0') res.append('lib/libboost_wave.so.1.40.0') res.append('lib/libboost_wserialization.so.1.40.0') res.append('lib/libicudata.so.42') res.append('lib/libicui18n.so.42') res.append('lib/libicuuc.so.42') else: res.append('lib/libboost_date_time-gcc41-mt-1_38.so.1.38.0') res.append('lib/libboost_filesystem-gcc41-mt-1_38.so.1.38.0') res.append('lib/libboost_graph-gcc41-mt-1_38.so.1.38.0') res.append('lib/libboost_math_c99f-gcc41-mt-1_38.so.1.38.0') res.append('lib/libboost_math_c99l-gcc41-mt-1_38.so.1.38.0') res.append('lib/libboost_math_c99-gcc41-mt-1_38.so.1.38.0') res.append('lib/libboost_math_tr1f-gcc41-mt-1_38.so.1.38.0') res.append('lib/libboost_math_tr1l-gcc41-mt-1_38.so.1.38.0') res.append('lib/libboost_math_tr1-gcc41-mt-1_38.so.1.38.0') res.append('lib/libboost_prg_exec_monitor-gcc41-mt-1_38.so.1.38.0') res.append('lib/libboost_program_options-gcc41-mt-1_38.so.1.38.0') res.append('lib/libboost_regex-gcc41-mt-1_38.so.1.38.0') res.append('lib/libboost_serialization-gcc41-mt-1_38.so.1.38.0') res.append('lib/libboost_signals-gcc41-mt-1_38.so.1.38.0') res.append('lib/libboost_system-gcc41-mt-1_38.so.1.38.0') res.append('lib/libboost_thread-gcc41-mt-1_38.so.1.38.0') res.append( 'lib/libboost_unit_test_framework-gcc41-mt-1_38.so.1.38.0') res.append('lib/libboost_wave-gcc41-mt-1_38.so.1.38.0') res.append('lib/libboost_wserialization-gcc41-mt-1_38.so.1.38.0') return list( map(lambda p: drake.Node('%s/%s' % (self.prefix(), p)), res))