parent
0fc9a2f5e4
commit
96c14555cd
2 changed files with 11 additions and 32 deletions
|
@ -1,23 +0,0 @@
|
|||
diff -aur kupfer-v208/kupfer/core/settings.py
|
||||
kupfer-v208.modified/kupfer/core/settings.py
|
||||
--- kupfer-v208/kupfer/core/settings.py 2012-06-01 10:51:14.000000000 -0700
|
||||
+++ kupfer-v208.modified/kupfer/core/settings.py 2012-11-21 14:48:11.876592441
|
||||
-0800
|
||||
@@ -393,6 +393,8 @@
|
||||
"""
|
||||
Get a list of (id_, name) tuples for the given @category_key
|
||||
"""
|
||||
+ if not category_key in self._alternative_validators:
|
||||
+ return
|
||||
validator = self._alternative_validators[category_key]
|
||||
for (id_, alternative) in self._alternatives[category_key].iteritems():
|
||||
name = alternative["name"]
|
||||
@@ -400,7 +402,8 @@
|
||||
yield (id_, name)
|
||||
|
||||
def get_all_alternatives(self, category_key):
|
||||
- return self._alternatives[category_key]
|
||||
+ if category_key in self._alternatives:
|
||||
+ return self._alternatives[category_key]
|
||||
|
||||
def get_preferred_alternative(self, category_key):
|
|
@ -1,19 +1,21 @@
|
|||
# Template file for 'kupfer'
|
||||
pkgname=kupfer
|
||||
version=208
|
||||
revision=3
|
||||
patch_args="-Np1"
|
||||
version=319
|
||||
revision=1
|
||||
wrksrc=${pkgname}-v${version}
|
||||
configure_args="--no-update-mime --no-update-icon-cache"
|
||||
build_style=waf
|
||||
hostmakedepends="perl intltool"
|
||||
makedepends="python python-gobject2 pygtk python-xdg python-dbus python-keybinder2"
|
||||
makedepends="python3 python3-gobject pygtk python3-xdg python3-dbus"
|
||||
depends="$makedepends"
|
||||
short_desc="Interface for quick and convenient access to applications"
|
||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||
license="GPL-3"
|
||||
homepage="https://engla.github.io/kupfer/"
|
||||
distfiles="https://github.com/downloads/engla/kupfer/kupfer-v${version}.tar.xz"
|
||||
checksum=65de8fe23e4b91a25910969ae11f32a98ed44714a460c64dfc71a85d20289c04
|
||||
wrksrc=${pkgname}-v${version}
|
||||
distfiles="https://github.com/kupferlauncher/kupfer/releases/download/v${version}/kupfer-v${version}.tar.xz"
|
||||
checksum=22357233984a6588a9f9743002363af38ea63b5c2684af487693a13c42973d31
|
||||
noarch=yes
|
||||
configure_args="--no-update-mime
|
||||
--no-update-icon-cache"
|
||||
|
||||
post_install() {
|
||||
sed -i 's|/usr/bin/python|/usr/bin/python3|g' "${DESTDIR}"/usr/bin/kupfer
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue