wok-next view vte-gtk2/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | c022997c7a57 |
children | d5aab818505e |
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/svn/gnome/vte.html" # (for gtk3 version)
12 TARBALL="vte-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/vte/0.28/$TARBALL"
15 BUILD_DEPENDS="intltool gtk2-dev python-dev gobject-introspection-dev \
16 python-pygtk-dev"
17 SPLIT="$PACKAGE-terminal $PACKAGE-python $PACKAGE $PACKAGE-dev"
19 compile_rules() {
20 ./configure \
21 --disable-static \
22 --enable-introspection \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make -j1 &&
26 make install
28 # add 'Home' and 'End' keys
29 #sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 *-terminal)
35 copy bin/
36 CAT="development|X Terminal"
37 DEPENDS="glib gtk2 pango vte-gtk2"
38 ;;
39 *-python)
40 copy vtemodule.so vte.defs
41 CAT="development|Python bindings"
42 DEPENDS="gdk-pixbuf glib gtk2 pango vte-gtk2 python"
43 PROVIDE="python-vte"
44 ;;
45 vte-gtk2)
46 copy @std @rm
47 DEPENDS="atk cairo gdk-pixbuf glib gtk2 ncurses pango xorg-libX11"
48 ;;
49 *-dev)
50 copy @dev
51 DEPENDS="vte-gtk2 vte-gtk2-terminal vte-gtk2-python \
52 cairo-dev glib-dev gtk2-dev pango-dev xorg-libX11-dev"
53 ;;
54 esac
55 }