[arch-commits] Commit in phonon-gstreamer/repos/extra-i686 (4 files)

Andrea Scarpino andrea at nymeria.archlinux.org
Fri May 2 12:05:04 UTC 2014


    Date: Friday, May 2, 2014 @ 14:05:04
  Author: andrea
Revision: 211974

archrelease: copy trunk to extra-i686

Added:
  phonon-gstreamer/repos/extra-i686/PKGBUILD
    (from rev 211973, phonon-gstreamer/trunk/PKGBUILD)
  phonon-gstreamer/repos/extra-i686/phonon-qt4-gstreamer.install
    (from rev 211973, phonon-gstreamer/trunk/phonon-qt4-gstreamer.install)
Deleted:
  phonon-gstreamer/repos/extra-i686/PKGBUILD
  phonon-gstreamer/repos/extra-i686/phonon-gstreamer.install

------------------------------+
 PKGBUILD                     |   98 ++++++++++++++++++++++++++---------------
 phonon-gstreamer.install     |   11 ----
 phonon-qt4-gstreamer.install |   11 ++++
 3 files changed, 74 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-05-02 12:02:18 UTC (rev 211973)
+++ PKGBUILD	2014-05-02 12:05:04 UTC (rev 211974)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=phonon-gstreamer
-pkgver=4.7.1
-pkgrel=1
-arch=('i686' 'x86_64')
-url='http://phonon.kde.org/'
-pkgdesc="Phonon GStreamer backend"
-license=('LGPL')
-depends=('gstreamer0.10-base-plugins')
-makedepends=('cmake' 'automoc4' 'phonon-qt4')
-provides=('phonon-backend')
-install="${pkgname}.install"
-source=("http://download.kde.org/stable/phonon/phonon-backend-gstreamer/${pkgver}/phonon-backend-gstreamer-${pkgver}.tar.xz")
-md5sums=('7c0cfab4ec0bbe1f201503e6ccc7290a')
-
-prepare() {
-  mkdir build
-}
-
-build() {
-  cd build
-  cmake ../phonon-backend-gstreamer-${pkgver} \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_SKIP_RPATH=ON \
-    -DCMAKE_INSTALL_LIBDIR=lib
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="${pkgdir}" install
-}

Copied: phonon-gstreamer/repos/extra-i686/PKGBUILD (from rev 211973, phonon-gstreamer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-05-02 12:05:04 UTC (rev 211974)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgbase=phonon-gstreamer
+pkgname=('phonon-qt4-gstreamer' 'phonon-qt5-gstreamer')
+pkgver=4.7.1
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://phonon.kde.org/'
+license=('LGPL')
+makedepends=('gstreamer0.10-base-plugins' 'cmake' 'automoc4' 'phonon-qt4' 'phonon-qt5')
+source=("http://download.kde.org/stable/phonon/phonon-backend-gstreamer/${pkgver}/phonon-backend-gstreamer-${pkgver}.tar.xz")
+md5sums=('7c0cfab4ec0bbe1f201503e6ccc7290a')
+
+prepare() {
+  mkdir build-qt4
+  mkdir build-qt5
+}
+
+build() {
+  cd build-qt4
+  cmake ../phonon-backend-gstreamer-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_SKIP_RPATH=ON \
+    -DCMAKE_INSTALL_LIBDIR=lib
+  make
+
+  cd ../build-qt5
+  cmake ../phonon-backend-gstreamer-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_SKIP_RPATH=ON \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DPHONON_BUILD_PHONON4QT5=ON
+  make
+}
+
+package_phonon-qt4-gstreamer() {
+  pkgdesc="Phonon GStreamer backend for Qt4"
+  depends=('gstreamer0.10-base-plugins')
+  provides=('phonon-backend' 'phonon-qt4-backend')
+  replaces=('phonon-gstreamer')
+  conflicts=('phonon-gstreamer')
+  install="phonon-qt4-gstreamer.install"
+
+  cd build-qt4
+  make DESTDIR="${pkgdir}" install
+}
+
+package_phonon-qt5-gstreamer() {
+  pkgdesc="Phonon GStreamer backend for Qt5"
+  depends=('gstreamer0.10-base-plugins')
+  provides=('phonon-qt5-backend')
+  replaces=('phonon-gstreamer')
+  conflicts=('phonon-gstreamer')
+
+  cd build-qt5
+  make DESTDIR="${pkgdir}" install
+
+  # Those are not needed
+  rm -rf "${pkgdir}"/usr/share
+}

Deleted: phonon-gstreamer.install
===================================================================
--- phonon-gstreamer.install	2014-05-02 12:02:18 UTC (rev 211973)
+++ phonon-gstreamer.install	2014-05-02 12:05:04 UTC (rev 211974)
@@ -1,11 +0,0 @@
-post_install(){
-    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-}
-
-post_upgrade() {
-    post_install
-}
-
-post_remove() {
-    post_install
-}

Copied: phonon-gstreamer/repos/extra-i686/phonon-qt4-gstreamer.install (from rev 211973, phonon-gstreamer/trunk/phonon-qt4-gstreamer.install)
===================================================================
--- phonon-qt4-gstreamer.install	                        (rev 0)
+++ phonon-qt4-gstreamer.install	2014-05-02 12:05:04 UTC (rev 211974)
@@ -0,0 +1,11 @@
+post_install(){
+    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}




More information about the arch-commits mailing list