Commit cdfec9b1 authored by Fabian's avatar Fabian

Merge branch 'unstable' of gitorious.org:chakra-packages/desktop into unstable

parents cdb18d3a 945cd9b7
......@@ -3,7 +3,7 @@
pkgname=kapudan
_pkgname=kapudan
pkgver=2013.09.16
pkgrel=1
pkgrel=2
branch="benz"
pkgdesc="Chakra's desktop greeter, a fork of Pardus's Kaptan."
arch=('x86_64')
......@@ -12,13 +12,13 @@ screenshot='http://i.imgur.com/71aU5.png'
license=('GPLv2')
conflicts=('kapudan-git')
depends=('python2' 'kde-baseapps-konsole' 'kde-runtime'
'kdebindings-pykde4' 'pyqt' 'python2-xlib'
'kdebindings-python2' 'python2-pyqt4' 'python2-xlib'
'python2-v4l2capture' 'python2-imaging')
makedepends=('python-distribute' 'git' 'intltool')
makedepends=('python2-distribute' 'git' 'intltool')
optdepends=('spun: update notifications'
'clamav: for the security page')
source=("${pkgname}-${pkgver}.tar.xz")
md5sums=('e0e48c15839c60a08525f7db8a07bc54')
md5sums=('1e2407f4cf78fcc1d2d3233ba0faa4b4')
# create tarball: source PKGBUILD && mksource
......
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=("kdebindings-pykde4-common" "kdebindings-pykde4-python2" "kdebindings-pykde4-python3")
_pkgname=pykde4
pkgver=${_kdever}
pkgrel=5
pkgdesc="KDE bindings for python"
url="http://kde.org/"
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=('pyqt4-python2' 'qscintilla-python2' 'boost-libs' "kdepim-runtime>=${_kdever}")
makedepends=('cmake' 'automoc4' 'polkit-qt' 'boost' 'python2-sip' 'python3-sip' 'pyqt4-python2' 'pyqt4-python3' 'python-sip-common')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha1sums=(`grep ${_pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
groups=("kde" "kdebindings" "kde-uninstall")
provides=('kdebindings-python' 'pykde4')
replaces=('kdebindings-python')
conflicts=('kdebindings-python')
options=('docs' '!header' 'debug' 'log')
prepare() {
cd "${srcdir}"
rm -rf build-python2 build-python3
mkdir -p build-python2 build-python3
}
build() {
export PYTHONDONTWRITEBYTECODE="TRUE"
cd ${srcdir}/build-python2
cmake ../pykde4-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DPYKDEUIC4_ALTINSTALL=TRUE
make
cd ${srcdir}/build-python3
cmake ../pykde4-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
-DPYTHON_LIBRARY=/usr/lib/libpython3.3m.so.1.0 \
-DPYKDEUIC4_ALTINSTALL=TRUE
make
}
package_kdebindings-pykde4-python3() {
pkgdesc="A set of Python 3.x bindings for KDE"
depends=('pyqt4-python3' 'qscintilla-python3' 'boost-libs' "kdepim-runtime>=${_kdever}" "kdebindings-pykde4-common")
cd "${srcdir}"/build-python3
make DESTDIR="${pkgdir}" install
# Provided by common
rm -r "${pkgdir}"/usr/share/apps/pykde4/examples
rm -r "${pkgdir}"/usr/share/sip/PyKDE4
}
package_kdebindings-pykde4-python2() {
pkgdesc="A set of Python 2.x bindings for KDE"
depends=('pyqt4-python2' 'qscintilla-python2' 'boost-libs' "kdepim-runtime>=${_kdever}" "kdebindings-pykde4-common")
conflicts=('kdebindings-pykde4<4.11.2')
provides=('kdebindings-pykde4=${pkgver}')
replaces=('kdebindings-pykde4')
cd "${srcdir}"/build-python2
make DESTDIR="${pkgdir}" install
# Provided by common
rm -r "${pkgdir}"/usr/share/apps/pykde4/examples
rm -r "${pkgdir}"/usr/share/sip/PyKDE4
}
package_kdebindings-pykde4-common() {
pkgdesc="Common files shared between python2 and python3 kdebindings-pykde"
conflicts=('kdebindings-pykde<4.11.2')
cd ${srcdir}/build-python2
make DESTDIR="${pkgdir}" install
rm -r "${pkgdir}"/usr/{bin,lib}
}
#
# Desktop packages for Chakra, part of www.chakra-project.org
#
# Maintainer: H W Tovetjarn (totte) <totte@tott.es>
# Contributors: M Tortosa <manutortosa@chakra-project.org>
# A Scarpino <andrea@archlinux.org>
# Include global buildsystem configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgbase=kdebindings-python
pkgname=('kdebindings-python-common'
'kdebindings-python2'
'kdebindings-python3')
pkgver=${_kdever}
pkgrel=11
url="https://projects.kde.org/projects/kde/kdebindings/pykde4"
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
makedepends=('automoc4'
'boost'
'boost-libs'
'cmake'
"kdepim-runtime>=${_kdever}"
'polkit-qt'
'python-sip-common'
'python2-pyqt4>=4.10.3-5'
'python2-sip'
'python3-pyqt4>=4.10.3-5'
'python3-sip'
'qscintilla-python2>=2.7.2-1')
source=("$_mirror/pykde4-$_kdever.tar.xz")
sha1sums=(`grep pykde4-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
groups=("kde" "kdebindings" "kde-uninstall")
options=('docs' '!header' 'debug' 'log')
prepare() {
cd "${srcdir}"
rm -rf build-python2 build-python3
mkdir -p build-python2 build-python3
}
build() {
export PYTHONDONTWRITEBYTECODE="TRUE"
cd ${srcdir}/build-python2
cmake ../pykde4-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DPYKDEUIC4_ALTINSTALL=TRUE
make
cd ${srcdir}/build-python3
cmake ../pykde4-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
-DPYTHON_LIBRARY=/usr/lib/libpython3.3m.so.1.0 \
-DPYKDEUIC4_ALTINSTALL=TRUE
make
}
package_kdebindings-python3() {
pkgdesc="A set of Python 3.x bindings for KDE"
depends=('python3-pyqt4>=4.10.3-5'
'qscintilla-python3'
'boost-libs'
"kdepim-runtime>=${_kdever}"
'kdebindings-python-common')
cd "${srcdir}"/build-python3
make DESTDIR="${pkgdir}" install
# Provided by common
rm -r "${pkgdir}"/usr/share/apps/pykde4/examples
rm -r "${pkgdir}"/usr/share/sip/PyKDE4
}
package_kdebindings-python2() {
pkgdesc="A set of Python 2.x bindings for KDE"
depends=('python2-pyqt4>=4.10.3-5'
'qscintilla-python2'
'boost-libs'
"kdepim-runtime>=${_kdever}"
'kdebindings-python-common')
conflicts=('kdebindings-pykde4<4.11.2')
provides=("kdebindings-pykde4=${pkgver}"
'kdebindings-python'
'pykde4')
replaces=('kdebindings-pykde4'
'kdebindings-pykde4-python2')
cd "${srcdir}"/build-python2
make DESTDIR="${pkgdir}" install
# Provided by common
rm -r "${pkgdir}"/usr/share/apps/pykde4/examples
rm -r "${pkgdir}"/usr/share/sip/PyKDE4
}
package_kdebindings-python-common() {
pkgdesc="Common files shared between kdebindings-python2 and kdebindings-python3"
conflicts=('kdebindings-pykde<4.11.2'
'kdebindings-pykde4-common')
replaces=('kdebindings-pykde4-common')
cd ${srcdir}/build-python2
make DESTDIR="${pkgdir}" install
rm -r "${pkgdir}"/usr/{bin,lib}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment