wok-next rev 21445

updated scim (1.4.17 -> 1.4.18)
author Hans-G?nter Theisgen
date Tue May 05 16:55:11 2020 +0100 (2020-05-05)
parents 3bb087236cc4
children 6a66c15a4531
files scim/receipt
line diff
     1.1 --- a/scim/receipt	Tue May 05 16:44:16 2020 +0100
     1.2 +++ b/scim/receipt	Tue May 05 16:55:11 2020 +0100
     1.3 @@ -1,54 +1,55 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="scim"
     1.7 -VERSION="1.4.17"
     1.8 +VERSION="1.4.18"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="Smart Common Input Method"
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13  LICENSE="LGPL2.1"
    1.14  WEB_SITE="https://github.com/scim-im/scim"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="https://github.com/scim-im/scim/archive/$TARBALL"
    1.18  
    1.19 -BUILD_DEPENDS="gettext-dev automake intltool libtool doxygen coreutils-path \
    1.20 -libxslt docbook-xsl gtk2-dev libx11-dev"
    1.21 +BUILD_DEPENDS="automake coreutils-path docbook-xsl doxygen gettext-dev 
    1.22 +	gtk2-dev intltool libtool libx11-dev libxslt"
    1.23  SPLIT="$PACKAGE-dev"
    1.24  
    1.25 -compile_rules() {
    1.26 +compile_rules()
    1.27 +{
    1.28  	./bootstrap &&
    1.29 -
    1.30 -	./configure \
    1.31 -		--with-x \
    1.32 +	./configure		\
    1.33 +		--with-x	\
    1.34  		$CONFIGURE_ARGS &&
    1.35  	fix libtool &&
    1.36  	make $MAKEFLAGS &&
    1.37  	make install
    1.38  }
    1.39  
    1.40 -genpkg_rules() {
    1.41 +genpkg_rules()
    1.42 +{
    1.43  	case $PACKAGE in
    1.44  		scim)
    1.45  			copy @std
    1.46 -			DEPENDS="atk libbzip2 libcairo fontconfig freetype gdk-pixbuf glib gtk2 \
    1.47 -			harfbuzz libffi libltdl liblzma libpng libxcb libxml2 pango \
    1.48 -			pcre pixman libx11 libxau libxdmcp libxext \
    1.49 -			libxrender zlib"
    1.50 +			DEPENDS="atk fontconfig freetype gdk-pixbuf glib gtk2 harfbuzz 
    1.51 +			libbzip2 libcairo libffi libltdl liblzma libpng libxcb libxml2 
    1.52 +			pango pcre pixman libx11 libxau libxdmcp libxext libxrender zlib"
    1.53  			CONFIG_FILES="/etc/scim/config /etc/scim/global"
    1.54  			;;
    1.55  		*-dev)
    1.56  			copy @dev
    1.57 -			DEPENDS="scim atk-dev bzip2-dev cairo-dev fontconfig-dev \
    1.58 -			freetype-dev gdk-pixbuf-dev glib-dev glibc-dev gtk2-dev \
    1.59 -			harfbuzz-dev libffi-dev xz-dev libpng-dev libtool \
    1.60 -			libxcb-dev libxml2-dev pango-dev pcre-dev pixman-dev \
    1.61 -			libx11-dev libxau-dev libxdmcp-dev libxext-dev \
    1.62 -			libxrender-dev zlib-dev"
    1.63 +			DEPENDS="atk-dev bzip2-dev cairo-dev fontconfig-dev 
    1.64 +			freetype-dev gdk-pixbuf-dev glib-dev glibc-dev gtk2-dev 
    1.65 +			harfbuzz-dev libffi-dev libpng-dev libtool libx11-dev 
    1.66 +			libxau-dev libxcb-dev libxdmcp-dev libxext-dev 
    1.67 +			libxml2-dev libxrender-dev pango-dev pcre-dev pixman-dev 
    1.68 +			scim xz-dev zlib-dev"
    1.69  			;;
    1.70  	esac
    1.71  }
    1.72  
    1.73 -post_install_scim() {
    1.74 +post_install_scim()
    1.75 +{
    1.76  	chroot "$1/" /usr/bin/gtk-query-immodules-2.0 > $1/etc/gtk-2.0/gtk.immodules
    1.77  
    1.78  	[ -n "$quiet" ] || cat <<EOT
    1.79 @@ -66,6 +67,7 @@
    1.80  EOT
    1.81  }
    1.82  
    1.83 -post_remove_scim() {
    1.84 +post_remove_scim()
    1.85 +{
    1.86  	chroot "$1/" /usr/bin/gtk-query-immodules-2.0 > $1/etc/gtk-2.0/gtk.immodules
    1.87  }