Skip to content

Instantly share code, notes, and snippets.

@smrqdt smrqdt/PKGBUILD
Created Apr 12, 2018

Embed
What would you like to do?
arch pkg emoji-keyboard 2.3.0
# Maintainer: Fredrik Strandin <fredrik at strandin dot name>
pkgname=emoji-keyboard
pkgver=2.3.0
pkgrel=1
pkgdesc="Virtual keyboard-like emoji picker for linux"
arch=('i686' 'x86_64')
url="https://github.com/OzymandiasTheGreat/emoji-keyboard"
license=('GPL3')
depends=('python' 'python-gobject' 'libappindicator-gtk3' 'python-evdev')
source=("https://github.com/OzymandiasTheGreat/${pkgname}/archive/${pkgver}.tar.gz"
"session.patch")
md5sums=('a01c16becdd83973a9595c276ed28e4d'
'7f15ab802206f776ae0648def94e19f6')
prepare() {
cd "${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/session.patch"
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python setup.py install --root="$pkgdir/" --optimize=1
}
# vim:set ts=2 sw=2 et:
diff -ura emoji-keyboard-2.3.0+patched/lib/emoji_shared.py emoji-keyboard-2.3.0/lib/emoji_shared.py
--- emoji-keyboard-2.3.0/lib/emoji_shared.py 2018-03-19 01:17:51.560074792 -0400
+++ emoji-keyboard-2.3.0+patched/lib/emoji_shared.py 2018-03-19 01:42:04.999171593 -0400
@@ -74,7 +74,7 @@
search_visible = False
def check_wayland():
-
+ session = ""
sessions = run(
['loginctl', 'list-sessions'], stdout=PIPE, universal_newlines=True)
for line in sessions.stdout.split('\n'):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.