Skip to content

Commit

Permalink
add qt5-feedback-haptics-native-vibrator
Browse files Browse the repository at this point in the history
  • Loading branch information
neochapay committed Dec 9, 2021
1 parent 5bb3488 commit 795b002
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devices/nemo-device-pinephone/PKGBUILD
Expand Up @@ -9,7 +9,7 @@ _branch=master
_gitname=$_basename
pkgname=nemo-device-pinephone

pkgver=0.6
pkgver=0.8
pkgrel=1
pkgdesc="PinePhone specific files for GlacierUX"
arch=('aarch64')
Expand All @@ -25,6 +25,7 @@ depends=('glacier-wayland-session'
'glacier-dialer-git'
'glacier-pinquery-git'
'qt5-sensors-sensorfw'
'qt5-feedback-haptics-native-vibrator'
'qt-mobility-haptics-ffmemless-git')

makedepends=('git')
Expand Down
35 changes: 35 additions & 0 deletions qt5-feedback-haptics-native-vibrator/PKGBUILD
@@ -0,0 +1,35 @@
# $Id$
# Contributor: Donald Carr<sirspudd@gmail.com>
# Contributor: Alexey Andreyev <aa13q@ya.ru>
# Maintainer: James Kittsmiller (AJSlye) <james@nulogicsystems.com>

#set -o errexit
#set -o xtrace

pkgname=qt5-feedback-haptics-native-vibrator
pkgver=20201217.2d8e6e6
pkgrel=1
pkgdesc='Haptic feedback plugin using native vibrator'
arch=('x86_64' 'aarch64')
url="https://github.com/mer-hybris/qt5-feedback-haptics-droid-vibrator.git"
license=('GPL')
depends=('qt5-base' 'qt5-feedback' 'qt5-profile-git')
makedepends=('git')
source=("${pkgname}::git+${url}")
sha256sums=('SKIP')

pkgver () {
cd ${srcdir}/${pkgname}
echo "$(git log -1 --format="%cd" --date=short | tr -d '-').$(git log -1 --format="%h")"
}

build() {
cd ${srcdir}/${pkgname}
qmake "CONFIG+=native_vibrator"
make
}

package() {
cd ${srcdir}/${pkgname}
make -j 1 INSTALL_ROOT="$pkgdir" install
}

0 comments on commit 795b002

Please sign in to comment.