From 01af9f22da307a241f6c944fe6b40e7e68ae32ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 27 Oct 2020 19:06:50 +0700 Subject: [PATCH] ulauncher: depends on python3-gobject Also silence distutils warning. --- srcpkgs/ulauncher/patches/shutup-distutils.patch | 8 ++++++++ srcpkgs/ulauncher/template | 13 +++++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/ulauncher/patches/shutup-distutils.patch diff --git a/srcpkgs/ulauncher/patches/shutup-distutils.patch b/srcpkgs/ulauncher/patches/shutup-distutils.patch new file mode 100644 index 00000000000..cbe610f3423 --- /dev/null +++ b/srcpkgs/ulauncher/patches/shutup-distutils.patch @@ -0,0 +1,8 @@ +--- ulauncher/api/shared/item/SmallResultItem.py.orig 2020-10-27 19:02:14.175943597 +0700 ++++ ulauncher/api/shared/item/SmallResultItem.py 2020-10-27 19:02:23.472931496 +0700 +@@ -1,4 +1,4 @@ +-from .ResultItem import ResultItem ++from ulauncher.api.shared.item.ResultItem import ResultItem + + + class SmallResultItem(ResultItem): diff --git a/srcpkgs/ulauncher/template b/srcpkgs/ulauncher/template index 2802288b14a..d3e0122644d 100644 --- a/srcpkgs/ulauncher/template +++ b/srcpkgs/ulauncher/template @@ -1,16 +1,21 @@ # Template file for 'ulauncher' pkgname=ulauncher version=5.7.5 -revision=2 +revision=3 wrksrc=${pkgname} build_style=python3-module -pycompile_module="ulauncher" -hostmakedepends="python3-distutils-extra intltool" +hostmakedepends="python3-distutils-extra intltool python3-Levenshtein + python3-dbus python3-gobject python3-inotify python3-websocket-client + python3-xdg" depends="libappindicator>=12.10.0_2 libkeybinder3 python3-Levenshtein python3-dbus - python3-inotify python3-websocket-client python3-xdg webkit2gtk" + python3-gobject python3-inotify python3-websocket-client python3-xdg webkit2gtk" short_desc="Linux application launcher with fuzzy search and extensions" maintainer="Alberto Pau " license="GPL-3.0-or-later" homepage="https://ulauncher.io/" distfiles="https://github.com/Ulauncher/Ulauncher/releases/download/${version}/${pkgname}_${version}.tar.gz" checksum=b127a1eac3ebabe228dd6b0d8822af74fafc6376fe5d1420bd60a7894df3fd77 + +pre_build() { + export DISPLAY= +}