Added new dependencies for OMG (omg-git, in the CCR): apiextractor, generatorrunner, pyside, shiboken, and shiboken-generator.

This commit is contained in:
Adrian Chaves Fernandez (Gallaecio) 2011-05-23 05:56:07 +00:00
parent e93a0a3274
commit d65b44d81a
5 changed files with 181 additions and 0 deletions

34
apiextractor/PKGBUILD Normal file
View File

@ -0,0 +1,34 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=apiextractor
pkgver=0.10.2
pkgrel=1
pkgdesc="Collects information about libraries from its header files and merges it with user written files (typesystem) describing how the library should be exposed as a binding on the target language."
url="http://www.pyside.org"
arch=('i686' 'x86_64')
license=('LGPL')
depends=('qt>=4.7' 'openssl' 'libxslt' 'libxml2')
makedepends=('cmake' 'automoc4')
source=("http://www.pyside.org/files/$pkgname-$pkgver.tar.bz2")
md5sums=('946e8988e5f4c4bd62e774407fa80fee')
build(){
cd $srcdir/$pkgname-$pkgver
mkdir -p build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
..
make
}
package(){
cd $srcdir/$pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}

34
generatorrunner/PKGBUILD Normal file
View File

@ -0,0 +1,34 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=generatorrunner
pkgver=0.6.9
pkgrel=1
pkgdesc="A binding generator"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://www.pyside.org"
depends=('apiextractor>=0.10.1' 'qt>=4.7' 'openssl')
makedepends=('cmake' 'automoc4')
source=("http://www.pyside.org/files/$pkgname-$pkgver.tar.bz2")
md5sums=('b99c5564104a56147806d467ff1a187b')
build(){
cd $srcdir/$pkgname-$pkgver
mkdir -p build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
..
make
}
package(){
cd $srcdir/$pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}

34
pyside/PKGBUILD Normal file
View File

@ -0,0 +1,34 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=pyside
pkgver=1.0.2
pkgrel=1
pkgdesc="Provides LGPL Qt bindings for Python and related tools for binding generation."
arch=('i686' 'x86_64')
license=('LGPL')
url="http://www.pyside.org"
depends=('shiboken' 'python' 'qt>=4.7' 'phonon')
makedepends=('cmake' 'automoc4' 'shiboken-generator')
source=("http://www.pyside.org/files/$pkgname-qt4.7+$pkgver.tar.bz2")
md5sums=('62d718a81fc7e7d19919f17fff5b43a6')
build(){
cd $srcdir/$pkgname-qt4.7+$pkgver
mkdir -p build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
..
make
}
package(){
cd $srcdir/$pkgname-qt4.7+$pkgver/build
make DESTDIR=$pkgdir install
}

View File

@ -0,0 +1,44 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=shiboken-generator
_pkgname=shiboken
_pyver=2.7
pkgver=1.0.2
pkgrel=1
pkgdesc="Support library for Python bindings."
arch=('i686' 'x86_64')
license=('LGPL')
url="http://www.pyside.org"
depends=("python>=$_pyver" 'qt>=4.7' 'openssl' 'generatorrunner>=0.6.8')
makedepends=('cmake' 'automoc4')
source=("http://www.pyside.org/files/$_pkgname-$pkgver.tar.bz2")
md5sums=('585aa365811575ec3b48d59ca007f6ae')
build(){
cd $srcdir/shiboken-$pkgver
mkdir -p build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
..
make $_pkgname
}
package(){
cd $srcdir/$_pkgname-$pkgver/build/generator
make DESTDIR=$pkgdir install
mkdir -m 755 -p $pkgdir/usr/lib/cmake/Shiboken-$pkgver/
install -m 755 ../data/ShibokenConfig.cmake $pkgdir/usr/lib/cmake/Shiboken-$pkgver/
install -m 755 ../data/ShibokenConfigVersion.cmake $pkgdir/usr/lib/cmake/Shiboken-$pkgver/
install -m 755 ../data/ShibokenConfig-python$_pyver.cmake $pkgdir/usr/lib/cmake/Shiboken-$pkgver/
mkdir -m 755 -p $pkgdir/usr/lib/pkgconfig/
install -m 755 ../data/$_pkgname.pc $pkgdir/usr/lib/pkgconfig/
}

35
shiboken/PKGBUILD Normal file
View File

@ -0,0 +1,35 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=shiboken
_pkgname=libshiboken
pkgver=1.0.2
pkgrel=1
pkgdesc="Support library for Python bindings."
arch=('i686' 'x86_64')
license=('LGPL')
url="http://www.pyside.org"
depends=('python' 'qt>=4.7' 'openssl')
makedepends=('cmake' 'automoc4' 'generatorrunner>=0.6.8')
source=("http://www.pyside.org/files/$pkgname-$pkgver.tar.bz2")
md5sums=('585aa365811575ec3b48d59ca007f6ae')
build(){
cd $srcdir/$pkgname-$pkgver
mkdir -p build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
..
make $_pkgname
}
package(){
cd $srcdir/$pkgname-$pkgver/build/$_pkgname
make DESTDIR=$pkgdir install
}