diff options
| author | nibbles 2bits | 2012-07-10 16:39:19 -0700 |
|---|---|---|
| committer | Jack Nagel | 2012-07-12 02:48:16 -0500 |
| commit | f681883ed95a39a37413dd1fda0b53349767f2fc (patch) | |
| tree | 1b93e6ef42a2c580e53ea3d739f141ef5ec26096 /Library/Formula | |
| parent | ca777cb121e26fc41d86eab4a046e48655ab0ab5 (diff) | |
| download | homebrew-f681883ed95a39a37413dd1fda0b53349767f2fc.tar.bz2 | |
pyside 1.1.1
Upgrade pyside to version 1.1.1, which supports Qt-4.8.
Add and out of source build to match shiboken, seeing as shiboken
is also from the same developers.
Tested on Lion with clang and llvm from XCode-4.3.3.
Tested with and it needs shiboken >= 1.1.1.
Closes #13331.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pyside.rb | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/Library/Formula/pyside.rb b/Library/Formula/pyside.rb index ca3deeec5..0ad507fdb 100644 --- a/Library/Formula/pyside.rb +++ b/Library/Formula/pyside.rb @@ -10,8 +10,8 @@ end class Pyside < Formula homepage 'http://www.pyside.org' - url 'http://www.pyside.org/files/pyside-qt4.7+1.1.0.tar.bz2' - md5 '233f0c6d2b3daf58cf88877d7f74557b' + url 'http://www.pyside.org/files/pyside-qt4.8+1.1.1.tar.bz2' + sha1 '37b4a2f666a84e39aa4b55f8909964c73ce47123' depends_on 'cmake' => :build depends_on 'shiboken' @@ -24,13 +24,19 @@ class Pyside < Formula ENV.append_to_cflags "-F#{qt.prefix}/Frameworks" # Also need `ALTERNATIVE_QT_INCLUDE_DIR` to prevent "missing file" errors. + # Add out of tree build because one of its deps, shiboken, itself needs an + # out of tree build in shiboken.rb. args = std_cmake_args + %W[ -DALTERNATIVE_QT_INCLUDE_DIR=#{qt.prefix}/Frameworks -DSITE_PACKAGE=#{site_package_dir} -DBUILD_TESTS=NO - .] - system "cmake", *args - system 'make install' + .. + ] + mkdir 'macbuild' do + system 'cmake', *args + system 'make' + system 'make install' + end end def caveats |
