Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
451
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.44 KB | None | 0 0
  1. {
  2. "app-id": "org.octave.Octave",
  3. "runtime": "org.kde.Sdk",
  4. "runtime-version": "5.9",
  5. "sdk": "org.kde.Sdk",
  6. "command": "octave",
  7. "rename-icon": "octave",
  8. "rename-desktop-file": "www.octave.org-octave.desktop",
  9. "rename-appdata-file": "www.octave.org-octave.appdata.xml",
  10. "finish-args":
  11. [
  12. "--socket=wayland",
  13. "--socket=x11",
  14. "--socket=pulseaudio",
  15. "--share=network",
  16. "--device=dri",
  17. "--filesystem=home"
  18. ],
  19. "build-options":
  20. {
  21. "cflags": "-O2",
  22. "cxxflags": "-O2"
  23. },
  24. "modules":
  25. [
  26. {
  27. "name": "gcc-fortran",
  28. "build-options":
  29. {
  30. "ldflags": "-static-libgcc"
  31. },
  32. "config-opts":
  33. [
  34. "--enable-languages=c,c++,fortran",
  35. "--disable-multilib",
  36. "--disable-bootstrap",
  37. "--with-system-zlib",
  38. "--enable-checking=release",
  39. "--disable-stage1-checking",
  40. "--disable-libsanitizer",
  41. "--disable-libssp"
  42. ],
  43. "sources":
  44. [
  45. {
  46. "type": "archive",
  47. "url": "http://mirrors.kernel.org/gnu/gcc/gcc-7.1.0/gcc-7.1.0.tar.gz",
  48. "sha256": "3c187ef42e4cf657eec0ed641aac7f7e46261bcb1cea31b72dcf2dedddbbdea5"
  49. },
  50. {
  51. "type": "shell",
  52. "commands":
  53. [
  54. "sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64"
  55. ]
  56. }
  57. ]
  58. },
  59. {
  60. "name": "openblas",
  61. "no-autogen": true,
  62. "build-options":
  63. {
  64. "ldflags": "-L/app/lib64"
  65. },
  66. "make-args":
  67. [
  68. "FC=gfortran",
  69. "DYNAMIC_ARCH=1"
  70. ],
  71. "make-install-args":
  72. [
  73. "PREFIX=/app"
  74. ],
  75. "sources":
  76. [
  77. {
  78. "type": "archive",
  79. "url": "https://github.com/xianyi/OpenBLAS/archive/v0.2.19.tar.gz",
  80. "sha256": "9c40b5e4970f27c5f6911cb0a28aa26b6c83f17418b69f8e5a116bb983ca8557"
  81. }
  82. ]
  83. },
  84. {
  85. "name": "qscintilla",
  86. "buildsystem": "simple",
  87. "sources":
  88. [
  89. {
  90. "type": "archive",
  91. "url": "https://sourceforge.net/projects/pyqt/files/QScintilla2/QScintilla-2.10/QScintilla_gpl-2.10.tar.gz",
  92. "sha256": "16be30577bc178470936c458551f2512cc068aff6e7a7de6ed244e28c045f6ec"
  93. },
  94. {
  95. "type": "script",
  96. "commands":
  97. [
  98. "cd Qt4Qt5",
  99. "qmake \"QT_INSTALL_HEADERS=/app/include\" \"QT_INSTALL_LIBS=/app/lib\""
  100. ],
  101. "dest-filename": "configure"
  102. }
  103. ],
  104. "build-commands":
  105. [
  106. "./configure --prefix=/app",
  107. "make -C Qt4Qt5 install",
  108. "ln -s /app/lib/libqscintilla2_qt5.so /app/lib/libqscintilla2-qt5.so"
  109. ]
  110. },
  111. {
  112. "name": "glu",
  113. "sources": [
  114. {
  115. "type": "archive",
  116. "url": "https://mesa.freedesktop.org/archive/glu/glu-9.0.0.tar.bz2",
  117. "sha256": "1f7ad0d379a722fcbd303aa5650c6d7d5544fde83196b42a73d1193568a4df12"
  118. }
  119. ],
  120. "cleanup": [ "/include", "/lib/*.a", "/lib/*.la", "/lib/pkgconfig" ]
  121. },
  122. {
  123. "name": "gnuplot",
  124. "sources":
  125. [
  126. {
  127. "type": "archive",
  128. "url": "https://sourceforge.net/projects/gnuplot/files/gnuplot/5.0.6/gnuplot-5.0.6.tar.gz",
  129. "sha256": "5bbe4713e555c2e103b7d4ffd45fca69551fff09cf5c3f9cb17428aaacc9b460"
  130. }
  131. ]
  132. },
  133. {
  134. "name": "fontconfig",
  135. "sources":
  136. [
  137. {
  138. "type": "archive",
  139. "url": "https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.12.1.tar.gz",
  140. "sha256": "a9f42d03949f948a3a4f762287dbc16e53a927c91a07ee64207ebd90a9e5e292"
  141. }
  142. ]
  143. },
  144. {
  145. "name": "freetype",
  146. "sources":
  147. [
  148. {
  149. "type": "archive",
  150. "url": "http://download.savannah.gnu.org/releases/freetype/freetype-2.8.tar.gz",
  151. "sha256": "33a28fabac471891d0523033e99c0005b95e5618dc8ffa7fa47f9dadcacb1c9b"
  152. }
  153. ]
  154. },
  155. {
  156. "name": "fltk",
  157. "config-opts":
  158. [
  159. "--enable-shared"
  160. ],
  161. "build-options":
  162. {
  163. "cflags": "-fPIC",
  164. "cxxflags": "-fPIC"
  165. },
  166. "sources":
  167. [
  168. {
  169. "type": "archive",
  170. "url": "http://fltk.org/pub/fltk/1.3.4/fltk-1.3.4-1-source.tar.gz",
  171. "sha256": "7fb2c8882433ce694e6900c94fda505e8f4ed3fa9c7e597007098a33b85c53f4"
  172. }
  173. ]
  174. },
  175. {
  176. "name": "cups",
  177. "config-opts":
  178. [
  179. "--disable-static",
  180. "--disable-dbus",
  181. "--without-php",
  182. "--disable-gssapi",
  183. "--disable-ssl",
  184. "--disable-cdsassl",
  185. "--disable-gnutls",
  186. "--disable-pam",
  187. "--disable-dnssd",
  188. "--disable-launchd",
  189. "--libdir=/app/lib"
  190. ],
  191. "make-args":
  192. [
  193. "libs"
  194. ],
  195. "no-make-install": true,
  196. "sources":
  197. [
  198. {
  199. "type": "archive",
  200. "url": "https://github.com/apple/cups/archive/v2.2.3.tar.gz",
  201. "sha256": "7aa7e8d581f0eb204f75203082403bfa931f8c058bffae71b210800102e5feb5"
  202. }
  203. ],
  204. "post-install":
  205. [
  206. "make install-libs", "chmod +w /app/lib/libcups*"
  207. ]
  208. },
  209. {
  210. "name": "ghostscript",
  211. "build-options":
  212. {
  213. "ldflags": "-L/app/lib"
  214. },
  215. "sources":
  216. [
  217. {
  218. "type": "archive",
  219. "url": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs921/ghostscript-9.21.tar.gz",
  220. "sha256": "02bceadbc4dddeb6f2eec9c8b1623d945d355ca11b8b4df035332b217d58ce85"
  221. }
  222. ]
  223. },
  224. {
  225. "name": "gl2ps",
  226. "buildsystem": "cmake",
  227. "sources":
  228. [
  229. {
  230. "type": "archive",
  231. "url": "http://geuz.org/gl2ps/src/gl2ps-1.4.0.tgz",
  232. "sha256": "03cb5e6dfcd87183f3b9ba3b22f04cd155096af81e52988cc37d8d8efe6cf1e2"
  233. }
  234. ]
  235. },
  236. {
  237. "name": "qhull",
  238. "buildsystem": "cmake",
  239. "sources":
  240. [
  241. {
  242. "type": "archive",
  243. "url": "http://www.qhull.org/download/qhull-2015-src-7.2.0.tgz",
  244. "sha256": "78b010925c3b577adc3d58278787d7df08f7c8fb02c3490e375eab91bb58a436"
  245. }
  246. ]
  247. },
  248. {
  249. "name": "epstool",
  250. "no-autogen": true,
  251. "make-args": ["PREFIX=/app", "\"EPSTOOL_ROOT=/app\"", "\"EPSTOOL_BASE=/app\""],
  252. "sources":
  253. [
  254. {
  255. "type": "archive",
  256. "url": "http://pkgs.fedoraproject.org/repo/pkgs/epstool/epstool-3.08.tar.gz/465a57a598dbef411f4ecbfbd7d4c8d7/epstool-3.08.tar.gz",
  257. "sha256": "f3f14b95146868ff3f93c8720d5539deef3b6531630a552165664c7ee3c2cfdd"
  258. }
  259. ]
  260. },
  261. {
  262. "name": "octave",
  263. "config-opts":
  264. [
  265. "--enable-shared",
  266. "--disable-static",
  267. "--with-blas=\"-lopenblas\"",
  268. "--with-lapack=\"-lopenblas\"",
  269. "--disable-docs"
  270. ],
  271. "make-install-args": [
  272. "prefix=/app"
  273. ],
  274. "sources":
  275. [
  276. {
  277. "type": "archive",
  278. "path": "tip.tar.bz2",
  279. "sha256": "d0a36eb9d67e7aa4014cdc4e1d93b40bec5942a4c60aaccf36919019e8abc860"
  280. },
  281. {
  282. "type": "shell",
  283. "commands": ["autoreconf -i"]
  284. }
  285. ]
  286. }
  287. ]
  288. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement