[arch-commits] Commit in (4 files)

Antonio Rojas arojas at archlinux.org
Thu Dec 7 10:13:41 UTC 2017


    Date: Thursday, December 7, 2017 @ 10:13:39
  Author: arojas
Revision: 272892

New elisa dependency

Added:
  upnp-player-qt/
  upnp-player-qt/trunk/
  upnp-player-qt/trunk/PKGBUILD
  upnp-player-qt/trunk/upnp-player-qt-build.patch

----------------------------+
 PKGBUILD                   |   37 +++++++++++++++++++++++++++++++++++++
 upnp-player-qt-build.patch |   22 ++++++++++++++++++++++
 2 files changed, 59 insertions(+)

Added: upnp-player-qt/trunk/PKGBUILD
===================================================================
--- upnp-player-qt/trunk/PKGBUILD	                        (rev 0)
+++ upnp-player-qt/trunk/PKGBUILD	2017-12-07 10:13:39 UTC (rev 272892)
@@ -0,0 +1,37 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=upnp-player-qt
+pkgver=0.2
+pkgrel=1
+pkgdesc='Upnp layer build with Qt5'
+url='https://gitlab.com/homeautomationqt/upnp-player-qt'
+arch=(x86_64)
+license=(LGPL3)
+depends=(kdsoap)
+makedepends=(extra-cmake-modules qt5-svg qt5-multimedia kdeclarative)
+source=($pkgname-$pkgver.tar.gz::"https://gitlab.com/homeautomationqt/upnp-player-qt/repository/$pkgver/archive.tar.gz"
+        upnp-player-qt-build.patch)
+sha256sums=('63d0aa2dd986ea8c0cc484eeccf5fff1787ddcf85edaaf0e5c021fd6baa70179'
+            '42fa449ad6284f3c29f2f2ba842409b13c0fdd59847bb5dd080c3592d4d0c042')
+
+prepare() {
+  cd $pkgname-*/
+  mkdir -p build
+
+# Fix build
+  patch -p1 -i ../upnp-player-qt-build.patch
+}
+
+build() {
+  cd $pkgname-*/build
+  cmake .. \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib
+  make
+}
+
+package() {
+  cd $pkgname-*/build
+  make DESTDIR="$pkgdir" install
+}

Added: upnp-player-qt/trunk/upnp-player-qt-build.patch
===================================================================
--- upnp-player-qt/trunk/upnp-player-qt-build.patch	                        (rev 0)
+++ upnp-player-qt/trunk/upnp-player-qt-build.patch	2017-12-07 10:13:39 UTC (rev 272892)
@@ -0,0 +1,22 @@
+--- upnp-player-qt-0.2-5f6147e489e7dea50a8d12b33c5915e9319aed91/src/upnpdevicesoapserverobject.h.orig	2017-12-07 09:01:52.429022499 +0000
++++ upnp-player-qt-0.2-5f6147e489e7dea50a8d12b33c5915e9319aed91/src/upnpdevicesoapserverobject.h	2017-12-07 09:02:14.749071673 +0000
+@@ -47,7 +47,7 @@
+ 
+     void processRequestWithPath(const KDSoapMessage &request, KDSoapMessage &response, const QByteArray &soapAction, const QString &path) Q_DECL_OVERRIDE;
+ 
+-    bool processCustomVerbRequest(const QByteArray &requestData, const QMap<QByteArray, QByteArray> &headers, QByteArray &customAnswer) Q_DECL_OVERRIDE;
++    bool processCustomVerbRequest(const QByteArray &requestData, const QMap<QByteArray, QByteArray> &headers, QByteArray &customAnswer);
+ 
+ private:
+ 
+--- upnp-player-qt-0.2-5f6147e489e7dea50a8d12b33c5915e9319aed91/src/upnpservereventobject.h.orig	2017-12-07 10:07:19.031032498 +0000
++++ upnp-player-qt-0.2-5f6147e489e7dea50a8d12b33c5915e9319aed91/src/upnpservereventobject.h	2017-12-07 10:07:32.681061939 +0000
+@@ -46,7 +46,7 @@
+ 
+     void processRequestWithPath(const KDSoapMessage &request, KDSoapMessage &response, const QByteArray &soapAction, const QString &path) Q_DECL_OVERRIDE;
+ 
+-    bool processCustomVerbRequest(const QByteArray &requestData, const QMap<QByteArray, QByteArray> &headers, QByteArray &customAnswer) Q_DECL_OVERRIDE;
++    bool processCustomVerbRequest(const QByteArray &requestData, const QMap<QByteArray, QByteArray> &headers, QByteArray &customAnswer);
+ 
+     void setService(UpnpControlAbstractService *service);
+ 



More information about the arch-commits mailing list