[arch-commits] Commit in (3 files)
Antonio Rojas
arojas at archlinux.org
Fri Mar 8 18:59:03 UTC 2019
Date: Friday, March 8, 2019 @ 18:59:03
Author: arojas
Revision: 347457
New package, dependency of kdeconnect and plasma-pa
Added:
pulseaudio-qt/
pulseaudio-qt/trunk/
pulseaudio-qt/trunk/PKGBUILD
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Added: pulseaudio-qt/trunk/PKGBUILD
===================================================================
--- pulseaudio-qt/trunk/PKGBUILD (rev 0)
+++ pulseaudio-qt/trunk/PKGBUILD 2019-03-08 18:59:03 UTC (rev 347457)
@@ -0,0 +1,39 @@
+# Maintainer:Antonio Rojas <arojas at archlinux.org>
+
+pkgname=pulseaudio-qt
+pkgver=1.0.0
+pkgrel=1
+pkgdesc='Qt bindings for libpulse'
+arch=(x86_64)
+url='https://community.kde.org/Frameworks'
+license=(LGPL)
+depends=(qt5-base libpulse)
+makedepends=(extra-cmake-modules)
+source=("https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig}
+ pulseaudio-qt-deps.patch::"https://cgit.kde.org/pulseaudio-qt.git/patch/?id=58beeb48")
+sha256sums=('a0a4f2793e642e77a5c4698421becc8c046c426811e9d270ff2a31b49bae10df'
+ 'SKIP'
+ '6477de3934da6ab8086cb16fbe2df0ce6799c10cc02f6971999de2c6fa46aef4')
+validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E') # Jonathan Riddell <jr at jriddell.org>
+
+prepare() {
+ mkdir -p build
+
+ cd $pkgname-$pkgver
+ patch -p1 -i ../pulseaudio-qt-deps.patch # Remove unused dependencies
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_QCH=ON \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list