summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-08-04 23:59:33 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-08-05 00:00:33 -0600
commit902c8b562c2730df0d98881ab47e4778a8f5bf3c (patch)
treea82f3053af0b253267e3e8af689fdf3f601a28cd /pcr
parentd7d9365dc74f003258efd61e4d420b5936780c6a (diff)
downloadabslibre-902c8b562c2730df0d98881ab47e4778a8f5bf3c.tar.gz
abslibre-902c8b562c2730df0d98881ab47e4778a8f5bf3c.tar.bz2
abslibre-902c8b562c2730df0d98881ab47e4778a8f5bf3c.zip
add pcr/qt-at-spi-git
Diffstat (limited to 'pcr')
-rw-r--r--pcr/qt-at-spi-git/PKGBUILD45
-rw-r--r--pcr/qt-at-spi-git/qt-accessibility.sh1
2 files changed, 46 insertions, 0 deletions
diff --git a/pcr/qt-at-spi-git/PKGBUILD b/pcr/qt-at-spi-git/PKGBUILD
new file mode 100644
index 000000000..d69e670c6
--- /dev/null
+++ b/pcr/qt-at-spi-git/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# Maintainer (AUR): Kyle <kyle@gmx.ca>
+
+_pkgname=qt-at-spi
+pkgname=$_pkgname-git
+_pkgver=0.3.1
+pkgver=2013.02.08
+#_gitver="tag=v$pkgver"
+_gitver="commit=adb0b04d129132dcfa289184eba5b122bfd1ca52"
+pkgdesc="A Qt plugin that bridges the QAccessible API’s to the AT-SPI 2 protocol, giving blind and visually impaired users access to qt applications"
+url="http://projects.kde.org/qtatspi"
+license=('LGPL')
+
+provides=("$_pkgname=$_pkgver")
+
+pkgrel=1
+arch=('i686' 'x86_64')
+depends=('at-spi2-core' 'qt4>=4.8' 'kdelibs>=4.8')
+makedepends=('cmake' 'automoc4')
+
+source=("libre://$pkgname-$pkgver.tar.gz" 'qt-accessibility.sh')
+
+mkdepends=('git')
+mksource=("$pkgname-$pkgver::git://anongit.kde.org/qtatspi#$_gitver")
+mksource() {
+ cd "$srcdir/$pkgname-$pkgver"
+ rm -f examples/tabbar/{simple,tabbar}
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ cmake .
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+
+ install -D -m755 "$srcdir/qt-accessibility.sh" "$pkgdir/etc/profile.d/qt-accessibility.sh"
+}
+
+mkmd5sums=('SKIP')
+md5sums=('d48fbf6d429260f7b279964972b7ab25'
+ 'f0c8551ed54f5d4e5daf7ddac9189aaa')
diff --git a/pcr/qt-at-spi-git/qt-accessibility.sh b/pcr/qt-at-spi-git/qt-accessibility.sh
new file mode 100644
index 000000000..d7c67d605
--- /dev/null
+++ b/pcr/qt-at-spi-git/qt-accessibility.sh
@@ -0,0 +1 @@
+export QT_ACCESSIBILITY=1