wok-next view vte-gtk2/receipt @ rev 20194

Up irrlicht (1.8.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 03 11:27:16 2017 +0100 (2017-11-03)
parents
children c4e53a39395a
line source
1 # SliTaz package receipt v2.
3 PACKAGE="vte-gtk2"
4 VERSION="0.28.2" # last gtk2-based series is 0.28; last version is 0.28.2 (2011-08-28); see vte receipt for latest vte
5 CATEGORY="utilities"
6 SHORT_DESC="Terminal capabilities for GTK+ widgets"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gnome.org/"
10 HOST_ARCH="i486 arm"
12 TARBALL="vte-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/vte/0.28/$TARBALL"
15 BUILD_DEPENDS_arm="gtk+-dev ncurses-dev"
16 BUILD_DEPENDS="intltool gtk+-dev python-dev gobject-introspection-dev pygtk-dev"
17 SPLIT="vte-gtk2-terminal vte-gtk2-python vte-gtk2 vte-gtk2-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # http://www.linuxfromscratch.org/blfs/view/stable/gnome/vte.html (for gtk+3 version)
24 case "$ARCH" in
25 i?86) ARCH_ARGS="--enable-introspection=yes";;
26 arm) ARCH_ARGS="--enable-introspection=no";;
27 esac
29 ./configure \
30 --sysconfdir=/etc \
31 --disable-static \
32 $CONFIGURE_ARGS $ARCH_ARGS &&
33 make -j1 && make install
35 # add 'Home' and 'End' keys
36 #sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 case $PACKAGE in
43 vte-gtk2-terminal)
44 copy bin/
45 CAT="development|X Terminal"
46 DEPENDS="vte-gtk2"
47 ;;
48 vte-gtk2-python)
49 copy vtemodule.so vte.defs
50 CAT="development|Python bindings"
51 DEPENDS="python vte-gtk2"
52 PROVIDE="python-vte"
53 ;;
54 vte-gtk2)
55 copy @std
56 remove_already_packed
57 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \
58 libffi libharfbuzz liblzma libpng16 libxml2 ncurses pango pcre \
59 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
60 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
61 xorg-pixman zlib"
62 ;;
63 vte-gtk2-dev)
64 copy @dev
65 DEPENDS="vte-gtk2 vte-gtk2-terminal vte-gtk2-python \
66 atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \
67 gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev libffi-dev \
68 libpng16-dev libxml2-dev ncurses-dev pango-dev pcre-dev \
69 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
70 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
71 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
72 ;;
73 esac
74 }