summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-08-06 08:42:21 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-08-06 08:42:21 -0300
commit8d819684e5c65a5e69ba7cc9801068f1e6861e86 (patch)
tree7d48a1e8c96e31f8ddea9a05e3c6427c626391af /pcr
parent766f22857d4ea2453c9fb30aa1d8eca698334033 (diff)
parent902c8b562c2730df0d98881ab47e4778a8f5bf3c (diff)
downloadabslibre-8d819684e5c65a5e69ba7cc9801068f1e6861e86.tar.gz
abslibre-8d819684e5c65a5e69ba7cc9801068f1e6861e86.tar.bz2
abslibre-8d819684e5c65a5e69ba7cc9801068f1e6861e86.zip
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr')
-rw-r--r--pcr/pngcrush/PKGBUILD26
-rw-r--r--pcr/qt-at-spi-git/PKGBUILD45
-rw-r--r--pcr/qt-at-spi-git/qt-accessibility.sh1
3 files changed, 46 insertions, 26 deletions
diff --git a/pcr/pngcrush/PKGBUILD b/pcr/pngcrush/PKGBUILD
deleted file mode 100644
index a4ac8b5cb..000000000
--- a/pcr/pngcrush/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-
-pkgname=pngcrush
-pkgver=1.7.58
-pkgrel=1
-pkgdesc="A tool for optimizing the compression of PNG files"
-arch=('i686' 'x86_64' 'mips64el')
-url="http://pmt.sourceforge.net/"
-license=('custom')
-depends=('libpng' 'zlib')
-source=(http://downloads.sourceforge.net/pmt/$pkgname-$pkgver-nolib.tar.xz)
-
-build() {
- cd "$srcdir"/$pkgname-$pkgver-nolib
- sed -n '10,17s/^\s*//p' cexcept.h > LICENSE.cexcept.txt
- sed -rn '97,142s/ \* ?//p' pngcrush.c > LICENSE.pngcrush.txt
- make
-}
-
-package() {
- cd "$srcdir"/$pkgname-$pkgver-nolib
- install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
- install -Dm644 LICENSE.cexcept.txt "$pkgdir"/usr/share/licenses/$pkgname/cexcept.txt
- install -Dm644 LICENSE.pngcrush.txt "$pkgdir"/usr/share/licenses/$pkgname/pngcrush.txt
-}
-md5sums=('aa09aa8a65999ba522e5735ed0ad6a1a')
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