diff options
author | Donald Carr | 2016-03-14 17:07:30 -0700 |
---|---|---|
committer | Donald Carr | 2016-03-14 17:10:53 -0700 |
commit | e2e012ef7eec66dedfcc29402149e69e9de98f45 (patch) | |
tree | 02f3753ff22e727ccbdd5ada5448f2a490cd8398 | |
parent | 88d4fa4d233edc81ad3319c5571333bf14f90629 (diff) | |
download | aur-e2e012ef7eec66dedfcc29402149e69e9de98f45.tar.gz |
Get our CEC plugin into use when it is installed
Change-Id: Ia2824610416e945396019c8e059d2e92f0451945
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | qcec.sh | 2 |
2 files changed, 7 insertions, 2 deletions
@@ -5,7 +5,7 @@ set -e _pi_ver=2 pkgname="qcec" pkgver=0.0.1 -pkgrel=2 +pkgrel=3 provides=("$pkgname") conflicts=("$pkgname") pkgdesc="Qt CEC keyboard plugin for the Raspberry Pi" @@ -36,10 +36,13 @@ package() { local repo_src=${srcdir}/${pkgname} local deploy_path=${pkgdir}/opt/qt-sdk-raspberry-pi${_pi_ver}/plugins/generic local ceclib_deploy_path=${pkgdir}/usr/lib + local pkgprofiled="${pkgdir}/etc/profile.d" - mkdir -p $deploy_path + mkdir -p ${deploy_path} mkdir -p ${ceclib_deploy_path} + mkdir -p ${pkgprofiled} cp ${repo_src}/out/* ${deploy_path} cp -a ${repo_src}/local/lib/libcec* ${ceclib_deploy_path} + cp ${startdir}/qcec.sh ${pkgprofiled} || exit 1 } diff --git a/qcec.sh b/qcec.sh new file mode 100644 index 000000000000..ef38f1fa8dc9 --- /dev/null +++ b/qcec.sh @@ -0,0 +1,2 @@ +QT_QPA_GENERIC_PLUGINS="CECKeyboard,${QT_QPA_GENERIC_PLUGINS}" +export QT_QPA_GENERIC_PLUGINS |