summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAlfredo Gimenez <gimenez1@llnl.gov>2015-02-09 00:01:07 -0800
committerAlfredo Gimenez <gimenez1@llnl.gov>2015-02-09 00:01:07 -0800
commit27617670f013bd1dbde24079bd7ae38331530695 (patch)
treeb78b79018a8966a119488264032ec868f7014841 /var
parent9e878075aceace1439e85b1d75770a7a6f248566 (diff)
downloadspack-27617670f013bd1dbde24079bd7ae38331530695.tar.gz
spack-27617670f013bd1dbde24079bd7ae38331530695.tar.bz2
spack-27617670f013bd1dbde24079bd7ae38331530695.tar.xz
spack-27617670f013bd1dbde24079bd7ae38331530695.zip
qt with hardware accelerated opengl working
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/icu4c/package.py17
-rw-r--r--var/spack/packages/qt/package.py20
-rw-r--r--var/spack/packages/ruby/package.py16
3 files changed, 51 insertions, 2 deletions
diff --git a/var/spack/packages/icu4c/package.py b/var/spack/packages/icu4c/package.py
new file mode 100644
index 0000000000..55b44463b2
--- /dev/null
+++ b/var/spack/packages/icu4c/package.py
@@ -0,0 +1,17 @@
+from spack import *
+
+class Icu4c(Package):
+ """ICU is a mature, widely used set of C/C++ and Java libraries
+ providing Unicode and Globalization support for software applications."""
+
+ homepage = "http://site.icu-project.org/"
+ url = "http://downloads.sourceforge.net/project/icu/ICU4C/54.1/icu4c-54_1-src.tgz"
+
+ version('54_1', 'e844caed8f2ca24c088505b0d6271bc0')
+
+ def install(self, spec, prefix):
+ cd("source")
+ configure("--prefix=%s" % prefix)
+
+ make()
+ make("install")
diff --git a/var/spack/packages/qt/package.py b/var/spack/packages/qt/package.py
index 96e484b995..c8b19d07f5 100644
--- a/var/spack/packages/qt/package.py
+++ b/var/spack/packages/qt/package.py
@@ -1,4 +1,5 @@
from spack import *
+import os
class Qt(Package):
"""Qt is a comprehensive cross-platform C++ application framework."""
@@ -29,7 +30,16 @@ class Qt(Package):
depends_on("libmng")
depends_on("jpeg")
- depends_on("gperf") # Needed to build Qt with webkit.
+ # Webkit
+ # depends_on("gperf")
+ # depends_on("flex")
+ # depends_on("bison")
+ # depends_on("ruby")
+ # depends_on("icu4c")
+
+ # OpenGL hardware acceleration
+ depends_on("mesa")
+ depends_on("libxcb")
def patch(self):
if self.spec.satisfies('@4'):
@@ -46,13 +56,19 @@ class Qt(Package):
def install(self, spec, prefix):
+ # Apparently this is the only way to
+ # "truly" get rid of webkit compiles now...
+ os.rename("qtwebkit","no-qtwebkit")
+ os.rename("qtwebkit-examples","no-qtwebkit-examples")
configure('-v',
'-confirm-license',
'-opensource',
'-prefix', prefix,
'-openssl-linked',
'-dbus-linked',
- '-fast',
+ #'-fast',
+ '-opengl',
+ '-qt-xcb',
'-optimized-qmake',
'-no-pch',
# phonon required for py-pyqt4
diff --git a/var/spack/packages/ruby/package.py b/var/spack/packages/ruby/package.py
new file mode 100644
index 0000000000..718fd0a3be
--- /dev/null
+++ b/var/spack/packages/ruby/package.py
@@ -0,0 +1,16 @@
+from spack import *
+
+class Ruby(Package):
+ """A dynamic, open source programming language with a focus on
+ simplicity and productivity."""
+
+ homepage = "https://www.ruby-lang.org/"
+ url = "http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0.tar.gz"
+
+ version('2.2.0', 'cd03b28fd0b555970f5c4fd481700852')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+
+ make()
+ make("install")