[arch-commits] Commit in phonon-vlc/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri Aug 24 08:53:23 UTC 2018
Date: Friday, August 24, 2018 @ 08:53:23
Author: arojas
Revision: 332937
Drop Qt4 support
Modified:
phonon-vlc/trunk/PKGBUILD
----------+
PKGBUILD | 38 +++++++++-----------------------------
1 file changed, 9 insertions(+), 29 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-24 08:51:15 UTC (rev 332936)
+++ PKGBUILD 2018-08-24 08:53:23 UTC (rev 332937)
@@ -4,13 +4,16 @@
# Contributor: Andrea Scarpino <andrea at archlinux.org>
pkgbase=phonon-vlc
-pkgname=(phonon-qt4-vlc phonon-qt5-vlc)
+pkgname=(phonon-qt5-vlc)
+pkgdesc="Phonon VLC backend for Qt5"
pkgver=0.10.1
-pkgrel=2
+pkgrel=3
arch=(x86_64)
url='http://phonon.kde.org/'
license=(LGPL)
-makedepends=(vlc extra-cmake-modules phonon-qt4 phonon-qt5)
+depends=(vlc phonon-qt5)
+provides=(phonon-qt5-backend)
+makedepends=(extra-cmake-modules)
source=("http://download.kde.org/stable/phonon/phonon-backend-vlc/$pkgver/phonon-backend-vlc-$pkgver.tar.xz"{,.sig})
sha256sums=('09966da6aedeb1b3a6a7d64341682ea065cb4b2c7c06681fcfb3b9c4e7af072d'
'SKIP')
@@ -17,25 +20,15 @@
validpgpkeys=(CB9387521E1EE0127DA804843FDBB55084CC5D84) # Harald Sitter <sitter at kde.org>
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 \
- -DPLUGIN_INSTALL_DIR=/usr/lib/kde4
- 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
@@ -42,20 +35,7 @@
make
}
-package_phonon-qt4-vlc() {
- pkgdesc="Phonon VLC backend for Qt4"
- depends=(vlc phonon-qt4)
- provides=(phonon-qt4-backend)
-
- cd build-qt4
- make DESTDIR="$pkgdir" install
-}
-
package_phonon-qt5-vlc() {
- pkgdesc="Phonon VLC backend for Qt5"
- depends=(vlc phonon-qt5)
- provides=(phonon-qt5-backend)
-
- cd build-qt5
+ cd build
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list