[arch-commits] Commit in shiboken2/repos/testing-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sun Jul 7 11:33:38 UTC 2019
Date: Sunday, July 7, 2019 @ 11:33:38
Author: arojas
Revision: 357398
archrelease: copy trunk to testing-x86_64
Added:
shiboken2/repos/testing-x86_64/PKGBUILD
(from rev 357397, shiboken2/trunk/PKGBUILD)
Deleted:
shiboken2/repos/testing-x86_64/PKGBUILD
----------+
PKGBUILD | 101 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 53 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-07-07 11:32:37 UTC (rev 357397)
+++ PKGBUILD 2019-07-07 11:33:38 UTC (rev 357398)
@@ -1,48 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=shiboken2
-pkgname=(shiboken2 python-shiboken2)
-_qtver=5.13.0
-_clangver=8.0.0
-pkgver=${_qtver/-/}
-pkgrel=1
-arch=(x86_64)
-url='https://www.qt.io'
-license=(GPL2 LGPL)
-pkgdesc='Generates bindings for C++ libraries using CPython source code'
-makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python-sphinx)
-_pkgfqn=pyside-setup-everywhere-src-${_qtver}
-source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz")
-sha256sums=('8e47e778a6c8ee86e9bc7dbf56371cf607e9f3c1a03a7d6df9e34f8dba555782')
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
- cmake ../${_pkgfqn}/sources/shiboken2 \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_TESTS=OFF \
- -DUSE_PYTHON_VERSION=3
- make
-}
-
-package_shiboken2() {
- depends=(clang=$_clangver llvm libxslt qt5-xmlpatterns)
-
- cd build
- make DESTDIR="$pkgdir" install
-# Provided in python-shiboken2
- rm -r "$pkgdir"/usr/lib/{python*,libshiboken*}
-}
-
-package_python-shiboken2() {
- depends=(python)
-
- cd build
- make DESTDIR="$pkgdir" install
-# Provided in shiboken2
- rm -r "$pkgdir"/usr/{bin,include,lib/{cmake,pkgconfig},share}
-}
Copied: shiboken2/repos/testing-x86_64/PKGBUILD (from rev 357397, shiboken2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-07-07 11:33:38 UTC (rev 357398)
@@ -0,0 +1,53 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=shiboken2
+pkgname=(shiboken2 python-shiboken2)
+_qtver=5.13.0
+_clangver=8.0.0
+pkgver=${_qtver/-/}
+pkgrel=2
+arch=(x86_64)
+url='https://www.qt.io'
+license=(GPL2 LGPL)
+pkgdesc='Generates bindings for C++ libraries using CPython source code'
+makedepends=(clang llvm cmake libxslt qt5-xmlpatterns python-sphinx)
+_pkgfqn=pyside-setup-everywhere-src-${_qtver}
+source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz"
+ qcoreapplication-crash.patch::"https://code.qt.io/cgit/pyside/pyside-setup.git/patch/?id=5376a134")
+sha256sums=('8e47e778a6c8ee86e9bc7dbf56371cf607e9f3c1a03a7d6df9e34f8dba555782'
+ 'd315c773f19e341b3c7faa3faf61fef70375c711e1beed395c4aded9d12fd94f')
+
+prepare() {
+ mkdir -p build
+
+ cd $_pkgfqn
+ patch -p1 -i ../qcoreapplication-crash.patch # Fix crash with importing QCoreApplication
+}
+
+build() {
+ cd build
+ cmake ../${_pkgfqn}/sources/shiboken2 \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_TESTS=OFF \
+ -DUSE_PYTHON_VERSION=3
+ make
+}
+
+package_shiboken2() {
+ depends=(clang=$_clangver llvm libxslt qt5-xmlpatterns)
+
+ cd build
+ make DESTDIR="$pkgdir" install
+# Provided in python-shiboken2
+ rm -r "$pkgdir"/usr/lib/{python*,libshiboken*}
+}
+
+package_python-shiboken2() {
+ depends=(python)
+
+ cd build
+ make DESTDIR="$pkgdir" install
+# Provided in shiboken2
+ rm -r "$pkgdir"/usr/{bin,include,lib/{cmake,pkgconfig},share}
+}
More information about the arch-commits
mailing list