[arch-commits] Commit in (3 files)

Antonio Rojas arojas at archlinux.org
Sat May 28 22:22:44 UTC 2016


    Date: Sunday, May 29, 2016 @ 00:22:43
  Author: arojas
Revision: 268722

New Qt module

Added:
  qt5-gamepad/
  qt5-gamepad/kde-unstable/
  qt5-gamepad/kde-unstable/PKGBUILD

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

Added: qt5-gamepad/kde-unstable/PKGBUILD
===================================================================
--- qt5-gamepad/kde-unstable/PKGBUILD	                        (rev 0)
+++ qt5-gamepad/kde-unstable/PKGBUILD	2016-05-28 22:22:43 UTC (rev 268722)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=qt5-gamepad
+_qtver=5.7.0-rc
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL' 'FDL' 'custom')
+pkgdesc='Adds support for getting events from gamepad devices'
+depends=('qt5-base' 'sdl2')
+makedepends=('qt5-declarative')
+optdepends=('qt5-declarative: QML bindings')
+conflicts=('qt')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("http://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
+md5sums=('5b21a9305eafb7c0be2540dc8dc12129')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+
+  qmake ../${_pkgfqn}
+  make
+}
+
+package() {
+  cd build
+  make INSTALL_ROOT="$pkgdir" install
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "$pkgdir/usr/lib" -type f -name '*.prl' \
+    -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}


Property changes on: qt5-gamepad/kde-unstable/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list