[skip-ci] synaptiks: removed from repo, since it depends on KDE4

This commit is contained in:
Francesco Marinucci 2018-12-06 18:57:05 +01:00
parent e58fb65f69
commit 71a6025f6b
3 changed files with 0 additions and 56 deletions

View File

@ -1,36 +0,0 @@
#
# Apps Packages for Chakra, part of chakra-project.org
#
#Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=synaptiks
pkgver=0.8.1
pkgrel=2
pkgdesc="A touchpad tool for KDE."
arch=('i686' 'x86_64')
url="http://synaptiks.lunaryorn.de/"
license=('BSD')
depends=('kde-workspace' 'kdebindings-pykde4' 'xf86-input-synaptics' 'python-udev'
'dbus-python' 'python-distribute')
# makedepends=('kdesdk-scripts' 'gettext' 'docbook-xsl')
categories=('utils')
install=synaptiks.install
screenshot=('http://synaptiks.lunaryorn.de/en/0.8.1/_images/scrolling.png')
source=("http://pypi.python.org/packages/source/s/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
'pyudev-fix.patch')
md5sums=('4137a5c7a6117cf8f2073bfdb05466d6'
'9a1c930ff2d8fad6e986270141c3fb0a')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
#Fix issue with bluetooth mouse: https://bugs.archlinux.org/task/31328
patch -p1 -i "${srcdir}"/pyudev-fix.patch
python2 setup.py install --root "${pkgdir}" --optimize=1
install -m755 -d "$pkgdir/usr/share/licenses/synaptiks/"
install -m644 COPYING "$pkgdir/usr/share/licenses/synaptiks"
install -D -m644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README.rst"
install -m644 CHANGES.rst "${pkgdir}/usr/share/doc/${pkgname}/CHANGES.rst"
}

View File

@ -1,11 +0,0 @@
--- synaptiks-0.8.1/synaptiks/monitors/mouses.py~ 2012-08-28 18:58:09.540085410 -0500
+++ synaptiks-0.8.1/synaptiks/monitors/mouses.py 2012-08-28 21:38:46.060947638 -0500
@@ -74,7 +74,7 @@
# device. The parent represents the actual physical device. The name
# may be decorated with quotation marks, which are removed for the sake
# of a clean represenation
- return cls(device['ID_SERIAL'], device.parent['NAME'].strip('"'))
+ return cls(device.get('ID_SERIAL'), device.parent['NAME'].strip('"'))
class MouseDevicesMonitor(QObject):

View File

@ -1,9 +0,0 @@
#!/bin/sh
post_install() {
xdg-icon-resource forceupdate
}
post_remove() {
xdg-icon-resource forceupdate
}