diff options
author | tnn <tnn@pkgsrc.org> | 2022-03-27 13:17:34 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2022-03-27 13:17:34 +0000 |
commit | c28726eca0d1f641a984188e6957feeac4cd0663 (patch) | |
tree | a147e218fd4953891d7284699a91c632c80b1a42 /inputmethod/fcitx5 | |
parent | 8271c621863c91dc9a9be28d92158d71d71a61f4 (diff) | |
download | pkgsrc-c28726eca0d1f641a984188e6957feeac4cd0663.tar.gz |
fcitx5: handle xdg autostart .desktop file correctly. Bump.
Diffstat (limited to 'inputmethod/fcitx5')
-rw-r--r-- | inputmethod/fcitx5/Makefile | 15 | ||||
-rw-r--r-- | inputmethod/fcitx5/PLIST | 4 |
2 files changed, 15 insertions, 4 deletions
diff --git a/inputmethod/fcitx5/Makefile b/inputmethod/fcitx5/Makefile index d5d9a2a9462..f3aa495dbf8 100644 --- a/inputmethod/fcitx5/Makefile +++ b/inputmethod/fcitx5/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.4 2021/12/08 16:05:12 adam Exp $ +# $NetBSD: Makefile,v 1.5 2022/03/27 13:17:34 tnn Exp $ DISTNAME= fcitx5-5.0.5 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= inputmethod MASTER_SITES= https://download.fcitx-im.org/fcitx5/fcitx5/ EXTRACT_SUFX= .tar.xz @@ -47,6 +47,16 @@ PKGCONFIG_OVERRIDE+= src/lib/fcitx-utils/Fcitx5Utils.pc.in PKGCONFIG_OVERRIDE+= src/lib/fcitx/Fcitx5Core.pc.in PKGCONFIG_OVERRIDE+= src/modules/Fcitx5Module.pc.in +SUBST_CLASSES+= xdg +SUBST_STAGE.xdg= pre-configure +SUBST_MESSAGE.xdg= Fix desktop autostart file installation +SUBST_FILES.xdg= data/CMakeLists.txt +SUBST_SED.xdg= -e 's,{CMAKE_INSTALL_FULL_SYSCONFDIR}/xdg/autostart,{CMAKE_INSTALL_PREFIX}/share/examples/fcitx5,' + +MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/autostart +CONF_FILES+= ${PREFIX}/share/examples/fcitx5/org.fcitx.Fcitx5.desktop \ + ${PKG_SYSCONFDIR}/xdg/autostart/org.fcitx.Fcitx5.desktop + pre-configure: ${LN} -s ${DISTDIR}/en_dict-20121020.tar.gz \ ${WRKSRC}/src/modules/spell/dict @@ -61,6 +71,7 @@ pre-configure: .include "../../graphics/gdk-pixbuf2/buildlink3.mk" .include "../../graphics/hicolor-icon-theme/buildlink3.mk" .include "../../sysutils/dbus/buildlink3.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../textproc/cldr-emoji-annotation/buildlink3.mk" .include "../../textproc/enchant2/buildlink3.mk" .include "../../textproc/expat/buildlink3.mk" diff --git a/inputmethod/fcitx5/PLIST b/inputmethod/fcitx5/PLIST index 04983c9c23b..75a9572274a 100644 --- a/inputmethod/fcitx5/PLIST +++ b/inputmethod/fcitx5/PLIST @@ -1,9 +1,8 @@ -@comment $NetBSD: PLIST,v 1.1 2021/02/17 15:16:25 ryoon Exp $ +@comment $NetBSD: PLIST,v 1.2 2022/03/27 13:17:34 tnn Exp $ bin/fcitx5 bin/fcitx5-configtool bin/fcitx5-diagnose bin/fcitx5-remote -etc/xdg/autostart/org.fcitx.Fcitx5.desktop include/Fcitx5/Config/fcitx-config/configuration.h include/Fcitx5/Config/fcitx-config/dbushelper.h include/Fcitx5/Config/fcitx-config/enum.h @@ -169,6 +168,7 @@ lib/pkgconfig/Fcitx5Utils.pc share/applications/fcitx5-configtool.desktop share/applications/org.fcitx.Fcitx5.desktop share/dbus-1/services/org.fcitx.Fcitx5.service +share/examples/fcitx5/org.fcitx.Fcitx5.desktop share/fcitx5/addon/classicui.conf share/fcitx5/addon/clipboard.conf share/fcitx5/addon/dbus.conf |