mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 09:27:15 +08:00
python3-pyside 1.2.1
This commit is contained in:
parent
c81bf26e24
commit
60a6565591
@ -3,7 +3,8 @@
|
|||||||
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
|
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
|
||||||
|
|
||||||
pkgname=python3-pyside
|
pkgname=python3-pyside
|
||||||
pkgver=1.1.2
|
_pkgname=pyside-pyside
|
||||||
|
pkgver=1.2.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='CPython Qt bindings generated using the Shiboken generator. (Python 3 build)'
|
pkgdesc='CPython Qt bindings generated using the Shiboken generator. (Python 3 build)'
|
||||||
arch=('i686' 'x86_64')
|
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')
|
depends=('python3-shiboken>=1.1.2' 'python3' 'qt>=4.8' 'phonon' 'mesa')
|
||||||
makedepends=('cmake' 'automoc4')
|
makedepends=('cmake' 'automoc4')
|
||||||
replaces=('pyside-py3')
|
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')
|
'cmake_fixes.patch')
|
||||||
md5sums=('59c8653734b020b0128b82adc98ee704'
|
md5sums=('b807f6fc1d50e8c6e9314a7738a4142a'
|
||||||
'4a538e43dcfcd6c3bd67b8915f0d9769')
|
'28fdf3a61c1ae4b47c5f6f762e428956')
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
cd $srcdir/pyside-qt4.8+${pkgver}
|
cd $srcdir/${_pkgname}
|
||||||
patch -p1 -N < ../cmake_fixes.patch
|
patch -p1 -N < ../cmake_fixes.patch
|
||||||
mkdir -p build && cd build
|
mkdir -p build && cd build
|
||||||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
|
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
@ -31,6 +32,6 @@ build(){
|
|||||||
|
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/pyside-qt4.8+${pkgver}/build/"
|
cd $srcdir/${_pkgname}/build
|
||||||
make DESTDIR=$pkgdir install
|
make DESTDIR=$pkgdir install
|
||||||
}
|
}
|
||||||
|
@ -2,15 +2,15 @@ diff --git a/PySide/CMakeLists.txt b/PySide/CMakeLists.txt
|
|||||||
index d8371c0..4c546dc 100644
|
index d8371c0..4c546dc 100644
|
||||||
--- a/PySide/CMakeLists.txt
|
--- a/PySide/CMakeLists.txt
|
||||||
+++ b/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
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/__init__.py"
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/__init__.py"
|
||||||
- DESTINATION "${SITE_PACKAGE}/${BINDING_NAME}${pyside_SUFFIX}")
|
- DESTINATION "${SITE_PACKAGE}/${BINDING_NAME}${pyside_SUFFIX}")
|
||||||
+ DESTINATION "${SITE_PACKAGE}/${BINDING_NAME}")
|
+ 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
|
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
|
diff --git a/PySide/QtGui/CMakeLists.txt b/PySide/QtGui/CMakeLists.txt
|
||||||
index 7625634..e2e2dbc 100644
|
index 7625634..e2e2dbc 100644
|
||||||
--- a/PySide/QtGui/CMakeLists.txt
|
--- a/PySide/QtGui/CMakeLists.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user