update phonon with zeitgeist support

This commit is contained in:
Phil 2011-03-27 19:34:09 +00:00
parent 6376b93826
commit 8670e7e5b5
2 changed files with 61 additions and 3 deletions

58
libqzeitgeist/PKGBUILD Normal file
View File

@ -0,0 +1,58 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
#
# package info
#
pkgname=libqzeitgeist
pkgver=20110327
pkgrel=1
pkgdesc="Qt interface for Zeitgeist"
url="http://gitorious.org/kde-zeitgeist/libqzeitgeist/"
license="GPL"
arch=('i686' 'x86_64')
depends=('qt>=4.7.2')
makedepends=('cmake')
options=('sign')
source=("http://chakra-project.org/sources/${pkgname}/${pkgname}-${pkgver}-${pkgrel}.tar.xz")
md5sums=('218da21cfad9119e4c0410519c02b0ac')
groups=('kde-uninstall')
# create tarball: source PKGBUILD && mksource
mksource() {
rm -vRf ${pkgname}
git clone git://gitorious.org/kde-zeitgeist/${pkgname}.git
rm -vRf ${pkgname}/.git
pushd ${pkgname}
popd
tar -cvJf ${pkgname}-${pkgver}-${pkgrel}.tar.xz ${pkgname}/*
md5sum ${pkgname}-${pkgver}-${pkgrel}.tar.xz
}
#
# build function
#
build()
{
cd "${srcdir}/$pkgname"
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
msg "Starting make..."
make || return 1
}
package()
{
cd "${srcdir}/$pkgname"
msg "Make successful, installing..."
make DESTDIR=$startdir/pkg install
}

View File

@ -8,18 +8,18 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=phonon
pkgver=4.4.4
pkgver=4.5.0
pkgrel=1
arch=('i686' 'x86_64')
url="http://phonon.kde.org"
license=('LGPL')
pkgdesc="The multimedia API for KDE4"
depends=('qt' 'libpulse')
depends=('qt' 'libpulse' 'libqzeitgeist')
optdepends=('pulseaudio: PulseAudio support')
makedepends=('cmake' 'automoc4' 'libpulse')
groups=("kde" "kde-complete" "kde-minimal" "kde-uninstall")
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
md5sums=('1deb14ecb2185e1f2fe2741a0bd46852')
md5sums=('32f8d388c18fde2e23dea7bb103f9713')
build() {
cd ${srcdir}