[arch-commits] Commit in phonon/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Fri Jan 21 18:50:42 UTC 2011


    Date: Friday, January 21, 2011 @ 13:50:42
  Author: andrea
Revision: 107135

upgpkg: phonon 4.4.4-1
upstream release; phonon backends have been splitted out

Modified:
  phonon/trunk/PKGBUILD

----------+
 PKGBUILD |   42 ++++++++++--------------------------------
 1 file changed, 10 insertions(+), 32 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-21 18:19:05 UTC (rev 107134)
+++ PKGBUILD	2011-01-21 18:50:42 UTC (rev 107135)
@@ -1,53 +1,31 @@
 # $Id$
 # Maintainer: Andrea Scarpino <andrea at archlinux.org>
 
-pkgbase=phonon
-pkgname=('phonon' 'phonon-xine' 'phonon-gstreamer')
-pkgver=4.4.3
+pkgname=phonon
+pkgver=4.4.4
 pkgrel=1
 arch=('i686' 'x86_64')
 url="http://phonon.kde.org"
 license=('LGPL')
-makedepends=('cmake' 'automoc4' 'qt' 'xine-lib' 'gstreamer0.10-base-plugins'
-        'mesa' 'pulseaudio')
-source=("http://download.kde.org/stable/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.bz2")
-sha1sums=('50262d590beb648be9dcad6b913b920db19a84f8')
+pkgdesc="The multimedia API for KDE4"
+depends=('qt' 'phonon-backend' 'libpulse')
+optdepends=('pulseaudio: PulseAudio support')
+makedepends=('cmake' 'automoc4' 'pulseaudio')
+source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('1deb14ecb2185e1f2fe2741a0bd46852')
 
 build() {
   cd ${srcdir}
   mkdir build
   cd build
-  cmake ../${pkgbase}-${pkgver} \
+  cmake ../${pkgname}-${pkgver} \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_SKIP_RPATH=ON
   make
 }
 
-package_phonon(){
-  pkgdesc="The multimedia API for KDE4"
-  depends=('qt' 'phonon-backend' 'libpulse')
-  optdepends=('pulseaudio: PulseAudio support')
-  cd ${srcdir}/build/phonon
-  make DESTDIR=${pkgdir} install
-  cd ${srcdir}/build/includes
-  make DESTDIR=${pkgdir} install
+package(){
   cd ${srcdir}/build
-  install -Dm644 phonon.pc ${pkgdir}/usr/lib/pkgconfig/phonon.pc
-}
-
-package_phonon-gstreamer(){
-  pkgdesc="Phonon Gstreamer backend"
-  depends=('qt' 'gstreamer0.10-base-plugins')
-  provides=('phonon-backend')
-  cd ${srcdir}/build/gstreamer
   make DESTDIR=${pkgdir} install
 }
-
-package_phonon-xine(){
-  pkgdesc="Phonon Xine backend"
-  depends=('qt' 'xine-lib')
-  provides=('phonon-backend')
-  cd ${srcdir}/build/xine
-  make DESTDIR=${pkgdir} install
-}




More information about the arch-commits mailing list