From d1ee8c066178874b1be766b0773fca249a5a55cf Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Thu, 18 Nov 2021 10:10:54 +0000 Subject: [PATCH] Add a new tag: ibus-write-cache This runs "ibus write-cache --system" which is needed by ports installing things under LOCALBASE/share/ibus/component/ --- inputmethods/ibus/Makefile | 5 +++-- inputmethods/ibus/pkg/PLIST-main | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/inputmethods/ibus/Makefile b/inputmethods/ibus/Makefile index ba8f8ebeb6b..396a9099d95 100644 --- a/inputmethods/ibus/Makefile +++ b/inputmethods/ibus/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.72 2021/11/02 00:01:17 sthen Exp $ +# $OpenBSD: Makefile,v 1.73 2021/11/18 10:10:54 ajacoutot Exp $ # when gtk+4 support is added, split into multi packages (gtk+{2,3,4}) @@ -13,9 +13,10 @@ GH_TAGNAME = 1.5.25 PKGNAME-main = ibus-${GH_TAGNAME} PKGNAME-gtk2 = ibus-gtk2-${GH_TAGNAME} PKGNAME-gtk4 = ibus-gtk4-${GH_TAGNAME} + +REVISION-main = 2 REVISION-gtk2 = 1 REVISION-gtk4 = 1 -REVISION-main = 1 SHARED_LIBS += ibus-1.0 4.3 # 5.525 diff --git a/inputmethods/ibus/pkg/PLIST-main b/inputmethods/ibus/pkg/PLIST-main index 0617a9e40a0..65e59aba08e 100644 --- a/inputmethods/ibus/pkg/PLIST-main +++ b/inputmethods/ibus/pkg/PLIST-main @@ -1,5 +1,8 @@ -@comment $OpenBSD: PLIST-main,v 1.2 2021/08/30 19:27:24 ajacoutot Exp $ +@comment $OpenBSD: PLIST-main,v 1.3 2021/11/18 10:10:55 ajacoutot Exp $ @pkgpath inputmethods/ibus +@define-tag ibus-write-cache at-end %D/bin/ibus write-cache --system +@tag ibus-write-cache +@unexec-delete rm -f /var/cache/ibus/* @bin bin/ibus @bin bin/ibus-daemon bin/ibus-setup