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

Update ALSA stack (1.1.6)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 27 13:35:43 2018 +0300 (2018-06-27)
parents 10df65db91ad
children c022997c7a57
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 LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/vte.html" # (for gtk+3 version)
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 compile_rules() {
20 case "$ARCH" in
21 arm*) ARCH_ARGS="--enable-introspection=no";;
22 *) ARCH_ARGS="--enable-introspection=yes";;
23 esac
25 ./configure \
26 --disable-static \
27 $ARCH_ARGS \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make -j1 &&
31 make install
33 # add 'Home' and 'End' keys
34 #sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 vte-gtk2-terminal)
40 copy bin/
41 CAT="development|X Terminal"
42 DEPENDS="glib gtk+ pango vte-gtk2"
43 ;;
44 vte-gtk2-python)
45 copy vtemodule.so vte.defs
46 CAT="development|Python bindings"
47 DEPENDS="gdk-pixbuf glib gtk+ pango vte-gtk2 python"
48 PROVIDE="python-vte"
49 ;;
50 vte-gtk2)
51 copy @std @rm
52 DEPENDS="atk cairo gdk-pixbuf glib gtk+ ncurses pango xorg-libX11"
53 ;;
54 vte-gtk2-dev)
55 copy @dev
56 DEPENDS="vte-gtk2 vte-gtk2-terminal vte-gtk2-python \
57 cairo-dev glib-dev gtk+-dev pango-dev xorg-libX11-dev"
58 ;;
59 esac
60 }