wok-next view scim/receipt @ rev 21683

updated glances (1.5.1 -> 3.1.4.1)
author Hans-G?nter Theisgen
date Mon Jun 29 15:35:41 2020 +0100 (2020-06-29)
parents 82b613cfd1e0
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="scim"
4 VERSION="1.4.18"
5 CATEGORY="utilities"
6 SHORT_DESC="Smart Common Input Method"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/scim-im/scim"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/scim-im/scim/archive/$TARBALL"
14 BUILD_DEPENDS="automake coreutils-path docbook-xsl doxygen gettext-dev
15 gtk2-dev intltool libtool libx11-dev libxslt"
16 SPLIT="$PACKAGE-dev"
18 compile_rules()
19 {
20 ./bootstrap &&
21 ./configure \
22 --with-x \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make $MAKEFLAGS &&
26 make install
27 }
29 genpkg_rules()
30 {
31 case $PACKAGE in
32 scim)
33 copy @std
34 DEPENDS="atk fontconfig freetype gdk-pixbuf glib gtk2 harfbuzz
35 libbzip2 libcairo libffi libltdl liblzma libpng libxcb libxml2
36 pango pcre pixman libx11 libxau libxdmcp libxext libxrender zlib"
37 CONFIG_FILES="/etc/scim/config /etc/scim/global"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="atk-dev bzip2-dev cairo-dev fontconfig-dev
42 freetype-dev gdk-pixbuf-dev glib-dev glibc-dev gtk2-dev
43 harfbuzz-dev libffi-dev libpng-dev libtool libx11-dev
44 libxau-dev libxcb-dev libxdmcp-dev libxext-dev
45 libxml2-dev libxrender-dev pango-dev pcre-dev pixman-dev
46 scim xz-dev zlib-dev"
47 ;;
48 esac
49 }
51 post_install_scim()
52 {
53 chroot "$1/" /usr/bin/gtk-query-immodules-2.0 > $1/etc/gtk-2.0/gtk.immodules
55 [ -n "$quiet" ] || cat <<EOT
56 In order to start scim and use chinese after boot time,
57 add the following code to your autostart.sh(openbox):
58 ------------
59 export XMODIFIERS=@im=SCIM
60 export XIM="scim"
61 export XINPUT="xim"
62 export XIM_PROGRAM="scim -d"
63 export GTK_IM_MODULE=scim
64 export QT_IM_MODULE=scim
65 scim -d &
66 ------------
67 EOT
68 }
70 post_remove_scim()
71 {
72 chroot "$1/" /usr/bin/gtk-query-immodules-2.0 > $1/etc/gtk-2.0/gtk.immodules
73 }