python3-pyside 1.2.1

This commit is contained in:
Adrian Chaves Fernandez (Gallaecio) 2014-01-31 20:23:08 +00:00
parent c81bf26e24
commit 60a6565591
2 changed files with 10 additions and 9 deletions

View File

@ -3,7 +3,8 @@
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=python3-pyside
pkgver=1.1.2
_pkgname=pyside-pyside
pkgver=1.2.1
pkgrel=1
pkgdesc='CPython Qt bindings generated using the Shiboken generator. (Python 3 build)'
arch=('i686' 'x86_64')
@ -12,13 +13,13 @@ url='http://www.pyside.org'
depends=('python3-shiboken>=1.1.2' 'python3' 'qt>=4.8' 'phonon' 'mesa')
makedepends=('cmake' 'automoc4')
replaces=('pyside-py3')
source=("http://qt-project.org/uploads/pyside/pyside-qt4.8+1.1.2.tar.bz2"
source=("${_pkgname}-${pkgver}.tar.gz::https://qt.gitorious.org/pyside/pyside/archive/${pkgver}.tar.gz"
'cmake_fixes.patch')
md5sums=('59c8653734b020b0128b82adc98ee704'
'4a538e43dcfcd6c3bd67b8915f0d9769')
md5sums=('b807f6fc1d50e8c6e9314a7738a4142a'
'28fdf3a61c1ae4b47c5f6f762e428956')
build(){
cd $srcdir/pyside-qt4.8+${pkgver}
cd $srcdir/${_pkgname}
patch -p1 -N < ../cmake_fixes.patch
mkdir -p build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
@ -31,6 +32,6 @@ build(){
package() {
cd "$srcdir/pyside-qt4.8+${pkgver}/build/"
cd $srcdir/${_pkgname}/build
make DESTDIR=$pkgdir install
}

View File

@ -2,15 +2,15 @@ diff --git a/PySide/CMakeLists.txt b/PySide/CMakeLists.txt
index d8371c0..4c546dc 100644
--- a/PySide/CMakeLists.txt
+++ b/PySide/CMakeLists.txt
@@ -32,7 +32,7 @@ HAS_QT_MODULE(QT_QTDECLARATIVE_FOUND QtDeclarative)
@@ -35,7 +35,7 @@ HAS_QT_MODULE(QT_QTDECLARATIVE_FOUND QtDeclarative)
# install
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/__init__.py"
- DESTINATION "${SITE_PACKAGE}/${BINDING_NAME}${pyside_SUFFIX}")
+ DESTINATION "${SITE_PACKAGE}/${BINDING_NAME}")
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/_utils.py
DESTINATION "${SITE_PACKAGE}/${BINDING_NAME}${pyside_SUFFIX}")
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/typesystem_templates.xml
DESTINATION share/PySide${pyside_SUFFIX}/typesystems)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/pyside_global.h
diff --git a/PySide/QtGui/CMakeLists.txt b/PySide/QtGui/CMakeLists.txt
index 7625634..e2e2dbc 100644
--- a/PySide/QtGui/CMakeLists.txt