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

Antonio Rojas arojas at archlinux.org
Fri Aug 24 08:57:08 UTC 2018


    Date: Friday, August 24, 2018 @ 08:57:07
  Author: arojas
Revision: 332939

Drop Qt4 support

Modified:
  phonon-gstreamer/trunk/PKGBUILD

----------+
 PKGBUILD |   43 ++++++++++---------------------------------
 1 file changed, 10 insertions(+), 33 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-24 08:53:53 UTC (rev 332938)
+++ PKGBUILD	2018-08-24 08:57:07 UTC (rev 332939)
@@ -3,38 +3,31 @@
 # Contributor: Andrea Scarpino <andrea at archlinux.org>
 
 pkgbase=phonon-gstreamer
-pkgname=(phonon-qt4-gstreamer phonon-qt5-gstreamer)
+pkgname=(phonon-qt5-gstreamer)
 pkgver=4.9.0
-pkgrel=4
+pkgrel=5
 arch=(x86_64)
+pkgdesc="Phonon GStreamer backend for Qt5"
 url='http://phonon.kde.org/'
 license=(LGPL)
+depends=(gst-plugins-base qt5-x11extras phonon-qt5)
 optdepends=('pulseaudio: PulseAudio support' 'gst-plugins-good: PulseAudio support and good codecs' 'gst-plugins-bad: additional codecs'
-	'gst-plugins-ugly: additional codecs' 'gst-libav: libav codec')
-makedepends=(gst-plugins-base extra-cmake-modules phonon-qt4 phonon-qt5 qt5-x11extras)
+            'gst-plugins-ugly: additional codecs' 'gst-libav: libav codec')
+makedepends=(extra-cmake-modules)
+provides=(phonon-qt5-backend)
 source=("http://download.kde.org/stable/phonon/phonon-backend-gstreamer/$pkgver/phonon-backend-gstreamer-$pkgver.tar.xz")
 sha256sums=('cec3e5ece1261d344b68363ef0606ebf49772628ba94bb55b0c0d18773b885f1')
 
 prepare() {
-  mkdir build-qt4
-  mkdir build-qt5
+  mkdir -p build
 }
 
 build() {
-  cd build-qt4
+  cd build
   cmake ../$pkgbase-$pkgver \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_SKIP_RPATH=ON \
-    -D__KDE_HAVE_GCC_VISIBILITY=NO \
-    -DCMAKE_INSTALL_LIBDIR=lib
-  make
-
-  cd ../build-qt5
-  cmake ../$pkgbase-$pkgver \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_SKIP_RPATH=ON \
     -DCMAKE_INSTALL_LIBDIR=lib \
     -D__KDE_HAVE_GCC_VISIBILITY=NO \
     -DPHONON_BUILD_PHONON4QT5=ON
@@ -41,23 +34,7 @@
   make
 }
 
-package_phonon-qt4-gstreamer() {
-  pkgdesc="Phonon GStreamer backend for Qt4"
-  depends=(gst-plugins-base phonon-qt4)
-  provides=(phonon-qt4-backend)
-
-  cd build-qt4
-  make DESTDIR="$pkgdir" install
-
-# Conflict with -qt5
-  rm -r "$pkgdir"/usr/share/icons
-}
-
 package_phonon-qt5-gstreamer() {
-  pkgdesc="Phonon GStreamer backend for Qt5"
-  depends=(gst-plugins-base qt5-x11extras phonon-qt5)
-  provides=(phonon-qt5-backend)
-
-  cd build-qt5
+  cd build
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list