[arch-commits] Commit in shiboken/repos (4 files)
Florian Pritz
bluewind at archlinux.org
Fri Dec 5 17:24:40 UTC 2014
Date: Friday, December 5, 2014 @ 18:24:40
Author: bluewind
Revision: 123488
archrelease: copy trunk to community-i686, community-x86_64
Added:
shiboken/repos/community-i686/
shiboken/repos/community-i686/PKGBUILD
(from rev 123487, shiboken/trunk/PKGBUILD)
shiboken/repos/community-x86_64/
shiboken/repos/community-x86_64/PKGBUILD
(from rev 123487, shiboken/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 89 ++++++++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 89 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 178 insertions(+)
Copied: shiboken/repos/community-i686/PKGBUILD (from rev 123487, shiboken/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-12-05 17:24:40 UTC (rev 123488)
@@ -0,0 +1,89 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: Jelle van der Waa <jelle at vdwaa.nl>
+# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
+# Contributor: Matthias Maennich <arch at maennich.net>
+
+pkgbase=shiboken
+pkgname=(python{2,}-shiboken shiboken)
+pkgver=1.2.2
+pkgrel=2
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://www.pyside.org"
+makedepends=('cmake' 'python2' 'python' 'qt4' 'libxslt')
+source=("http://download.qt-project.org/official_releases/pyside/$pkgbase-$pkgver.tar.bz2")
+md5sums=('9f5bee9d414ce51be07ff7a20054a48d')
+
+build(){
+ cd "$srcdir/shiboken-$pkgver"
+ # build python2
+ mkdir -p build-py2 && cd build-py2
+ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTS=OFF \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
+ -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
+ -DQT_QMAKE_EXECUTABLE=qmake4
+ make
+
+ # build python3
+ cd "$srcdir/shiboken-$pkgver"
+ mkdir -p build-py3 && cd build-py3
+ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTS=OFF \
+ -DUSE_PYTHON3=yes \
+ -DQT_QMAKE_EXECUTABLE=qmake4
+ make
+}
+
+package_shiboken() {
+ pkgdesc="CPython bindings generator for C++ libraries"
+ depends=(python qt4 libxslt)
+ optdepends=("python2-shiboken: for compilation against python2"
+ "python-shiboken: for compilation against python")
+
+ # Header files/ /usr/bin/shiboke, pkgconfig, man page
+ cd "$srcdir/shiboken-$pkgver/build-py3"
+ make DESTDIR="$pkgdir" install
+
+ cd "$srcdir/shiboken-$pkgver/build-py2"
+ cd data
+ install -Dm 644 ShibokenConfig-python2.7.cmake "$pkgdir/usr/lib/cmake/Shiboken-$pkgver/"
+ install -Dm 644 shiboken.pc "$pkgdir/usr/lib/pkgconfig/shiboken-py2.pc"
+
+ rm -rf "$pkgdir/usr/lib/python"*
+ rm -rf "$pkgdir/usr/lib/libshiboken"*
+ rm -rf "$pkgdir/usr/lib/pkgconfig/"
+ rm "$pkgdir"/usr/lib/cmake/Shiboken-$pkgver/ShibokenConfig*python*.cmake
+}
+package_python2-shiboken() {
+ pkgdesc="Support library for Python2 bindings"
+ depends=("qt4>=4.8" "libxslt" "python2")
+
+ cd "$srcdir/shiboken-$pkgver/build-py2"
+ make DESTDIR="$pkgdir" install
+
+ cd "$srcdir/shiboken-$pkgver/build-py2"
+ cd data
+ install -Dm 644 ShibokenConfig-python2.7.cmake "$pkgdir/usr/lib/cmake/Shiboken-$pkgver/"
+ mv "$pkgdir"/usr/lib/pkgconfig/shiboken{,-py2}.pc
+
+ rm -rf "$pkgdir"/usr/{include,bin,share}
+ rm "$pkgdir/usr/lib/cmake/Shiboken-$pkgver/ShibokenConfigVersion.cmake"
+ rm "$pkgdir/usr/lib/cmake/Shiboken-$pkgver/ShibokenConfig.cmake"
+}
+
+package_python-shiboken() {
+ pkgdesc="Support library for Python bindings"
+ depends=("qt4>=4.8" "libxslt" "python2" "python")
+
+ cd "$srcdir/shiboken-$pkgver/build-py3"
+ make DESTDIR="$pkgdir" install
+
+ rm -rf "$pkgdir"/usr/{include,bin,share}
+ rm "$pkgdir/usr/lib/cmake/Shiboken-$pkgver/ShibokenConfigVersion.cmake"
+ rm "$pkgdir/usr/lib/cmake/Shiboken-$pkgver/ShibokenConfig.cmake"
+}
+
Copied: shiboken/repos/community-x86_64/PKGBUILD (from rev 123487, shiboken/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-12-05 17:24:40 UTC (rev 123488)
@@ -0,0 +1,89 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: Jelle van der Waa <jelle at vdwaa.nl>
+# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
+# Contributor: Matthias Maennich <arch at maennich.net>
+
+pkgbase=shiboken
+pkgname=(python{2,}-shiboken shiboken)
+pkgver=1.2.2
+pkgrel=2
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://www.pyside.org"
+makedepends=('cmake' 'python2' 'python' 'qt4' 'libxslt')
+source=("http://download.qt-project.org/official_releases/pyside/$pkgbase-$pkgver.tar.bz2")
+md5sums=('9f5bee9d414ce51be07ff7a20054a48d')
+
+build(){
+ cd "$srcdir/shiboken-$pkgver"
+ # build python2
+ mkdir -p build-py2 && cd build-py2
+ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTS=OFF \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
+ -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
+ -DQT_QMAKE_EXECUTABLE=qmake4
+ make
+
+ # build python3
+ cd "$srcdir/shiboken-$pkgver"
+ mkdir -p build-py3 && cd build-py3
+ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTS=OFF \
+ -DUSE_PYTHON3=yes \
+ -DQT_QMAKE_EXECUTABLE=qmake4
+ make
+}
+
+package_shiboken() {
+ pkgdesc="CPython bindings generator for C++ libraries"
+ depends=(python qt4 libxslt)
+ optdepends=("python2-shiboken: for compilation against python2"
+ "python-shiboken: for compilation against python")
+
+ # Header files/ /usr/bin/shiboke, pkgconfig, man page
+ cd "$srcdir/shiboken-$pkgver/build-py3"
+ make DESTDIR="$pkgdir" install
+
+ cd "$srcdir/shiboken-$pkgver/build-py2"
+ cd data
+ install -Dm 644 ShibokenConfig-python2.7.cmake "$pkgdir/usr/lib/cmake/Shiboken-$pkgver/"
+ install -Dm 644 shiboken.pc "$pkgdir/usr/lib/pkgconfig/shiboken-py2.pc"
+
+ rm -rf "$pkgdir/usr/lib/python"*
+ rm -rf "$pkgdir/usr/lib/libshiboken"*
+ rm -rf "$pkgdir/usr/lib/pkgconfig/"
+ rm "$pkgdir"/usr/lib/cmake/Shiboken-$pkgver/ShibokenConfig*python*.cmake
+}
+package_python2-shiboken() {
+ pkgdesc="Support library for Python2 bindings"
+ depends=("qt4>=4.8" "libxslt" "python2")
+
+ cd "$srcdir/shiboken-$pkgver/build-py2"
+ make DESTDIR="$pkgdir" install
+
+ cd "$srcdir/shiboken-$pkgver/build-py2"
+ cd data
+ install -Dm 644 ShibokenConfig-python2.7.cmake "$pkgdir/usr/lib/cmake/Shiboken-$pkgver/"
+ mv "$pkgdir"/usr/lib/pkgconfig/shiboken{,-py2}.pc
+
+ rm -rf "$pkgdir"/usr/{include,bin,share}
+ rm "$pkgdir/usr/lib/cmake/Shiboken-$pkgver/ShibokenConfigVersion.cmake"
+ rm "$pkgdir/usr/lib/cmake/Shiboken-$pkgver/ShibokenConfig.cmake"
+}
+
+package_python-shiboken() {
+ pkgdesc="Support library for Python bindings"
+ depends=("qt4>=4.8" "libxslt" "python2" "python")
+
+ cd "$srcdir/shiboken-$pkgver/build-py3"
+ make DESTDIR="$pkgdir" install
+
+ rm -rf "$pkgdir"/usr/{include,bin,share}
+ rm "$pkgdir/usr/lib/cmake/Shiboken-$pkgver/ShibokenConfigVersion.cmake"
+ rm "$pkgdir/usr/lib/cmake/Shiboken-$pkgver/ShibokenConfig.cmake"
+}
+
More information about the arch-commits
mailing list