mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 06:47:15 +08:00
38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
# Maintainer: Fabian Kosmale <0inkane@googlemail.com>
|
|
# Contributor: arlx_ignacy <ziphims@gmail.com>
|
|
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
|
|
|
|
pkgname=python3-pyside
|
|
_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')
|
|
license=('LGPL')
|
|
url='http://www.pyside.org'
|
|
depends=('python3-shiboken>=1.1.2' 'python3' 'qt>=4.8' 'phonon' 'mesa')
|
|
makedepends=('cmake' 'automoc4')
|
|
replaces=('pyside-py3')
|
|
source=("${_pkgname}-${pkgver}.tar.gz::https://qt.gitorious.org/pyside/pyside/archive/${pkgver}.tar.gz"
|
|
'cmake_fixes.patch')
|
|
md5sums=('b807f6fc1d50e8c6e9314a7738a4142a'
|
|
'28fdf3a61c1ae4b47c5f6f762e428956')
|
|
|
|
build(){
|
|
cd $srcdir/${_pkgname}
|
|
patch -p1 -N < ../cmake_fixes.patch
|
|
mkdir -p build && cd build
|
|
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DBUILD_TESTS=OFF \
|
|
-DUSE_PYTHON3=1 \
|
|
-Dpyside_SUFFIX=-python3
|
|
make
|
|
}
|
|
|
|
|
|
package() {
|
|
cd $srcdir/${_pkgname}/build
|
|
make DESTDIR=$pkgdir install
|
|
}
|